All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zachary Amsden <zamsden@cisco.com>
To: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
Cc: "\"Tvrtko A. Uršulin\"" <tvrtko@croadria.com>,
	xen-devel@lists.sourceforge.net
Subject: Re: Kernel panic while compiling kernel
Date: Wed, 18 Feb 2004 11:58:05 -0800	[thread overview]
Message-ID: <4033C3CD.4000105@cisco.com> (raw)
In-Reply-To: <E1AtXm1-0003ny-00@wisbech.cl.cam.ac.uk>

Keir Fraser wrote:

>>xen/include/asm-i386/apic.h for one... and there are more dangerous 
>>looking things:
>>
>>xen/include/asm-i386/dma.h includes both "linux/config.h" and 
>>"linux/spinklock.h".  This is very likely to be built into the drivers, 
>>and likely to cause major havoc if you change the cacheline size.
>>
>>Only arch/i386/Rules.mk specifies -nostdinc.  This is really dangerous 
>>if you are not building on a 2.4.24 or very close kernel, and makes 
>>cross-compiling out of the question.
>>
>>I should have a patch for a slightly cleaner build today that you could 
>>try out.  It's likely to be largish, since I may need to pull in some 
>>additional headers from 2.4.24.
>>    
>>
>
>I'm not sure that I understand what you are trying to do. 
>#include <linux/foo.h> and #include <xeno/foo.h> should mean the same
>thing when building Xen -- all kernel object files should be built
>with -nostdinc, and incude/linux is a symlink to include/xeno.
>
>When building Linux for Xen, it does not use any Xen headers except
>those in include/hypervisor-ifs -- all other headers are private to
>Xen!
>  
>

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.

Zachary Amsden
zamsden@cisco.com


-------------------------------------------------------
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

  reply	other threads:[~2004-02-18 19:58 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-11 11:12 Kernel panic while compiling kernel Tvrtko A. Uršulin
2004-02-11 11:22 ` Keir Fraser
2004-02-11 12:20   ` Tvrtko A. Uršulin
2004-02-12  9:38   ` Tvrtko A. Uršulin
2004-02-12  9:44     ` Keir Fraser
2004-02-12 10:15       ` Tvrtko A. Uršulin
2004-02-12 10:26         ` Keir Fraser
2004-02-12 10:55           ` Tvrtko A. Uršulin
2004-02-12 11:06             ` Keir Fraser
2004-02-12 11:14               ` Tvrtko A. Uršulin
2004-02-12 11:41               ` Tvrtko A. Uršulin
2004-02-12 11:44                 ` Keir Fraser
2004-02-12 12:05                   ` Tvrtko A. Uršulin
2004-02-12 14:07                     ` Keir Fraser
2004-02-12 14:23                       ` Tvrtko A. Uršulin
2004-02-12 14:42                         ` Keir Fraser
2004-02-12 14:56                           ` Tvrtko A. Uršulin
2004-02-12 17:32                             ` Keir Fraser
2004-02-13  8:39                               ` Tvrtko A. Uršulin
2004-02-13  8:43                               ` Tvrtko A. Uršulin
2004-02-13  8:50                                 ` Ian Pratt
2004-02-13  9:06                                   ` Tvrtko A. Uršulin
2004-02-13  9:08                                 ` Keir Fraser
2004-02-13 10:55                                   ` Tvrtko A. Uršulin
2004-02-13 11:10                                     ` Keir Fraser
2004-02-13 11:22                                       ` Tvrtko A. Uršulin
2004-02-13 11:36                                         ` Keir Fraser
2004-02-13 11:42                                           ` Tvrtko A. Uršulin
2004-02-13 12:03                                             ` Tvrtko A. Uršulin
2004-02-13 14:01                                               ` Keir Fraser
2004-02-16 10:53                                                 ` Tvrtko A. Uršulin
2004-02-16 11:19                                                   ` Keir Fraser
2004-02-16 12:12                                                     ` Tvrtko A. Uršulin
2004-02-16 13:55                                                       ` Keir Fraser
2004-02-16 13:59                                                       ` Keir Fraser
2004-02-16 14:41                                                         ` Tvrtko A. Uršulin
2004-02-16 15:06                                                           ` Keir Fraser
2004-02-16 16:28                                                             ` Tvrtko A. Uršulin
2004-02-16 17:22                                                               ` Keir Fraser
2004-02-18  1:49                                                                 ` Zachary Amsden
2004-02-18  6:45                                                                   ` Nuno Silva
2004-02-18  8:11                                                                   ` Keir Fraser
2004-02-18 12:17                                                                   ` Tvrtko A. Uršulin
2004-02-18 19:08                                                                     ` Zachary Amsden
2004-02-18 19:54                                                                       ` Keir Fraser
2004-02-18 19:58                                                                         ` Zachary Amsden [this message]
2004-02-18 20:06                                                                           ` Keir Fraser
2004-02-18 20:11                                                                             ` Zachary Amsden
2004-02-17 10:45                                                               ` Keir Fraser

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4033C3CD.4000105@cisco.com \
    --to=zamsden@cisco.com \
    --cc=Keir.Fraser@cl.cam.ac.uk \
    --cc=tvrtko@croadria.com \
    --cc=xen-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.