[LinuxBIOS] FILO link errors on AMD64

Chris Stillo Chris.Stillo at celoxica.com
Sat Sep 9 15:53:08 CEST 2006


You were correct, gcc was out-of-date. Initially, I was using the latest
Debian release. After reading your hint, I decided to start from a clean
slate and re-image to SUSE 10.1. No problems with FILO compile now.

Thanks for the hints!


-----Original Message-----
From: Stefan Reinauer [mailto:stepan at coresystems.de] 
Sent: Friday, September 08, 2006 4:31 PM
To: Chris Stillo
Cc: linuxbios at linuxbios.org
Subject: Re: [LinuxBIOS] FILO link errors on AMD64

* 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:
                                      ^^^^ Try updating your gcc.


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/

This incoming message has been checked for all known viruses by the
Messagelabs Scanning System, on behalf of Celoxica Ltd.

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.

More information about the coreboot mailing list