Bug 14623 - internal error, aborting at bfd/elf64-x86-64.c line 3611 in elf_x86_64_relocate_section while building firefox
Summary: internal error, aborting at bfd/elf64-x86-64.c line 3611 in elf_x86_64_reloca...
Status: RESOLVED FIXED
Alias: None
Product: binutils
Classification: Unclassified
Component: ld (show other bugs)
Version: 2.24
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-25 16:28 UTC by Markus Trippelsdorf
Modified: 2012-09-27 14:09 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Trippelsdorf 2012-09-25 16:28:37 UTC
Trying to build Firefox with ld.bfd results in:

...
/usr/bin/python2.7 /var/tmp/mozilla-central/js/src/config/pythonpath.py -I../config /var/tmp/mozilla-central/js/src/config/expandlibs_exec.py --depend .deps/js.pp --target js --uselist -- c++ -o js -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -march=native -Wno-unused-local-typedefs -Wno-delete-non-virtual-dtor -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pthread -pipe -DNDEBUG -DTRIMMED -fprofile-generate -O3 -fomit-frame-pointer js.i_o jsoptparse.i_o jsheaptools.i_o -lpthread -fuse-linker-plugin -Wl,-O1,--hash-style=gnu  -fprofile-generate -Wl,-rpath-link,../../../dist/bin -Wl,-rpath-link,/var/tmp/moz-build-dir/dist/lib -L../../../dist/bin -L../../../dist/lib -Wl,-R/usr/lib64 -L/usr/lib64 -lplds4 -lplc4 -lnspr4 -lpthread -ldl ../editline/libeditline.a ../libjs_static.a -lz -Wl,--whole-archive ../../../dist/lib/libmozglue.a ../../../dist/lib/libmemory.a -Wl,--no-whole-archive -rdynamic -ldl                                                       
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/../../../../x86_64-pc-linux-gnu/bin/ld: BFD (GNU Binutils) 2.23.51.20120914 internal error, aborting at /var/tmp/portage/sys-devel/binutils-9999/work/binutils/bfd/elf64-x86-64.c line 3611 in elf_x86_64_relocate_section

/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/../../../../x86_64-pc-linux-gnu/bin/ld: Please report this bug.

 % ld -v
GNU ld (GNU Binutils) 2.23.51.20120914


collect2: error: ld returned 1 exit status
Comment 1 H.J. Lu 2012-09-27 12:11:38 UTC
I believe it this is the same as

http://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2012-September/023091.html

and is fixed by

http://sourceware.org/ml/binutils/2012-09/msg00210.html

Please try the current binutils.
Comment 2 Markus Trippelsdorf 2012-09-27 14:09:28 UTC
(In reply to comment #1)
> I believe it this is the same as
> 
> http://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2012-September/023091.html
> 
> and is fixed by
> 
> http://sourceware.org/ml/binutils/2012-09/msg00210.html

Yes. It's fixed now. Thanks H.J..