From: Christoph Egger <Christoph.Egger@amd.com>
To: xen-devel@lists.xensource.com
Cc: Samuel Thibault <samuel.thibault@ens-lyon.org>,
Keir Fraser <keir.fraser@eu.citrix.com>
Subject: Re: stubdom: build failure
Date: Wed, 24 Sep 2008 16:21:22 +0200 [thread overview]
Message-ID: <200809241621.22646.Christoph.Egger@amd.com> (raw)
In-Reply-To: <C500047A.27708%keir.fraser@eu.citrix.com>
On Wednesday 24 September 2008 15:51:38 Keir Fraser wrote:
> On 24/9/08 14:39, "Christoph Egger" <Christoph.Egger@amd.com> wrote:
> >> Uh, it's odd that -print-search-dirs doesn't provide the install one.
> >> Does gcc -print-file-name=include/stddef.h provide the correct path?
> >
> > No. gcc -print-file-name=blah works like echo blah
> > On NetBSD there are only system libs and headers.
> >
> > On NetBSD stddef.h is in /usr/include/ as well as
> > stdarg.h, stdbool.h, etc.
>
> Could we perhaps force GCC_INSTALL to /usr/include on BSD systems? Or if
> GCC_INSTALL is empty after executing the current shell runes?
>
> Can you check forcing GCC_INSTALL=/usr/include works? I assume it might
> cause us to put more headers in the search path than we'd like.
Since the buildsystem appends include automatically, I tested with
forcing GCC_INSTALL="/usr/"
This fixed the problem about not finding stddef.h , but shows
other errors then:
In file included from /usr/include/sys/time.h:38,
from /build/xen-staging-netbsd.hg/stubdom/../extras/mini-os/include/sys/time.h:24,
from /build/xen-staging-netbsd.hg/stubdom/../extras/mini-os/include/mini-os/time.h:49,
from /build/xen-staging-netbsd.hg/stubdom/../extras/mini-os/include/mini-os/sched.h:5,
from /build/xen-staging-netbsd.hg/stubdom/../extras/mini-os/include/errno.h:116,
from ../../../../../newlib-1.16.0/newlib/libc/argz/argz_add.c:7:
/usr/include/sys/types.h:286: error: conflicting types for 'time_t'
/build/xen-staging-netbsd.hg/stubdom/../extras/mini-os/include/mini-os/time.h:46:
error: previous declaration of 'time_t' was here
/usr/include/sys/types.h:301: error: conflicting types for 'suseconds_t'
/build/xen-staging-netbsd.hg/stubdom/../extras/mini-os/include/mini-os/time.h:47:
error: previous declaration of 'suseconds_t' was here
[...]
Christoph
--
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
next prev parent reply other threads:[~2008-09-24 14:21 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 [this message]
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
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=200809241621.22646.Christoph.Egger@amd.com \
--to=christoph.egger@amd.com \
--cc=keir.fraser@eu.citrix.com \
--cc=samuel.thibault@ens-lyon.org \
--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.