[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Xen 4.1.0 RC2 released,
On 1/29/2011 2:45 AM, Ian Campbell wrote: I just built Xen with the following patch and it didn't break on a Debian system (i.e. without as-needed enabled by default). Can you try it in your environment? Initially failed with: ld -Wl,--no-as-needed -melf_x86_64 -r -o built_in.o head.o ld: unrecognized option '-Wl,--no-as-needed' ld: use the --help option for usage informationAdjusted the patch to have a space instead of a comma between params and I get: gcc -D__ASSEMBLY__ -O1 -fno-omit-frame-pointer -fno-optimize-sibling-calls -m64 -g -fno-strict-aliasing -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -Wredundant-decls -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/var/home/xen41/xen-unstable.hg/xen/include -I/var/home/xen41/xen-unstable.hg/xen/include/asm-x86/mach-generic -I/var/home/xen41/xen-unstable.hg/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -mno-red-zone -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -g -D__XEN__ -DVERBOSE -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -MMD -MF .head.o.d -c head.S -o head.o ld -Wl --no-as-needed -melf_x86_64 -r -o built_in.o head.o ld: unrecognized option '-Wl' ld: use the --help option for usage information xen5 xen-unstable.hg # ld -v GNU ld (GNU Binutils) 2.19.1 If I drop the -Wl out, it bails on:gcc -O1 -fno-omit-frame-pointer -fno-optimize-sibling-calls -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement -D__XEN_TOOLS__ -MMD -MF .xen-tmem-list-parse.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Werror -I ../../tools/python/xen/lowlevel/xc -I ../../tools/libxc -I ../../tools/include --no-as-needed xen-tmem-list-parse.c -o xen-tmem-list-parse cc1: error: unrecognized command line option "-fno-as-needed"the --no-as-needed is valid for ld according to the man, but not for gcc as far as I can see. - Nathan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |