https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58929
Victor Mataré <mat...@fh-aachen.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mat...@fh-aachen.de --- Comment #8 from Victor Mataré <mat...@fh-aachen.de> --- This has just caused me major headache because the behavior is completely unexpected. The root problem to me seems to be that pthread_cond_wait is defined not just in libphread, but also in libc: # objdump -TC /lib/libc.so.6 | grep cond_wait 0014a570 g DF .text 00000033 (GLIBC_2.0) pthread_cond_wait 0007f5c0 g DF .text 00000033 GLIBC_2.3.2 pthread_cond_wait Why is that even in there? And if I apparently end up calling this implementation, why doesn't block the way it should?