From: Samuel Thibault <samuel.thibault@ens-lyon.org>
To: Christoph Egger <Christoph.Egger@amd.com>
Cc: xen-devel@lists.xensource.com, Keir Fraser <keir.fraser@eu.citrix.com>
Subject: Re: stubdom: build failure
Date: Wed, 24 Sep 2008 16:51:39 +0200 [thread overview]
Message-ID: <20080924145139.GP4527@implementation.bordeaux.inria.fr> (raw)
In-Reply-To: <200809241643.35218.Christoph.Egger@amd.com>
Christoph Egger, le Wed 24 Sep 2008 16:43:34 +0200, a écrit :
> On Wednesday 24 September 2008 16:35:58 Samuel Thibault wrote:
> > Keir Fraser, le Wed 24 Sep 2008 15:31:13 +0100, a écrit :
> > > If it's due to pulling in too many /usr/include headers then perhaps
> > > we could copy the ones we actually need into a private local directory
> > > and add that to the search path instead? I guess it depends if those
> > > headers themselves #include any more; then it'd get messy. If they're
> > > compiler intrinsics then perhaps they won't.
> >
> > In principles we only needs files that declare compiler intrinsics.
>
> On NetBSD, compiler intrinsics don't exist.
>
> I think, it's better to put an OS abstraction into stubdom where
> only the Linux specific code uses compiler intrinsics and other Linux-only
> stuff.
> If you try (hard) to make every OS look like Linux instead, things become
> messy.
That's not the problem. We already do make mini-os have its own
definitions etc. What we don't want to do is to define things like
stdarg.h and such, thus including these gcc headers (what we call gcc
intrinsics). Before cs 17969:433d1b26fd51, we were not using the host
headers and compiler at all and building a full cross-compilation
environment instead; but that takes quite some time, while we already
have a compiler on the host...
Samuel
next prev parent reply other threads:[~2008-09-24 14:51 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-24 12:25 stubdom: build failure Christoph Egger
2008-09-24 12:33 ` Samuel Thibault
2008-09-24 12:40 ` Christoph Egger
2008-09-24 12:48 ` Samuel Thibault
2008-09-24 12:57 ` Christoph Egger
2008-09-24 13:13 ` Samuel Thibault
2008-09-24 13:39 ` Christoph Egger
2008-09-24 13:48 ` Samuel Thibault
2008-09-24 13:51 ` Keir Fraser
2008-09-24 14:21 ` Christoph Egger
2008-09-24 14:31 ` Keir Fraser
2008-09-24 14:35 ` Samuel Thibault
2008-09-24 14:43 ` Christoph Egger
2008-09-24 14:51 ` Samuel Thibault [this message]
2008-09-24 15:02 ` Keir Fraser
2008-09-24 14:35 ` Samuel Thibault
2008-09-24 14:24 ` Samuel Thibault
-- strict thread matches above, loose matches on Subject: below --
2008-10-03 0:23 Stubdom " Neo Jia
2009-07-29 14:37 stubdom " George Dunlap
2009-07-29 14:55 ` Stefano Stabellini
2009-07-29 15:07 ` 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=20080924145139.GP4527@implementation.bordeaux.inria.fr \
--to=samuel.thibault@ens-lyon.org \
--cc=Christoph.Egger@amd.com \
--cc=keir.fraser@eu.citrix.com \
--cc=xen-devel@lists.xensource.com \
/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.