https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114065
--- Comment #45 from John David Anglin <danglin at gcc dot gnu.org> --- I had a successful build and check with the v18 patch on hppa-linux. v15 is currently installed in Debian gcc-15. It has problems. It causes hangs and timeouts in various tests. The pthread_cond_timedwait call in the Timed_Sleep procedure can return EINVAL when the tv_nsec value in abstime is invalid. This return value isn't handled by Timed_Sleep and we get an infinite loop. I'm currently testing v18 patch with Debian gcc-15-15.1.0.