WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] Build fix with gcc 4.1

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] Build fix with gcc 4.1
From: "Christoph Egger" <Christoph.Egger@xxxxxxx>
Date: Wed, 12 Sep 2007 10:53:34 +0200
Delivery-date: Wed, 12 Sep 2007 01:54:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.6
The attached patch fixes these build errors I see with gcc 4.1:

cc1: warnings being treated as errors
hvm.c: In function '__hvm_copy':
hvm.c:687: warning: 'p2mt' may be used uninitialized in this function

cc1: warnings being treated as errors
hvm.c: In function 'hvm_set_cr3':
/home/cegger/src/xen-mca-unstable.hg/xen/include/asm/p2m.h:122: 
warning: 'p2mt' is used uninitialized in this function

cc1: warnings being treated as errors
hvm.c: In function 'hvm_set_cr0':
/home/cegger/src/xen-mca-unstable.hg/xen/include/asm/p2m.h:122: 
warning: 'p2mt' is used uninitialized in this function

cc1: warnings being treated as errors
svm.c: In function 'svm_vmexit_handler':
/home/cegger/src/xen-mca-unstable.hg/xen/include/asm/p2m.h:122: 
warning: 'p2mt' is used uninitialized in this function


Signed-off-by: Christoph Egger <Christoph.Egger@xxxxxxx>


-- 
AMD Saxony, Dresden, Germany
Operating System Research Center

Legal Information:
AMD Saxony Limited Liability Company & Co. KG
Sitz (Geschäftsanschrift):
   Wilschdorfer Landstr. 101, 01109 Dresden, Deutschland
Registergericht Dresden: HRA 4896
vertretungsberechtigter Komplementär:
   AMD Saxony LLC (Sitz Wilmington, Delaware, USA)
Geschäftsführer der AMD Saxony LLC:
   Dr. Hans-R. Deppe, Thomas McCoy

Attachment: xen_build.diff
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] Build fix with gcc 4.1, Christoph Egger <=