https://sourceware.org/bugzilla/show_bug.cgi?id=21224

            Bug ID: 21224
           Summary: internal error, aborting at
                    ../../bfd/elf64-ppc.c:14952 in
                    ppc64_elf_relocate_section
           Product: binutils
           Version: 2.28
               URL: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=8568
                    00
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: glaubitz at physik dot fu-berlin.de
  Target Milestone: ---
              Host: powerpc64le-*-*

Created attachment 9874
  --> https://sourceware.org/bugzilla/attachment.cgi?id=9874&action=edit
Offending object code and sources for binutils 2.28 crash (ppc64el)

Trying to build modem-manager-gui in Debian unstable on ppc64el with binutils
2.28 fails with:

make[2]: Entering directory
'/home/glaubitz/modem-manager-gui-0.0.18/src/plugins'
gcc -fPIC `pkg-config --cflags glib-2.0 ofono` -c -Wdate-time
-D_FORTIFY_SOURCE=2 -g -O2
-fdebug-prefix-map=/home/glaubitz/modem-manager-gui-0.0.18=.
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat
-Werror=format-security ofonohistory.c -o ofonohistory.o
gcc -shared `pkg-config --cflags glib-2.0 ofono`
-specs=/usr/share/dpkg/no-pie-link.specs -Wl,-z,relro -Wl,-z,now
-Wl,--as-needed ofonohistory.o `pkg-config --libs glib-2.0` -lgdbm -lrt -o
mmgui-ofono-history.so
/usr/bin/ld: BFD (GNU Binutils for Debian) 2.28 internal error, aborting at
../../bfd/elf64-ppc.c:14952 in ppc64_elf_relocate_section

/usr/bin/ld: Please report this bug.

collect2: error: ld returned 1 exit status
Makefile:15: recipe for target 'ofonohistory' failed
make[2]: *** [ofonohistory] Error 1
make[2]: Leaving directory
'/home/glaubitz/modem-manager-gui-0.0.18/src/plugins'
Makefile:8: recipe for target 'modem-manager-gui' failed
make[1]: *** [modem-manager-gui] Error 2
make[1]: Leaving directory '/home/glaubitz/modem-manager-gui-0.0.18'

The offending invocation is:

(sid_ppc64el-dchroot)glaubitz@plummer:~/modem-manager-gui-0.0.18/src/plugins$
gcc -shared `pkg-config --cflags glib-2.0 ofono`  ofonohistory.o `pkg-config
--libs glib-2.0` -lgdbm -lrt -o mmgui-ofono-history.so
/usr/bin/ld: BFD (GNU Binutils for Debian) 2.28 internal error, aborting at
../../bfd/elf64-ppc.c:14952 in ppc64_elf_relocate_section

/usr/bin/ld: Please report this bug.

collect2: error: ld returned 1 exit status
(sid_ppc64el-dchroot)glaubitz@plummer:~/modem-manager-gui-0.0.18/src/plugins$

Attaching an archive with the offending object files and sources. Please let me
know if you need anything else.

-- 
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

Reply via email to