[Bug ld/16627] New: internal error, aborting at elf64-x86-64.c line 3363 in elf_x86_64_relocate_section

2014-02-23 Thread stefan.bru...@rwth-aachen.de
https://sourceware.org/bugzilla/show_bug.cgi?id=16627

Bug ID: 16627
   Summary: internal error, aborting at elf64-x86-64.c line 3363
in elf_x86_64_relocate_section
   Product: binutils
   Version: 2.24
Status: NEW
  Severity: normal
  Priority: P2
 Component: ld
  Assignee: unassigned at sourceware dot org
  Reporter: stefan.bru...@rwth-aachen.de

I tried compiling systemd 209 with the --enable-compat-libs option. This
configure switch creates compat libs using "__attribute ((ifunc ...))" to
generate the stub compat libs.

The failing command was:

gcc -shared  -fPIC -DPIC  .libs/libsystemd_login_la-libsystemd-login.o  
-Wl,-rpath -Wl,/home/abuild/rpmbuild/BUILD/systemd-209/.libs -Wl,-rpath
-Wl,/usr/lib64 ./.libs/libsystemd.so -L/usr/lib64 -llzma -lgcrypt -lgpg-error
-lrt -lresolv -ldl  -flto -O2 -Wl,--as-needed -Wl,--no-undefined
-Wl,--gc-sections -Wl,-z -Wl,relro -Wl,-z -Wl,now
-Wl,--version-script=./src/compat-libs/libsystemd-login.sym   -pthread
-Wl,-soname -Wl,libsystemd-login.so.0 -o .libs/libsystemd-login.so.0.9.2


input_section->flags is 0x20011f
h->plt.offset is 0x

-- 
You are receiving this mail because:
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/16627] internal error, aborting at elf64-x86-64.c line 3363 in elf_x86_64_relocate_section

2014-02-23 Thread stefan.bru...@rwth-aachen.de
https://sourceware.org/bugzilla/show_bug.cgi?id=16627



--- Comment #1 from Stefan BrĂ¼ns  ---

This only happens with the "legacy" linker, gold works fine



-- 

You are receiving this mail because:

You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils