https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108235
--- Comment #4 from John David Anglin <danglin at gcc dot gnu.org> --- Working on a patch to add support for sync libfuncs. Downside is one needs to add -fno-sync-libcalls to generate calls for libatomic. I think the HP implementations of pthread_mutex_lock and pthread_mutex_unlock in libpthread are better than what I will do for the sync routines. That's why I haven't implemented the sync routines before. Is there an alternative?