[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/24276] New: [2.31/2.32 Regression] segfault in elf_x86_64_check_
From: |
doko at debian dot org |
Subject: |
[Bug ld/24276] New: [2.31/2.32 Regression] segfault in elf_x86_64_check_relocs |
Date: |
Wed, 27 Feb 2019 10:16:06 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=24276
Bug ID: 24276
Summary: [2.31/2.32 Regression] segfault in
elf_x86_64_check_relocs
Product: binutils
Version: 2.31
Status: NEW
Severity: normal
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: doko at debian dot org
Target Milestone: ---
[forwarded from https://bugs.debian.org/923246]
seen building pacemaker on x86_64-linux-gnu, on the 2.31 and 2.32 branches.
The bug submitter claims that 2.31 20181214 was working ok.
ld --eh-frame-hdr -m elf_x86_64 --hash-style=gnu -shared -o
libpe_rules.so.26.0.1 crti.o crtbeginS.o -L. libpe_rules_la-rules.o
libpe_rules_la-rules_alerts.o libpe_rules_la-common.o --as-needed
libcrmcommon.so -lgnutls libplumb.so libpils.so -lqb -lbz2 -lxslt -luuid -lpam
-lrt -ldl -lglib-2.0 -lxml2 -z relro -z now -z relro -z now -z defs -soname
libpe_rules.so.26 -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc
--push-state --as-needed -lgcc_s --pop-state crtendS.o crtn.o
ld: warning: ./libqb.so contains output sections; did you forget -T?
Segmentation fault (core dumped)
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7ee6035 in elf_x86_64_check_relocs (relocs=<optimized out>,
sec=<optimized out>, info=<optimized out>, abfd=0x555555747370)
at ../../bfd/elf64-x86-64.c:1638
1638 ../../bfd/elf64-x86-64.c: No such file or directory.
(gdb) bt
#0 0x00007ffff7ee6035 in elf_x86_64_check_relocs (relocs=<optimized out>,
sec=<optimized out>, info=<optimized out>,
abfd=0x555555747370) at ../../bfd/elf64-x86-64.c:1638
#1 elf_x86_64_check_relocs (abfd=0x555555747370, info=<optimized out>,
sec=<optimized out>, relocs=<optimized out>)
at ../../bfd/elf64-x86-64.c:1797
#2 0x00007ffff7f098c3 in _bfd_elf_link_check_relocs (abfd=0x555555747370,
info=0x555555709f20) at ../../bfd/elflink.c:3849
#3 0x000055555557537b in ?? ()
#4 0x0000555555562426 in ?? ()
#5 0x00007ffff7ac209b in __libc_start_main (main=0x555555561e00, argc=53,
argv=0x7fffffffe228, init=<optimized out>,
fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe218)
at ../csu/libc-start.c:308
#6 0x0000555555562aca in ?? ()
gold errors as well:
ld.gold: error: ./libqb.so: SECTIONS seen after other input files; try
-T/--script
ld.gold: internal error in write_sections, at ../../gold/reloc.cc:791
test case at
https://people.debian.org/~doko/tmp/binutils-tst.tar.xz
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/24276] New: [2.31/2.32 Regression] segfault in elf_x86_64_check_relocs,
doko at debian dot org <=
- [Bug ld/24276] [2.31/2.32 Regression] segfault in elf_x86_64_check_relocs, doko at debian dot org, 2019/02/27
- [Bug ld/24276] [2.31/2.32 Regression] segfault in elf_x86_64_check_relocs, nickc at redhat dot com, 2019/02/27
- [Bug ld/24276] [2.31/2.32 Regression] segfault in elf_x86_64_check_relocs, doko at debian dot org, 2019/02/27
- [Bug ld/24276] [2.31/2.32 Regression] segfault in elf_x86_64_check_relocs, hjl.tools at gmail dot com, 2019/02/27
- [Bug ld/24276] [2.31/2.32 Regression] segfault in elf_x86_64_check_relocs, hjl.tools at gmail dot com, 2019/02/27
- [Bug ld/24276] [2.31/2.32 Regression] segfault in elf_x86_64_check_relocs, doko at debian dot org, 2019/02/27
- [Bug ld/24276] [2.31/2.32 Regression] segfault in elf_x86_64_check_relocs, hjl.tools at gmail dot com, 2019/02/27
- [Bug ld/24276] [2.31/2.32 Regression] segfault in elf_x86_64_check_relocs, wferi at niif dot hu, 2019/02/27
- [Bug ld/24276] [2.31/2.32 Regression] segfault in elf_x86_64_check_relocs, hjl.tools at gmail dot com, 2019/02/27
- [Bug ld/24276] [2.31/2.32 Regression] segfault in elf_x86_64_check_relocs, cvs-commit at gcc dot gnu.org, 2019/02/27