[Bug go/56431] -lpthread should be added to -lgo
ro at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Dec 10 12:49:00 GMT 2018
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.
More information about the Gcc-bugs
mailing list