https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97649
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Was this a --disable-linux-futex build or not? I believe TSAN at least in the past didn't understand well the futex synchronization libgomp does on linux.