https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109074
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|MOVED |INVALID
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Actually there is no bug here. With older versions of glibc, you need to link
against libpthread to get threads in general. This is true with any version of
gcc.
