[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] stubdom: build failure



In extras/mini-os/include/types.h, line 22 tries to include stddef.h .
But this file doesn't exist and due to use of -nostdinc the libc's stddef.h
isn't used/found.

On NetBSD, this leads to this build error:

gmake[6]: Entering directory 
`/build/xen-staging-netbsd.hg/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/argz'
 
gcc -isystem /root/xen-staging-netbsd.hg/stubdom/../extras/mini-os/include 
-D__MINIOS__ -DHAVE_LIBC -isystem 
/build/xen-staging-netbsd.hg/stubdom/../extras/mini-os/include/posix -isystem 
/build/xen-staging-netbsd.hg/stubdom/../tools/xenstore  -isystem 
/build/xen-staging-netbsd.hg/stubdom/../extras/mini-os/include/x86 -isystem 
/build/xen-staging-netbsd.hg/stubdom/../extras/mini-os/include/x86/x86_64 
-U__linux__ -U__FreeBSD__ -U__sun__ -nostdinc -isystem 
/build/xen-staging-netbsd.hg/stubdom/../extras/mini-os/include/posix -isystem 
/build/xen-staging-netbsd.hg/stubdom/cross-root-x86_64/x86_64-xen-elf/include 
-isystem 
include -isystem /build/xen-staging-netbsd.hg/stubdom/lwip-x86_64/src/include 
-isystem /build/xen-staging-netbsd.hg/stubdom/lwip-x86_64/src/include/ipv4 
-I/build/xen-staging-netbsd.hg/stubdom/include -mno-red-zone -O0 
-fno-omit-frame-pointer -fno-optimize-sibling-calls  -m64 -mno-red-zone 
-fno-reorder-blocks -fno-asynchronous-unwind-tables -m64 -g 
-fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value 
-Wdeclaration-after-statement   -fno-stack-protector  
-D_I386MACH_ALLOW_HW_INTERRUPTS 
-B/build/xen-staging-netbsd.hg/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/ 
-isystem 
/build/xen-staging-netbsd.hg/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/targ-include
 -isystem 
/build/xen-staging-netbsd.hg/stubdom/newlib-1.16.0/newlib/libc/include 
-B/build/xen-staging-netbsd.hg/stubdom/newlib-x86_64/x86_64-xen-elf/libgloss/x86_64
 
-L/build/xen-staging-netbsd.hg/stubdom/newlib-x86_64/x86_64-xen-elf/libgloss/libnosys
 -L/build/xen-staging-netbsd.hg/stubdom/newlib-1.16.0/libgloss/x86_64 
-DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\" 
-DPACKAGE_VERSION=\"1.16.0\" -DPACKAGE_STRING=\"newlib\ 
1.16.0\" -DPACKAGE_BUGREPORT=\"\" -I. 
-I../../../../../newlib-1.16.0/newlib/libc/argz -O2 -DMISSING_SYSCALL_NAMES 
-fno-builtin      -O2 -g -g -O2   -c -o 
lib_a-argz_add.o `test -f 'argz_add.c' || 
echo '../../../../../newlib-1.16.0/newlib/libc/argz/'`argz_add.c
In file included 
from 
/build/xen-staging-netbsd.hg/stubdom/../extras/mini-os/include/mini-os/time.h:22,
                 
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: 
/build/xen-staging-netbsd.hg/stubdom/../extras/mini-os/include/mini-os/types.h:22:20:
 
error: stddef.h: No such file or directory




-- 
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
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.