https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109540

--- Comment #10 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Ah, it works for C++ because of r12-5108-g80fe172ba98201

With a recent glibc __gthread_cond_timedwait just calls pthread_cond_timedwait
directly, so use correctly redirected to __pthread_cond_timedwait64.

If you have glibc 2.34 then you can use -DGTHREAD_USE_WEAK=0 to disable the
weak refs in gthr-posix.h

Reply via email to