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

Re: [Xen-devel] Kernel panic while compiling kernel

To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Kernel panic while compiling kernel
From: Zachary Amsden <zamsden@xxxxxxxxx>
Date: Wed, 18 Feb 2004 12:11:43 -0800
Delivery-date: Wed, 18 Feb 2004 23:05:02 +0000
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: <E1AtXxP-0003w4-00@xxxxxxxxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Organization: Cisco Systems
References: <E1AtXxP-0003w4-00@xxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6b) Gecko/20031208
Keir Fraser wrote:

I'm not talking about Linux -- I'm talking about Xen itself. Xen depends on the local system includes, which is not good. Xen is definitely not built with -nostdinc, which is what I am trying to fix.

Really? From within the Xen bukd tree, try:
make clean
make | grep "^gcc" | grep -v nostdinc

No kernel object files will be printed.

Note that all directories pull in arch/i386/Rules.mk, and that file
adds -nostdinc to CFLAGS.

-- Keir
Ahh, missed that. It seems that -nostdinc shouldn't really be arch dependent, but I don't see much point in reworking the build now.

Zachary Amsden
zamsden@xxxxxxxxx


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel