[Bug gold/23607] gold linker --threads --thread-count,2 causes ld segmentation fault

2020-06-03 Thread rijard.barnes at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23607 --- Comment #6 from Richard --- I've made a repo with a Makefile that reproduces the bug here: https://github.com/r-barnes/gold_segfault_reproducer The program I'm trying to compile is a simple "Hello, World!". The compilation string is: cl

[Bug gold/23607] gold linker --threads --thread-count,2 causes ld segmentation fault

2020-06-03 Thread rijard.barnes at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23607 --- Comment #5 from Richard --- I've made a repo with a Makefile that reproduces the bug here: https://github.com/r-barnes/gold_segfault_reproducer The program I'm trying to compile is a simple "Hello, World!". The compilation string is: cl

[Bug gold/23607] gold linker --threads --thread-count,2 causes ld segmentation fault

2020-06-03 Thread rijard.barnes at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23607 --- Comment #4 from Richard --- A traceback with `gdb` gives: ``` #0 0x73879f40 in llvm::PMTopLevelManager::addImmutablePass(llvm::ImmutablePass*) () from /usr/lib/llvm-10/bin/../lib/../lib/libLLVM-10.so.1 #1 0x7387991f i

[Bug gold/23607] gold linker --threads --thread-count,2 causes ld segmentation fault

2020-06-03 Thread rijard.barnes at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23607 Richard changed: What|Removed |Added CC||rijard.barnes at gmail dot com --- Comment