This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/52922] failed to build gcc 4.7 on SL6.1


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52922

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-04-10 07:52:39 UTC ---
This implies the /usr/local/bin/gcc compiler you're using was not built on
SL6.1, or was built against an older glibc

I've had exactly this error when trying to use a compiler built on CentOS5 on
CentOS6 - the fixincluded headers assume an older glibc

Try installing gcc from SL RPMs via yum and ensuring that is earlier in your
path than /usr/local/bin/gcc


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]