https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62023
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> --- (In reply to Jonathan Wakely from comment #1) > Which means the __gthread_active_p() function in libgcc/gthr-posix.h is > returning false Looks like there's a Solaris-specific version of __gthread_active_p, but I can't think why marking it as DECL_COMDAT would break things. Let me know what you find.