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(-)
10 ltrace is currently BROKEN! It depends on libelf, and I don't
11 know how to configure/compile that so that ltrace can successfully
12 use it. I you manage to build ltrace (and libelf!), please be so
13 kind as to tell me! Thank you!
19 prompt "ltrace version"
21 config LTRACE_V_0_3_36
23 prompt "0.3.36 (OBSOLETE)"
30 # CT_INSERT_VERSION_ABOVE
31 # Don't remove above line!
36 default "0.3.36" if LTRACE_V_0_3_36
37 default "0.4" if LTRACE_V_0_4
38 # CT_INSERT_VERSION_STRING_ABOVE
39 # # Don't remove above line!