10.8. EGLIBC-2.18 64-Bit   10.8.1. Installation of Glibc  At the
end of the installation, the build system will run a sanity test
to make sure everything installed properly. This script will
attempt to test for a library that is only used in the test
suite and is never installed. Prevent the script from testing
for this library with the following command:  sed -i 's/\(&&
$name ne\) "db1"/ & \1 "nss_test1"/' scripts/test-
installation.pl  This same script performs its tests by
attempting to compile test programs against certain libraries.
However it does not specify the ld.so, and our toolchain is
still configured to use the one in /tools. The following set of
commands will force the script to use the complete path of the
new ld.so that was just installed:  LINKER=$(readelf -l
/tools/bin/bash | sed -n 's@.*interpret.*/tools\(.*\)]$@\1@p')
sed -i "s|libs -o|libs -L/usr/lib64 -Wl,-dynamic-
linker=${LINKER} -o|" \ unset LINKER  The EGLIBC build system is
self-contained and will install perfectly, even though the co