[Bug gold/23646] gold segfault when using --threads
https://sourceware.org/bugzilla/show_bug.cgi?id=23646 --- Comment #7 from Jean-Michaël Celerier --- Created attachment 11634 --> https://sourceware.org/bugzilla/attachment.cgi?id=11634&action=edit Requested recordings Here are the recordings, I did one without threads (which does not crash) and one with 2 threads (which crashes) -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/23646] gold segfault when using --threads
https://sourceware.org/bugzilla/show_bug.cgi?id=23646 --- Comment #6 from Cary Coutant --- Can I trouble you to add -Wl,--debug=plugin and upload a tar of the resulting directory? You may need to run that without threads to get complete debug output, but that may help me reproduce it here. -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/23646] gold segfault when using --threads
https://sourceware.org/bugzilla/show_bug.cgi?id=23646 --- Comment #5 from Jean-Michaël Celerier --- Still crashes for me with the same binutils version. It works without LTO. I use g++ 8.2.1 -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/23646] gold segfault when using --threads
https://sourceware.org/bugzilla/show_bug.cgi?id=23646 Cary Coutant changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed||2019-02-20 Ever confirmed|0 |1 -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/23646] gold segfault when using --threads
https://sourceware.org/bugzilla/show_bug.cgi?id=23646 --- Comment #4 from Cary Coutant --- Sorry, I can't reproduce the crash. I had to add -fpic to the compile command in order to link without errors. Either way, gold did not segfault. I've tried with various values for --thread-count. Can you reproduce without LTO? Can you get a stack trace from the point of the segfault? -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/23646] gold segfault when using --threads
https://sourceware.org/bugzilla/show_bug.cgi?id=23646 --- Comment #3 from Jean-Michaël Celerier --- also, if it can be useful : gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --enable-multilib --disable-werror --enable-checking=release --enable-default-pie --enable-default-ssp --enable-cet=auto Thread model: posix gcc version 8.2.1 20180831 (GCC) -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/23646] gold segfault when using --threads
https://sourceware.org/bugzilla/show_bug.cgi?id=23646 --- Comment #2 from Jean-Michaël Celerier --- I added a source file where I removed all the code until I didn't get the segfault anymore. The culprit (code-wise) is the last line (line 67158): template T handle::cast() const { return pybind11::cast(*this); } -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/23646] gold segfault when using --threads
https://sourceware.org/bugzilla/show_bug.cgi?id=23646 --- Comment #1 from Jean-Michaël Celerier --- Created attachment 11240 --> https://sourceware.org/bugzilla/attachment.cgi?id=11240&action=edit better source file -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils