This means using a compiler that was released around the same time as the older version of glibc.
[ ok ] * glibc-ports-2.15xz SHA256 SHA512 WHIRLPOOL size ;-) ... You need to * rebuild all the packages that provide these files first: * //bin/busybox * //sbin/lvm.static * //sbin/dmsetup.static * //sbin/dmeventd.static * //usr/bin/diet * //usr/bin/dnsd * //usr/bin/elftrunc * //usr/sbin/vdu * //usr/sbin/vps * //usr/sbin/vtag * //usr/sbin/nattribute * //usr/sbin/vattribute * //usr/sbin/chxid * //usr/sbin/lsxid * //usr/sbin/showattr * //usr/sbin/vkill * //usr/sbin/vwait * //usr/sbin/vcontext * //usr/sbin/setattr * //usr/sbin/ncontext * //usr/sbin/exec-cd * //usr/sbin/vmemctrl * //usr/sbin/reducecap * //usr/sbin/vdevmap * //usr/sbin/vdlimit * //usr/sbin/vlimit * //usr/sbin/vsched * //usr/sbin/vspace * //usr/sbin/vuname * //usr/sbin/vserver-info * //usr/sbin/vserver-stat * //usr/sbin/vrsetup * //usr/sbin/naddress * //usr/lib64/0 * ERROR: sys-libs/glibc-2.15-r3 failed (setup phase): * old __guard detected * * Call stack: * ebuild.sh, line 93: Called pkg_setup * glibc-2.15-r3.ebuild, line 175: Called eblit-run 'pkg_setup' * glibc-2.15-r3.ebuild, line 161: Called eblit-glibc-pkg_setup * pkg_setup.eblit, line 119: Called die * The specific snippet of code: * die "old __guard detected" * * If you need support, post the output of `emerge --info '=sys-libs/glibc-2.15-r3'`, * the complete build log and the output of `emerge -pqv '=sys-libs/glibc-2.15-r3'`.
If you are worried that libtool was not rebuilt, execute the following command to reinstall it: Some people argue that this is necessary to rebuild the whole system (even twice) after a toolchain upgrade.
This is never necessary, but users who changed their CFLAGS or CXXFLAGS due to a new available arch or optimization flag are welcome to do so, if they want.
As such, to prepare for that opportunity, I feel that the following commands should be run, when updating to the new compiler: The first pass through system builds the new compiler, and it's dependencies, with the old compiler.
The second pass through system rebuilds the new compiler and it's dependencies with the new compiler.