Bart De VOS pointed out that removing absolute paths from the libc linker scripts is plainly wrong.
It dates from dawn ages of the original crosstool code, and is not well explained. At that time, binutils might not understand the sysroot stuff, and it was necessary to remove absolute paths in that case.
/trunk/scripts/build/libc/glibc.sh | 14 2 12 0 ++------------
1 file changed, 2 insertions(+), 12 deletions(-)
11 # CT_INSERT_VERSION_ABOVE
12 # Don't remove above line!
17 default "4.2.2" if GMP_V_4_2_2
18 # CT_INSERT_VERSION_STRING_ABOVE
19 # Don't remove above line!
26 It is highly recommended that 'make check' is run against the newly built
27 GMP library. See http://gmplib.org/