https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39176
--- Comment #13 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to H.J. Lu from comment #11) > fixed static C++ pthread programs. libgfortran neeeds a similar fix. libgcc needs the fix instead. Maybe libgomp, maybe libobjc. But this is tracked in the other bug.