https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108658
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Try compiling with -pthread too? Otherwise the instrumentation code assumes it is single threaded.
pinskia at gcc dot gnu.org via Gcc-bugs Fri, 03 Feb 2023 07:23:07 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108658
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Try compiling with -pthread too? Otherwise the instrumentation code assumes it is single threaded.