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(-)
7 depends on ! BARE_METAL
13 prompt "strace version"
17 prompt "4.5 (OBSOLETE)"
20 config STRACE_V_4_5_14
22 prompt "4.5.14 (OBSOLETE)"
25 config STRACE_V_4_5_15
29 config STRACE_V_4_5_16
33 # CT_INSERT_VERSION_ABOVE
34 # Don't remove above line!
39 default "4.5" if STRACE_V_4_5
40 default "4.5.14" if STRACE_V_4_5_14
41 default "4.5.15" if STRACE_V_4_5_15
42 default "4.5.16" if STRACE_V_4_5_16
43 # CT_INSERT_VERSION_STRING_ABOVE
44 # # Don't remove above line!