Albert Bachand
2006-Oct-28 00:15 UTC
[Xen-users] Problem building from source on Ubuntu Edgy
Hello, I''m trying to build 3.0.3-testing from source on Ubuntu Edgy (6.10). I think that gcc builds with -fstack-protector by default. Building with CFLAGS=-fno-stack-protector fixes the problem with xen itself but not with the kernels that a make world builds. This is the error I get, any idea how to fix it? CC [M] lib/zlib_inflate/infutil.o CC [M] lib/zlib_inflate/inflate_syms.o LD [M] lib/zlib_inflate/zlib_inflate.o LD arch/i386/lib/built-in.o CC arch/i386/lib/bitops.o AS arch/i386/lib/checksum.o CC arch/i386/lib/delay.o AS arch/i386/lib/getuser.o CC arch/i386/lib/memcpy.o AS arch/i386/lib/putuser.o CC arch/i386/lib/strstr.o CC arch/i386/lib/usercopy.o AR arch/i386/lib/lib.a GEN .version CHK include/linux/compile.h UPD include/linux/compile.h CC init/version.o LD init/built-in.o LD .tmp_vmlinux1 init/built-in.o: In function `try_name'': do_mounts.c:(.text+0x5f3): undefined reference to `__stack_chk_fail'' init/built-in.o: In function `name_to_dev_t'': (.text+0x8db): undefined reference to `__stack_chk_fail'' init/built-in.o: In function `change_floppy'': (.init.text+0xa61): undefined reference to `__stack_chk_fail'' init/built-in.o: In function `mount_block_root'': (.init.text+0xca8): undefined reference to `__stack_chk_fail'' init/built-in.o: In function `md_run_setup'': (.init.text+0x4176): undefined reference to `__stack_chk_fail'' init/built-in.o:initramfs.c:(.init.text+0x4d73): more undefined references to `__stack_chk_fail'' follow make: *** [.tmp_vmlinux1] Error 1 Thanks, Albert _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users