[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/27182] New: gold: sporadic crashes when threads are enabled
From: |
jeanmichael.celerier at gmail dot com |
Subject: |
[Bug gold/27182] New: gold: sporadic crashes when threads are enabled |
Date: |
Thu, 14 Jan 2021 11:23:34 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=27182
Bug ID: 27182
Summary: gold: sporadic crashes when threads are enabled
Product: binutils
Version: 2.35.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gold
Assignee: ccoutant at gmail dot com
Reporter: jeanmichael.celerier at gmail dot com
CC: ian at airs dot com
Target Milestone: ---
Hello,
here is the situation:
$ pwd
/home/jcelerier/perso/build-static/tests/static/foo=bar/CMakeFiles/CMakeTmp
$ cat
/home/jcelerier/perso/build-static/tests/static/foo=bar/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
#ifndef __cplusplus
# error "The CMAKE_CXX_COMPILER is set to a C compiler"
#endif
int main(){return 0;}
$ # compiling: ok
$ /usr/bin/c++ -o CMakeFiles/cmTC_b634c.dir/testCXXCompiler.cxx.o -c
/home/jcelerier/perso/build-static/tests/static/foo=bar/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
$ # linking:
$ /usr/bin/c++ -fuse-ld=gold -Wl,--threads -Wl,--gdb-index
CMakeFiles/cmTC_b634c.dir/testCXXCompiler.cxx.o -o cmTC_b634c
gives me the following various errors:
=====
tcache_thread_shutdown(): unaligned tcache chunk detected
double free or corruption (out)
collect2: fatal error: ld terminated with signal 11 [Segmentation fault], core
dumped
compilation terminated.
=====
/usr/bin/ld.gold : internal error in ~File_view, at position
/build/binutils/src/binutils-gdb/gold/fileread.cc : 868
=====
double free or corruption (out)
collect2: fatal error: ld terminated with signal 11 [Segmentation fault], core
dumped
compilation terminated.
=====
collect2: fatal error: ld terminated with signal 11 [Segmentation fault], core
dumped
compilation terminated.
etc... randomly. It compiles once every 10 times roughly.
I am on archlinux.
I am under the impression that this is due to the path containing uncommon
characters ? (dots, '=')
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gold/27182] New: gold: sporadic crashes when threads are enabled,
jeanmichael.celerier at gmail dot com <=