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

Re: [Xen-devel] Stubdom compilation fails



On Tue, 2012-12-11 at 15:40 +0000, SÃbastien FrÃmal wrote:
> Hello,
> 
> I'm trying to compile Xen 4.2.0 on Ubuntu 11.10 but it crashes when
> compiling the stubdom part. As he can't find stddef.h, he can't create
> libraries and finally crashes. You can find a sample of errors below :

What was the "make" command line you used?

Did you download the 4.2.0 tarball or are you building from Mercurial?
If the latter then which revision. Did you modify anything in the source
tree?

> Making all in misc
> make[6]: entrant dans le rÃpertoire
> Â 
> /home/fremals/xen-4.2.0/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/misc 
> Â
> gcc -isystem /home/fremals/xen-4.2.0/stubdom/../extras/mini-os/include 
> -D__MINIOS__ -DHAVE_LIBC -isystem 
> /home/fremals/xen-4.2.0/stubdom/../extras/mini-os/include/posix -isystem 
> /home/fremals/xen-4.2.0/stubdom/../tools/xenstore  -isystem 
> /home/fremals/xen-4.2.0/stubdom/../extras/mini-os/include/x86 -isystem 
> /home/fremals/xen-4.2.0/stubdom/../extras/mini-os/include/x86/x86_64 -U 
> __linux__ -U __FreeBSD__ -U __sun__ -nostdinc -isystem 
> /home/fremals/xen-4.2.0/stubdom/../extras/mini-os/include/posix -isystem 
> /home/fremals/xen-4.2.0/stubdom/cross-root-x86_64/x86_64-xen-elf/include 
> -isystem include -isystem 
> /home/fremals/xen-4.2.0/stubdom/lwip-x86_64/src/include -isystem 
> /home/fremals/xen-4.2.0/stubdom/lwip-x86_64/src/include/ipv4 
> -I/home/fremals/xen-4.2.0/stubdom/include 
> -I/home/fremals/xen-4.2.0/stubdom/../xen/include -mno-red-zone -O1 
> -fno-omit-frame-pointer  -m64 -mno-red-zone -fno-reorder-blocks 
> -fno-asynchronous-unwind-tables -m64 -g -fno-strict-aliasing -std=gnu99 -Wall 
> -Wstrict-prototypes -Wdeclaration-after-statement 
> -Wno-unused-but-set-variable   -fno-stack-protector -fno-exceptions 
> -D_I386MACH_ALLOW_HW_INTERRUPTS 
> -B/home/fremals/xen-4.2.0/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/ 
> -isystem 
> /home/fremals/xen-4.2.0/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/targ-include
>  -isystem /home/fremals/xen-4.2.0/stubdom/newlib-1.16.0/newlib/libc/include 
> -B/home/fremals/xen-4.2.0/stubdom/newlib-x86_64/x86_64-xen-elf/libgloss/x86_64
>  
> -L/home/fremals/xen-4.2.0/stubdom/newlib-x86_64/x86_64-xen-elf/libgloss/libnosys
>  -L/home/fremals/xen-4.2.0/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/misc 
> -O2 -DMISSING_SYSCALL_NAMES -fno-builtin      -O2 -g -g -O2   -c -o 
> lib_a-__dprintf.o `test -f '__dprintf.c' || echo 
> '../../../../../newlib-1.16.0/newlib/libc/misc/'`__dprintf.c
> In file included from 
> /home/fremals/xen-4.2.0/stubdom/newlib-1.16.0/newlib/libc/include/sys/reent.h:14:0,
>                  from 
> /home/fremals/xen-4.2.0/stubdom/newlib-1.16.0/newlib/libc/include/reent.h:48,
>                  from 
> ../../../../../newlib-1.16.0/newlib/libc/misc/__dprintf.c:8:
> /home/fremals/xen-4.2.0/stubdom/newlib-1.16.0/newlib/libc/include/sys/_types.h:67:20:
>  erreur fatale: stddef.h : Aucun fichier ou dossier de ce type
> compilation terminÃe.
> make[6]: *** [lib_a-__dprintf.o] Erreur 1

This smells a little bit like the issue which was supposed to have been
addressed way back in 18392:8ac3e7e7d823. e.g.
http://old-list-archives.xen.org/archives/html/xen-devel/2008-09/msg00813.html 
and http://old-list-archives.xen.org/xen-users/2008-11/msg00599.html

Can you try building with LANG=C instead of LANG=fr?

I can't offhand spot anywhere which invokes gcc that might need a LANG=C
which hasn't already got one.

Ian.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

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