GCC and (E)GLIBC compatibility matrix for Gentoo Prefix
gcc/glibc
2.2
2.3
2.5
2.9
4.1
o
4.2
o
o
4.3
x
x(3)
4.4
x
x(1)
x(2)
o
4.5
o
x(2)*
stat64 redef
gets redef
cpp_GCC_INCLUDE_DIR undef stage2
*: this error is verified to be removed by excluding the fortify patch for gcc, by passing GENTOO_PATCH_EXCLUDE="10_all_gcc-default-fortify-source.patch" when emerge.