Re: gcc buidling errors during 'make'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



sean yang kirjoitti:

> I am building gcc4.0.2 on my Linux box. Here is the errors I got, which seems to be something related to linker > and c++ library (but note that executable gcc, g++ have already been produced.)
>
>/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 gcc-4.0.2 is quite new but as you can see your binutils-2.14.90.0.4 release from 20030523 is soon 3 years old! Of course the new GCCs "should" work also with 3 years old binutils, but this is quite optimistic. When updating the binutils doesn't take so long, people usually do just that and don't wonder why the linker crashed or how to fix these 3 years old binutils sources so that these old binutils could accept the code from the recent GCCs...

The most uptodate release is the "binutils-2.16.91.0.7 for Linux", at :

    http://www.kernel.org/pub/linux/devel/binutils/

but updating at least to the last '2.15.94' could be recommended... If this error still happens with them, or even with this most uptodate '2.16.91.0.7', maybe then your host has some other serious problem.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux