Emre Erenoglu
2007-Feb-16 01:14 UTC
[Xen-devel] Compilation Error in tools (BIOS/hvmloader)
Hi, I just recognised a compilation error which prevents the system from creating hvmloader files in necessary places. It does not stop overall compilation so I wanted to write this here in case developers might not be aware of the problem. Here''s the output when compiling latest unstable code (15/2/2007): emre@xen:/xen/xen-unstable.hg/tools$ sudo make clean emre@xen:/xen/xen-unstable.hg/tools$ sudo make all ... ... ... ... gcc -m32 -march=i686 -DNDEBUG -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement -D__XEN_TOOLS__ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -mno-tls-direct-seg-refs -fno-builtin -O2 -msoft-float -nostdlib -I../ -DGCC_PROTOS -c -o util.o util.c ld -melf_i386 -r 32bitbios.o tcgbios/tcgbiosext.o util.o -o 32bitbios_all.o There are undefined symbols in the BIOS: U __stack_chk_fail make[2]: *** [32bitbios_flat.h] Error 11 make[2]: Leaving directory `/xen/xen-unstable.hg/tools/firmware/rombios/32bit'' make[1]: *** [all] Error 2 make[1]: Leaving directory `/xen/xen-unstable.hg/tools/firmware'' make: *** [all] Error 2 emre@xen:/xen/xen-unstable.hg/tools$ Best regards, Emre Erenoglu _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Luciano Miguel Ferreira Rocha
2007-Feb-16 01:34 UTC
Re: [Xen-devel] Compilation Error in tools (BIOS/hvmloader)
On Fri, Feb 16, 2007 at 02:14:10AM +0100, Emre Erenoglu wrote:> Hi, > > I just recognised a compilation error which prevents the system from > creating hvmloader files in necessary places. It does not stop overall > compilation so I wanted to write this here in case developers might > not be aware of the problem. > > Here''s the output when compiling latest unstable code (15/2/2007):On Ubuntu or Gentoo? You''ll have to add the option -fno-stack-protector to gcc. make CC=''gcc -fno-stack-protector'' should do it. I thought the developers added a check for that option some time ago, maybe they missed some places. -- lfr 0/0 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2007-Feb-16 09:51 UTC
Re: [Xen-devel] Compilation Error in tools (BIOS/hvmloader)
On 16/2/07 01:34, "Luciano Miguel Ferreira Rocha" <strange@nsk.no-ip.org> wrote:>> Here''s the output when compiling latest unstable code (15/2/2007): > > On Ubuntu or Gentoo? You''ll have to add the option -fno-stack-protector > to gcc. make CC=''gcc -fno-stack-protector'' should do it. > > I thought the developers added a check for that option some time ago, > maybe they missed some places.This issue is fixed in current xen-unstable. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel