libgomp (like all other target libraries in GCC) should not be calling pthread functions directly but instead using the gthr-* files in gcc.
This makes libgomp more portable. -- Summary: libgomp call pthread functions directly Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libgomp AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pinskia at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25883