https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56431
Rainer Orth <ro at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ro at gcc dot gnu.org --- Comment #7 from Rainer Orth <ro at gcc dot gnu.org> --- I'm seeing the same link error on Linux/x86_64 on mainline when configured with --disable-shared: /vol/gcc/bin/gld-2.31: /var/gcc/regression/trunk/4.17.3-gcc-gas-gld/build/./gcc/libgcc.a(generic-morestack.o): in function `__morestack_block_signals': /vol/gcc/src/hg/trunk/local/libgcc/generic-morestack.c:661: undefined reference to `pthread_sigmask' linking e.g. test2json.