https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87189

--- Comment #6 from Paul Pluzhnikov <ppluzhnikov at google dot com> ---
(In reply to Jakub Jelinek from comment #5)

> Because it is very expensive.

One impractical solution is to require '-pthread' on the compile and link line,
and link a libgcc_mt that has non-weak references to pthread_* functions.

This will force end users to finally build their programs with correct command
line :-)

Reply via email to