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(-)
1 # x86_64 specific options
4 select ARCH_SUPPORT_ARCH
5 select ARCH_SUPPORT_CPU
6 select ARCH_SUPPORT_TUNE
8 The x86_64 architecture, as defined by:
9 http://www.amd.com/us-en/Processors/DevelopWithAMD/0,,30_2252_875_7044,00.html