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 # dmalloc debug facility
7 depends on ! BARE_METAL
13 prompt "dmalloc version"
15 config DMALLOC_V_5_4_3
17 prompt "5.4.3 (OBSOLETE)"
20 config DMALLOC_V_5_5_2
24 # CT_INSERT_VERSION_ABOVE
25 # Don't remove above line!
28 config DMALLOC_VERSION
30 default "5.4.3" if DMALLOC_V_5_4_3
31 default "5.5.2" if DMALLOC_V_5_5_2
32 # CT_INSERT_VERSION_STRING_ABOVE
33 # Don't remove above line!