Hi guys,
I am using for the first time the gold linker and it often crashes at linking with a segmentation fault if I try to use multiple threads when doing the linking.
There are multiple files compiled with some optimization flags. The linking works fine if I use --thread-count,1 or if I don't specify any linker flags regarding multiple threads.
I have opened an issue on the gold component of binutils
https://sourceware.org/bugzilla/show_bug.cgi?id=23607 but maybe an email will be helpful as well. The issue also contains a link to an example with a docker container running the gcc 8.2 and the latest binutils 2.31.1. There are also some bash scripts to build the docker images and to compile and link the test project.
Can you please have a look at it?
Thanks a million.