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(-)
3 comment "uClibc specific options"
7 prompt "uClibc version"
11 prompt "0.9.28 (OBSOLETE)"
14 config LIBC_V_0_9_28_1
16 prompt "0.9.28.1 (OBSOLETE)"
19 config LIBC_V_0_9_28_2
21 prompt "0.9.28.2 (OBSOLETE)"
24 config LIBC_V_0_9_28_3
32 # CT_INSERT_VERSION_ABOVE
33 # Don't remove above line!
35 config LIBC_V_snapshot
37 prompt "latest snapshot (EXPERIMENTAL)"
38 depends on EXPERIMENTAL
40 config LIBC_V_specific_date
42 prompt "<specific date> (EXPERIMENTAL)"
43 depends on EXPERIMENTAL
49 prompt "Enter date (YYYYMMDD)" if LIBC_V_specific_date
50 default "snapshot" if LIBC_V_snapshot
51 default "0.9.28" if LIBC_V_0_9_28
52 default "0.9.28.1" if LIBC_V_0_9_28_1
53 default "0.9.28.2" if LIBC_V_0_9_28_2
54 default "0.9.28.3" if LIBC_V_0_9_28_3
55 default "0.9.29" if LIBC_V_0_9_29
56 # CT_INSERT_VERSION_STRING_ABOVE
57 # Don't remove above line!
61 prompt "uClibc verbosity:"
62 default LIBC_UCLIBC_VERBOSITY_0
64 config LIBC_UCLIBC_VERBOSITY_0
68 Print simplified command lines.
70 config LIBC_UCLIBC_VERBOSITY_1
72 prompt "Full commands"
74 Print full command lines.
78 config LIBC_UCLIBC_VERBOSITY
80 default "" if LIBC_UCLIBC_VERBOSITY_0
81 default "V=1" if LIBC_UCLIBC_VERBOSITY_1
86 default LIBC_UCLIBC_DEBUG_LEVEL_0
88 config LIBC_UCLIBC_DEBUG_LEVEL_0
92 config LIBC_UCLIBC_DEBUG_LEVEL_1
96 config LIBC_UCLIBC_DEBUG_LEVEL_2
102 config LIBC_UCLIBC_DEBUG_LEVEL
104 default 0 if LIBC_UCLIBC_DEBUG_LEVEL_0
105 default 1 if LIBC_UCLIBC_DEBUG_LEVEL_1
106 default 2 if LIBC_UCLIBC_DEBUG_LEVEL_2
108 config LIBC_UCLIBC_CONFIG_FILE
110 prompt "Configuration file"
113 Path to the configuration file.
115 You _must_ provide one (for now).
117 config LIBC_UCLIBC_LOCALES
119 prompt "Add support for locales"
122 Say y if you want uClibc to support localisation.
124 Note that seems to be broken on recent uClibc releases.