https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115907
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED --- Comment #47 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Apple provides different sysroots for each (major) version of their OS to solve this issue. This is NOT a GCC issue nor this is a glibc issue. You can buld gcc against majority of old sysroot just fine. I have built against the trunk of gcc against a centos 6 sysroot before (actually I have built on the trunk after it started to require C++11 on a centos 6 machine too).