[LinuxBIOS] FILO link errors on AMD64
Stefan Reinauer
stepan at coresystems.de
Fri Sep 8 23:31:24 CEST 2006
* Chris Stillo <Chris.Stillo at celoxica.com> [060908 23:02]:
> Hello,
>
> I am attempting to compile FILO on a AMD64 (dk8htx) platform.
Which version? svn?
> I'm getting link errors(shown below), due to the 64-bit math
> operations not being implemented in i386_x64 libgcc. Has anyone run
> into this previously?
not me.
> 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-lib/x86_64-linux/3.3.5/./libgcc.a
Is this with a clean checkout? If so, your gcc is broken as it points
to the wrong libgcc.
What does the following command tell you?
$ gcc -m32 -print-libgcc-file-name
on my system it says:
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/32/libgcc.a
^^^^
Try updating your gcc.
Stefan
--
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.de • http://www.coresystems.de/
More information about the coreboot
mailing list