On Sun, Apr 29, 2007 at 06:24:16PM +0200, Peter Stuge wrote:
On Sun, Apr 29, 2007 at 10:30:52AM -0400, Ward Vandewege wrote:
ld -m elf_i386 -N -T i386/ldscript -o filo main/builtin.o main/grub/builtin.o fs/builtin.o drivers/builtin.o drivers/usb/builtin.o i386/builtin.o /usr/lib/gcc/x86_64-linux-gnu/4.1.2/32/libgcc.a main/builtin.o: In function `number': printf.c:(.text+0x924): undefined reference to `__stack_chk_fail'
[..]
I've attempted the compile with gcc 4.1.2 (Ubuntu 4.1.2-0ubuntu4) on kubuntu feisty.
Try GCC 4.0 or even 3.4.
For the record, I build FILO with 4.1.1 without problems. Maybe this is a 64/32 problem, I'm just on i686-pc-linux-gnu.
Yeah, that rings a bell. I think I saw this on x86_64 - could not compile FILO with gcc 4.0 or 4.1, but it did work with gcc 3.4.
Thanks, Ward.