This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: BFD error


I had this same problem attempting to compile gcc 4.1.1 on Red Hat RHEL
4, and it was cured by downloading binutils-2.17.50.0.3.tar.gz from
ftp.kernel.org/pub/linux/devel/binutils

However, be aware that (it appears) the new ld executable MUST be
installed as /usr/bin/ld, as this path is hardwired into the "collect-
ld" Bourne-shell script.

Alan Thompson

--------------------------------------------------------------------------
Re: BFD error
      * From: Kai Ruottu <karuottu at mbnet dot fi>
      * To: Phil taddei <phillyla at lycos dot com>
      * Cc: gcc-help at gcc dot gnu dot org
      * Date: Thu, 06 Jul 2006 10:03:31 +0300
      * Subject: Re: BFD error
      * References: <20060705211724.8A829E5BC7@ws7-2.us4.outblaze.com>

________________________________________________________________________
Phil taddei kirjoitti:
        I had the following error while building gcc-4.4.4 on a Redhat
        Linux system, i686 pc:
Seems to be "gcc-4.1.1" though...
        /usr/bin/ld: BFD 2.14.90.0.4 20030523 internal error, aborting
        at ../../bfd/elf32-i386.c line 2377 in elf_i386_relocate_section
The binutils-2.14.90.0.4 can really be "too old" to be used with
gcc-4.1.1.
        Am I doing something wrong?
Maybe, I think giving at least your GCC configure command could help in
solving the problem...
        I also updated the binutils. Still got the same error.
The current binutils version for Linux is "2.17.50.0.2" at:

ftp.kernel.org/pub/linux/devel/binutils

and it is assumed that you updated to this "current" version or at least
to the last "2.16.91" one.
Anyway your "updated" is a little fuzzy, maybe it means a "2.15.94" one
or something....






Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]