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

[Xen-devel] stubdom: build failure

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] stubdom: build failure
From: Christoph Egger <Christoph.Egger@xxxxxxx>
Date: Wed, 24 Sep 2008 14:25:07 +0200
Delivery-date: Wed, 24 Sep 2008 05:25:50 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.7
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
<Prev in Thread] Current Thread [Next in Thread>