bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/20519] New: "PowerPC64, Don't copy weak symbol dyn_relocs to wea


From: npiggin at gmail dot com
Subject: [Bug ld/20519] New: "PowerPC64, Don't copy weak symbol dyn_relocs to weakdef." causes abort at elf64-ppc.c:14898
Date: Fri, 26 Aug 2016 08:06:23 +0000

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:

address@hidden:~/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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]