[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/27869] New: gold lto link corrupt with segmentation fault [sig
From: |
chen.yunxing at me dot com |
Subject: |
[Bug gold/27869] New: gold lto link corrupt with segmentation fault [signal 11] |
Date: |
Sat, 15 May 2021 13:45:36 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=27869
Bug ID: 27869
Summary: gold lto link corrupt with segmentation fault [signal
11]
Product: binutils
Version: 2.36.1
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: gold
Assignee: ccoutant at gmail dot com
Reporter: chen.yunxing at me dot com
CC: ian at airs dot com
Target Milestone: ---
I use gold with gcc 9.3 do lto link;
and int lto-trans phase; failed with message:
collect2: fatal error: ld terminated with signal 11 [segmentation fault]
GCC:
Using built-in specs.
COLLECT_GCC=/usr/local/gcc-9.3.0/bin/gcc
COLLECT_LTO_WRAPPER=/usr/local/gcc-9.3.0/bin/../libexec/gcc/x86_64-pc-linux-gnu/9.3.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../gcc-9.3.0/configure --disable-multilib
--enable-languages=c,c++ --enable-checking=release
--prefix=/home/admin/145_20200908214936062_162609878_code/rpm_workspace/rpm/.rpm_create/BUILD//usr/local/gcc-9.3.0
Thread model: posix
gcc version 9.3.0 (GCC)
the core information:
[New LWP 47177]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/local/bin/ld.gold -plugin
/usr/local/gcc-9.3.0/bin/../libexec/gcc/x86_64-p'.
Program terminated with signal 11, Segmentation fault.
#0 0x0000000000625d83 in std::vector<std::pair<unsigned int, unsigned int>,
std::allocator<std::pair<unsigned int, unsigned int> >
>::emplace_back<std::pair<unsigned int, unsigned int> >(std::pair<unsigned int,
unsigned int>&&) (this=this@entry=0x38)
at /usr/include/c++/9/bits/vector.tcc:109
109 vector<_Tp, _Alloc>::
Missing separate debuginfos, use: debuginfo-install
glibc-2.17-260.alios7.x86_64 libgcc-9.2.1-3.2.alios7.x86_64
libstdc++-9.2.1-3.2.alios7.x86_64 ob-gcc93-9.3.0-20200909104444.alios7.x86_64
(gdb) bt
#0 0x0000000000625d83 in std::vector<std::pair<unsigned int, unsigned int>,
std::allocator<std::pair<unsigned int, unsigned int> >
>::emplace_back<std::pair<unsigned int, unsigned int> >(std::pair<unsigned int,
unsigned int>&&) (this=this@entry=0x38)
at /usr/include/c++/9/bits/vector.tcc:109
#1 0x0000000000711b9d in push_back (__x=<unknown type in
/home/yunxing.cyx/binutils-2.36.1/gold/ld-new, CU 0x2f3f553, DIE 0x3052068>,
this=0x38) at /usr/include/c++/9/bits/stl_vector.h:1200
#2 add (shndx=<optimized out>, symndx=<optimized out>, this=0x0) at
output.h:2939
#3 gold::Symbol_table::sized_write_globals<64, false> (this=0x7fff256bfd40,
sympool=0x7fff256c00a0, dynpool=0x7fff256c0130,
symtab_xindex=0xf980e990, dynsym_xindex=0x0, of=<optimized out>) at
symtab.cc:3196
#4 0x0000000000724aa0 in gold::Workqueue::find_and_run_task(int) () at
token.h:290
#5 0x0000000000724cca in gold::Workqueue::process
(this=this@entry=0x7fff256bf9e0, thread_number=thread_number@entry=0) at
workqueue.cc:495
#6 0x0000000000413e67 in main () at main.cc:252
#7 0x00007fd26cbeb445 in __libc_start_main () from /lib64/libc.so.6
#8 0x0000000000415331 in _start () at errors.h:97
(gdb)
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gold/27869] New: gold lto link corrupt with segmentation fault [signal 11],
chen.yunxing at me dot com <=