I was using Intrepid Ubuntu, got this error:
BFD: BFD (GNU Binutils for Ubuntu) 220.127.116.1181009 internal error, aborting at
../../bfd/elf.c line 4655 in assign_file_positions_for_non_load_sections
I did a search with google, found this error reported many times, but strangely
enough not at all in this bugzilla.
It is reported on Ubuntu bugzilla but they have taken no action. On the
otherhand, Debian Lenny has rolled back to binutils 2.18.1 (cvs20080103), and I
saw a comment that this was done to fix these BFD errors.
I installed the binutils from Debian Lenny in Ubuntu Intrepid, and in the same
situation it now works, problem fixed.
Intrepid is using 2.18.93 (cvs20081009), but the bug is reported for other
versions. It is interesting that Debian has rolled right back that far.
Please close this bug as a duplicate if so.
I'm getting this, too.
I built binutils-2.19.1 from source with --enable-gold, installed to
/usr/local/gold, and changed /usr/bin/ld to a symlink to /usr/local/gold/bin/ld,
then built wine. It crashed on the command
I'll attach that file.
Switching /usr/bin/strip to point to /usr/local/gold/bin/strip got further,
but blew up on the command
with the error
BFD: BFD (GNU Binutils) 2.19.1 internal error, aborting at elf.c line 4650 in
I'll attach that file, too.
Reverting back to the system ld, deleting all the .exe.so's and .exe's from
the wine tree, and building worked.
So this looks like a gold-related problem.