bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/23194] New: Building glibc 2.27 on 32-bit Intel with binutils 2.


From: mail at andreasbaumann dot cc
Subject: [Bug ld/23194] New: Building glibc 2.27 on 32-bit Intel with binutils 2.30 segfaults in elf subdir
Date: Thu, 17 May 2018 11:32:21 +0000

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

            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/ld.so.new              \
          -Wl,-z,combreloc -Wl,-z,relro -Wl,--hash-style=both -Wl,-z,defs
-Wl,-z,now    \
          /root/glibc/src/glibc-build/elf/librtld.os
-Wl,--version-script=/root/glibc/src/glibc-build/ld.map             \
          -Wl,-soname=ld-linux.so.2                     \
          -Wl,-defsym=_begin=0
collect2: fatal error: ld terminated with signal 11 [Segmentation fault], core
dumped
compilation terminated.
make[2]: *** [Makefile:478: /root/glibc/src/glibc-build/elf/ld.so] Error 1


Core was generated by `/usr/bin/ld -plugin
/usr/lib/gcc/i686-pc-linux-gnu/8.1.0/liblto_plugin.so -plug'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0xb7e70916 in bfd_getl32 (p=0x120c8658) at
/root/binutils/src/binutils-2.30/bfd/libbfd.c:561
561       return v;
(gdb) bt
#0  0xb7e70916 in bfd_getl32 (p=0x120c8658) at
/root/binutils/src/binutils-2.30/bfd/libbfd.c:561
#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>,
rel_sec=0x20d4264,
    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
<link_info>,
    abfd=0x20c0f40) at /root/binutils/src/binutils-2.30/bfd/elflink.c:9124
#4  bfd_elf_final_link () at
/root/binutils/src/binutils-2.30/bfd/elflink.c:12315
#5  0x0043a130 in ldwrite () at
/root/binutils/src/binutils-2.30/ld/ldwrite.c:581
#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.


reply via email to

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