[LinuxBIOS] FILO link errors on AMD64

Chris Stillo Chris.Stillo at celoxica.com
Fri Sep 8 23:02:12 CEST 2006

I am attempting to compile FILO on a AMD64 (dk8htx) platform. 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
chris.stillo at celoxica.com <BLOCKED::mailto:chris.stillo at celoxica.com> 
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
main/builtin.o(.text+0xa17): In function `number':
: undefined reference to `__umoddi3'
main/builtin.o(.text+0xa2f): In function `number':
: undefined reference to `__udivdi3'
drivers/builtin.o(.text+0xcad): In function `init_drive':
: undefined reference to `__udivdi3'
drivers/builtin.o(.text+0xcd2): In function `init_drive':
: undefined reference to `__udivdi3'
i386/builtin.o(.text+0x3b2): In function `calibrate_tsc':
: undefined reference to `__udivdi3'
i386/builtin.o(.text+0x3f0): In function `currticks':
: undefined reference to `__udivdi3'
i386/builtin.o(.text+0x443): more undefined references to `__udivdi3'
make: *** [filo] Error 1


This message has been checked for all known viruses by the MessageLabs Virus Scanning Service, on behalf of Celoxica Ltd.

This email and any files transmitted with it are confidential and 
may be legally privileged. It is intended solely for the use of the 
individual or entity to whom it is addressed. If you have received 
this in error, please contact the sender and delete the material 
immediately. Whilst this email has been swept for viruses, you 
should carry out your own virus check before opening any 
attachment. Celoxica Ltd accepts no liability for any loss or 
damage which may be caused by software viruses or interception 
or interruption of this email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20060908/7fc29b9d/attachment.html>

More information about the coreboot mailing list