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(-)
5 config BINUTILS_VERSION
10 prompt "binutils version"
12 config BINUTILS_V_2_14
14 prompt "2.14 (OBSOLETE)"
17 config BINUTILS_V_2_15
19 prompt "2.15 (OBSOLETE)"
22 config BINUTILS_V_2_16_1
26 config BINUTILS_V_2_17
30 config BINUTILS_V_2_18
34 config BINUTILS_V_2_18_50_0_4
36 prompt "2.18.50.0.4 (EXPERIMENTAL)"
37 depends on EXPERIMENTAL
39 config BINUTILS_V_2_18_50_0_6
41 prompt "2.18.50.0.6 (EXPERIMENTAL)"
42 depends on EXPERIMENTAL
44 config BINUTILS_V_2_18_50_0_7
46 prompt "2.18.50.0.7 (EXPERIMENTAL)"
47 depends on EXPERIMENTAL
49 config BINUTILS_V_2_18_50_0_8
51 prompt "2.18.50.0.8 (EXPERIMENTAL)"
52 depends on EXPERIMENTAL
54 config BINUTILS_V_2_18_50_0_9
56 prompt "2.18.50.0.9 (EXPERIMENTAL)"
57 depends on EXPERIMENTAL
59 # CT_INSERT_VERSION_ABOVE
60 # Don't remove above line!
63 config BINUTILS_VERSION
65 default "2.14" if BINUTILS_V_2_14
66 default "2.15" if BINUTILS_V_2_15
67 default "2.16.1" if BINUTILS_V_2_16_1
68 default "2.17" if BINUTILS_V_2_17
69 default "2.18" if BINUTILS_V_2_18
70 default "2.18.50.0.4" if BINUTILS_V_2_18_50_0_4
71 default "2.18.50.0.6" if BINUTILS_V_2_18_50_0_6
72 default "2.18.50.0.7" if BINUTILS_V_2_18_50_0_7
73 default "2.18.50.0.8" if BINUTILS_V_2_18_50_0_8
74 default "2.18.50.0.9" if BINUTILS_V_2_18_50_0_9
75 # CT_INSERT_VERSION_STRING_ABOVE
76 # Don't remove above line!
78 config BINUTILS_EXTRA_CONFIG
80 prompt "binutils extra config"
83 Extra flags passed onto ./configure when configuring
85 config BINUTILS_FOR_TARGET
87 prompt "binutils libraries for the target"
88 depends on ! BARE_METAL
91 Some utilities may need binutils libraries to be available on
92 the target, eg. oprofile.
94 if BINUTILS_FOR_TARGET
96 config BINUTILS_FOR_TARGET_IBERTY
101 config BINUTILS_FOR_TARGET_BFD
106 endif # BINUTILS_FOR_TARGET