https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106820
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code --- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Mark Millard from comment #1) > I've now tried this on fedora 36 with copies of the source code > and got no failure in the fedora context. That will be because we no longer use weak symbols for pthreads when linking to glibc 2.34 or later (as found in recent Fedora releases). I think I should be able to reproduce this on linux with an older glibc, or with libstdc++ modified to use weak symbols again. Trying that now ...