Created attachment 38026 [details] call_once_bug.cpp The attached code will hang on the second call to std::call_once.
i think this is the same as 66146, i'll add an update comment there. *** This bug has been marked as a duplicate of bug 66146 ***
PR66146 is non-x86, whereas this fails on x86 too. It's possibly related though.
Or more accurately, non-(x86-*-gnu), since x86 with musl libc has the same problem as non-x86 glibc.