Bug ID: 23194
           Summary: Building glibc 2.27 on 32-bit Intel with binutils 2.30
                    segfaults in elf subdir
           Product: binutils
           Version: 2.30
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ld
          Assignee: unassigned at sourceware dot org
          Reporter: mail at andreasbaumann dot cc
  Target Milestone: ---

Building in glibc-2.27/elf/:

make[3]: Leaving directory '/root/glibc/src/glibc-2.27/elf'
gcc   -nostdlib -nostartfiles -shared -o
/root/glibc/src/glibc-build/elf/              \
          -Wl,-z,combreloc -Wl,-z,relro -Wl,--hash-style=both -Wl,-z,defs
-Wl,-z,now    \
-Wl,--version-script=/root/glibc/src/glibc-build/             \
          -Wl,                     \
collect2: fatal error: ld terminated with signal 11 [Segmentation fault], core
compilation terminated.
make[2]: *** [Makefile:478: /root/glibc/src/glibc-build/elf/] Error 1

Core was generated by `/usr/bin/ld -plugin
/usr/lib/gcc/i686-pc-linux-gnu/8.1.0/ -plug'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0xb7e70916 in bfd_getl32 (p=0x120c8658) at
561       return v;
(gdb) bt
#0  0xb7e70916 in bfd_getl32 (p=0x120c8658) at
#1  0xb7e90ecc in bfd_elf32_swap_symbol_in (abfd=0x20c0f40, psrc=0x120c8658,
pshn=0x0, dst=0xbfc60d40)
    at /root/binutils/src/binutils-2.30/bfd/elfcode.h:183
#2  0xb7e84383 in elf_i386_reloc_type_class (info=0x5cf0a0 <link_info>,
    rela=0x218346c) at /root/binutils/src/binutils-2.30/bfd/elf32-i386.c:3965
#3  0xb7ebed3f in elf_link_sort_relocs (psec=<synthetic pointer>, info=0x5cf0a0
    abfd=0x20c0f40) at /root/binutils/src/binutils-2.30/bfd/elflink.c:9124
#4  bfd_elf_final_link () at
#5  0x0043a130 in ldwrite () at
#6  0x0042013f in main (argc=<optimized out>, argv=<optimized out>)
    at /root/binutils/src/binutils-2.30/ld/ldmain.c:448

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

Reply via email to