https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110210
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |MOVED Status|UNCONFIRMED |RESOLVED --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Gcc does not provide these functions. They are provided by the libc that gcc links to. In the case of Linux, it is most likely glibc but it could be musl or uclibc .