Hi, We are getting the following build failure on Xen-3.2 on recent Ubuntu hardy builds. I am not sure what to do about it: make[4]: Entering directory `/tmp/buildd/xen-3.2-3.2.0/debian/build/build-hypervisor/xen/arch/x86/boot'' gcc -D__ASSEMBLY__ -g -O2 -m32 -march=i686 -DNDEBUG -fno-strict-aliasing -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement -DVMXASSIST -nostdinc -fno-builtin -fno-common -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/tmp/buildd/xen-3.2-3.2.0/debian/build/build-hypervisor/xen/include -I/tmp/buildd/xen-3.2-3.2.0/debian/build/build-hypervisor/xen/include/asm-x86/mach-generic -I/tmp/buildd/xen-3.2-3.2.0/debian/build/build-hypervisor/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -DCONFIG_X86_PAE=1 -g -D__XEN__ -m32 -march=i686 -DNDEBUG -fno-strict-aliasing -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement -DVMXASSIST -nostdinc -fno-builtin -fno-common -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/tmp/buildd/xen-3.2-3.2.0/debian/build/build-hypervisor/xen/include -I/tmp/buildd/xen-3.2-3.2.0/debian/build/build-hypervisor/xen/include/asm-x86/mach-generic -I/tmp/buildd/xen-3.2-3.2.0/debian/build/build-hypervisor/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -DCONFIG_X86_PAE=1 -g -D__XEN__ -m32 -march=i686 -DNDEBUG -fno-strict-aliasing -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement -DVMXASSIST -nostdinc -fno-builtin -fno-common -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/tmp/buildd/xen-3.2-3.2.0/debian/build/build-hypervisor/xen/include -I/tmp/buildd/xen-3.2-3.2.0/debian/build/build-hypervisor/xen/include/asm-x86/mach-generic -I/tmp/buildd/xen-3.2-3.2.0/debian/build/build-hypervisor/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -DCONFIG_X86_PAE=1 -g -D__XEN__ -c head.S -o head.o ld -Wl,-Bsymbolic-functions -melf_i386 -melf_i386 -melf_i386 -r -o built_in.o head.o ld: unrecognized option ''-Wl,-Bsymbolic-functions'' ld: use the --help option for usage information thanks chuck _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Hi Chuck, On Feb 20, 2008 3:17 PM, Chuck Short <zulcss@gmail.com> wrote:> Hi, > > We are getting the following build failure on Xen-3.2 on recent Ubuntu > hardy builds. I am not sure what to do about it: >Which Ubuntu package(s) are you trying to build? Can you provide links to the packages? The Xen 3.2 vanilla source compiles fine on Ubuntu 7.10, so either there is a problem with Ubuntu-specific changes or with your setup (i.e. missing or incompatible build packages). Best Regards, Todd> > make[4]: Entering directory > `/tmp/buildd/xen-3.2-3.2.0 > /debian/build/build-hypervisor/xen/arch/x86/boot'' > gcc -D__ASSEMBLY__ -g -O2 -m32 -march=i686 -DNDEBUG > -fno-strict-aliasing -Wall -Wstrict-prototypes -Wno-unused-value > -Wdeclaration-after-statement -DVMXASSIST -nostdinc -fno-builtin > -fno-common -iwithprefix include -Werror -Wno-pointer-arith -pipe > -I/tmp/buildd/xen-3.2-3.2.0/debian/build/build-hypervisor/xen/include > -I/tmp/buildd/xen-3.2-3.2.0 > /debian/build/build-hypervisor/xen/include/asm-x86/mach-generic > -I/tmp/buildd/xen-3.2-3.2.0 > /debian/build/build-hypervisor/xen/include/asm-x86/mach-default > -msoft-float -fno-stack-protector -DCONFIG_X86_PAE=1 -g -D__XEN__ -m32 > -march=i686 -DNDEBUG -fno-strict-aliasing -Wall -Wstrict-prototypes > -Wno-unused-value -Wdeclaration-after-statement -DVMXASSIST -nostdinc > -fno-builtin -fno-common -iwithprefix include -Werror > -Wno-pointer-arith -pipe > -I/tmp/buildd/xen-3.2-3.2.0/debian/build/build-hypervisor/xen/include > -I/tmp/buildd/xen-3.2-3.2.0 > /debian/build/build-hypervisor/xen/include/asm-x86/mach-generic > -I/tmp/buildd/xen-3.2-3.2.0 > /debian/build/build-hypervisor/xen/include/asm-x86/mach-default > -msoft-float -fno-stack-protector -DCONFIG_X86_PAE=1 -g -D__XEN__ -m32 > -march=i686 -DNDEBUG -fno-strict-aliasing -Wall -Wstrict-prototypes > -Wno-unused-value -Wdeclaration-after-statement -DVMXASSIST -nostdinc > -fno-builtin -fno-common -iwithprefix include -Werror > -Wno-pointer-arith -pipe > -I/tmp/buildd/xen-3.2-3.2.0/debian/build/build-hypervisor/xen/include > -I/tmp/buildd/xen-3.2-3.2.0 > /debian/build/build-hypervisor/xen/include/asm-x86/mach-generic > -I/tmp/buildd/xen-3.2-3.2.0 > /debian/build/build-hypervisor/xen/include/asm-x86/mach-default > -msoft-float -fno-stack-protector -DCONFIG_X86_PAE=1 -g -D__XEN__ -c > head.S -o head.o > ld -Wl,-Bsymbolic-functions -melf_i386 -melf_i386 -melf_i386 -r -o > built_in.o head.o > ld: unrecognized option ''-Wl,-Bsymbolic-functions'' > ld: use the --help option for usage information > > > thanks > chuck > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On Wed, 2008-02-20 at 15:17 -0500, Chuck Short wrote:> > ld -Wl,-Bsymbolic-functions -melf_i386 -melf_i386 -melf_i386 -r -o > built_in.o head.o > ld: unrecognized option ''-Wl,-Bsymbolic-functions'' > ld: use the --help option for usage informationThe -Wl,<foo> syntax is gcc specific syntax which tells it to pass <foo> as an argument to the linker but here it being passed to the linker directly including the -Wl bit. The symbolic-functions thing doesn''t come from the Xen source so it must come from either the Ubuntu packaging/patches or some environmental factor (i.e. LDFLAGS set in the environment). Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel