https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103985
--- Comment #3 from anlauf at gcc dot gnu.org --- Can you try gcc-11 or gcc-12? There were some fixes for asynchronous I/O (pr100352) touching the locking mechanism.
anlauf at gcc dot gnu.org via Gcc-bugs Wed, 12 Jan 2022 03:08:26 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103985
--- Comment #3 from anlauf at gcc dot gnu.org --- Can you try gcc-11 or gcc-12? There were some fixes for asynchronous I/O (pr100352) touching the locking mechanism.