https://sourceware.org/bugzilla/show_bug.cgi?id=20519
Bug ID: 20519 Summary: "PowerPC64, Don't copy weak symbol dyn_relocs to weakdef." causes abort at elf64-ppc.c:14898 Product: binutils Version: 2.28 (HEAD) Status: UNCONFIRMED Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: npiggin at gmail dot com CC: amodra at gmail dot com Target Milestone: --- Host: powerpc64le-unknown-linux-gnu Target: powerpc64le-unknown-linux-gnu With a powerpc64le allyesconfig build of the Linux kernel, using thin archives and --gc-sections, I see ld failing: npiggin@p84-npiggin:~/src/linux$ time ../binutils/binutils-gdb/ld/ld-new -EL -m elf64lppc -pie --emit-relocs --build-id --gc-sections -X -o vmlinux -T ./arch/powerpc/kernel/vmlinux.lds --whole-archive built-in.o .tmp_kallsyms3.o ../binutils/binutils-gdb/ld/ld-new: BFD (GNU Binutils) 2.27.51.20160819 internal error, aborting at elf64-ppc.c:14898 in ppc64_elf_relocate_section Bisected to d311bc8bf85f8358df21301fe8a357aa1212f80c This build requires some out of tree patches to the kernel, so I can test patches and report back, or for IBMers I can give a login to my VM if that would help. -- 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