bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/26918] s390x: ld segfaults when htab->elf.sgot is NULL


From: hjl.tools at gmail dot com
Subject: [Bug ld/26918] s390x: ld segfaults when htab->elf.sgot is NULL
Date: Sat, 21 Nov 2020 02:27:25 +0000

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |---
             Status|RESOLVED                    |REOPENED

--- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> ---
The fix caused glibc build failure:

Program received signal SIGSEGV, Segmentation fault.
0x0000000000445955 in elf_s390_finish_dynamic_sections (output_bfd=0x5b45a0, 
    info=0x597c20 <link_info>)
    at /export/gnu/import/git/sources/binutils-gdb/bfd/elf64-s390.c:3550
3550          if (elf_section_data (htab->elf.splt->output_section) != NULL)
Missing separate debuginfos, use: dnf debuginfo-install
zlib-1.2.11-22.0.fc33.x86_64
(gdb) bt
#0  0x0000000000445955 in elf_s390_finish_dynamic_sections (
    output_bfd=0x5b45a0, info=0x597c20 <link_info>)
    at /export/gnu/import/git/sources/binutils-gdb/bfd/elf64-s390.c:3550
#1  0x0000000000473389 in bfd_elf_final_link (abfd=<optimized out>, 
    info=<optimized out>)
    at /export/gnu/import/git/sources/binutils-gdb/bfd/elflink.c:13173
#2  0x000000000041ccd4 in ldwrite ()
    at /export/gnu/import/git/sources/binutils-gdb/ld/ldwrite.c:545
#3  0x0000000000404979 in main (argc=<optimized out>, argv=<optimized out>)
    at /export/gnu/import/git/sources/binutils-gdb/ld/ldmain.c:512
(gdb) p htab->elf.splt
$1 = (asection *) 0x0
(gdb)

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