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(-)
2 # Automatically generated make config: don't edit
3 # crosstool-NG version: 1.2.0+svn_trunk@976
4 # Thu Sep 4 17:44:53 2008
8 # Paths and misc options
12 # crosstool-NG behavior
14 # CT_OBSOLETE is not set
15 # CT_EXPERIMENTAL is not set
16 # CT_DEBUG_CT is not set
21 CT_LOCAL_TARBALLS_DIR="${HOME}/src"
23 CT_WORK_DIR="${CT_TOP_DIR}/targets"
24 CT_PREFIX_DIR="${HOME}/x-tools/${CT_TARGET}"
25 CT_INSTALL_DIR="${CT_PREFIX_DIR}"
26 # CT_CUSTOM_PATCH is not set
33 # CT_FORCE_DOWNLOAD is not set
34 # CT_USE_PROXY is not set
36 # CT_USE_LAN_MIRROR is not set
38 # CT_ONLY_DOWNLOAD is not set
43 # CT_FORCE_EXTRACT is not set
44 CT_OVERIDE_CONFIG_GUESS_SUB=y
45 # CT_ONLY_EXTRACT is not set
54 # CT_CONFIG_SHELL_ASH is not set
59 # CT_LOG_ERROR is not set
60 # CT_LOG_WARN is not set
61 # CT_LOG_INFO is not set
63 # CT_LOG_DEBUG is not set
64 # CT_LOG_ALL is not set
65 CT_LOG_LEVEL_MAX="EXTRA"
66 # CT_LOG_SEE_TOOLS_WARN is not set
69 CT_LOG_FILE_COMPRESS=y
75 # CT_ARCH_SUPPORT_ARCH is not set
76 # CT_ARCH_SUPPORT_ABI is not set
78 CT_ARCH_SUPPORT_TUNE=y
79 # CT_ARCH_SUPPORT_FPU is not set
80 # CT_ARCH_SUPPORTS_BOTH_ENDIAN is not set
81 # CT_ARCH_DEFAULT_BE is not set
82 # CT_ARCH_DEFAULT_LE is not set
86 # CT_ARCH_FLOAT_SW is not set
91 # General target options
94 # CT_ARCH_ALPHA_EV4 is not set
95 # CT_ARCH_ALPHA_EV45 is not set
96 # CT_ARCH_ALPHA_EV5 is not set
98 # CT_ARCH_ALPHA_EV6 is not set
99 # CT_ARCH_ALPHA_EV67 is not set
100 CT_ARCH_ALPHA_VARIANT="ev56"
101 # CT_ARCH_arm is not set
102 # CT_ARCH_ia64 is not set
103 # CT_ARCH_mips is not set
104 # CT_ARCH_powerpc is not set
105 # CT_ARCH_sh is not set
106 # CT_ARCH_x86 is not set
107 # CT_ARCH_x86_64 is not set
110 # Target optimisations
118 # General toolchain options
122 CT_TARGET_VENDOR="unknown"
123 CT_TARGET_ALIAS_SED_EXPR=""
129 # CT_NATIVE is not set
131 # CT_CROSS_NATIVE is not set
132 # CT_CANADIAN is not set
133 CT_TOOLCHAIN_TYPE="cross"
141 CT_KERNEL_VERSION="2.6.26.3"
142 CT_KERNEL_LINUX_HEADERS_INSTALL=y
143 # CT_KERNEL_LINUX_HEADERS_SANITISED is not set
144 # CT_KERNEL_LINUX_HEADERS_COPY is not set
145 # CT_KERNEL_LINUX_HEADERS_USE_CUSTOM_DIR is not set
147 CT_KERNEL_VERSION_SEE_EXTRAVERSION=y
148 # CT_KERNEL_INSTALL_V_2_6_18_8 is not set
149 # CT_KERNEL_INSTALL_V_2_6_19_7 is not set
150 # CT_KERNEL_INSTALL_V_2_6_20_21 is not set
151 # CT_KERNEL_INSTALL_V_2_6_21_7 is not set
152 # CT_KERNEL_INSTALL_V_2_6_22_19 is not set
153 # CT_KERNEL_INSTALL_V_2_6_23_17 is not set
154 # CT_KERNEL_INSTALL_V_2_6_24 is not set
155 # CT_KERNEL_INSTALL_V_2_6_24_1 is not set
156 # CT_KERNEL_INSTALL_V_2_6_24_2 is not set
157 # CT_KERNEL_INSTALL_V_2_6_24_3 is not set
158 # CT_KERNEL_INSTALL_V_2_6_24_4 is not set
159 # CT_KERNEL_INSTALL_V_2_6_24_5 is not set
160 # CT_KERNEL_INSTALL_V_2_6_24_6 is not set
161 # CT_KERNEL_INSTALL_V_2_6_24_7 is not set
162 # CT_KERNEL_INSTALL_V_2_6_25 is not set
163 # CT_KERNEL_INSTALL_V_2_6_25_1 is not set
164 # CT_KERNEL_INSTALL_V_2_6_25_2 is not set
165 # CT_KERNEL_INSTALL_V_2_6_25_3 is not set
166 # CT_KERNEL_INSTALL_V_2_6_25_4 is not set
167 # CT_KERNEL_INSTALL_V_2_6_25_5 is not set
168 # CT_KERNEL_INSTALL_V_2_6_25_6 is not set
169 # CT_KERNEL_INSTALL_V_2_6_25_7 is not set
170 # CT_KERNEL_INSTALL_V_2_6_25_8 is not set
171 # CT_KERNEL_INSTALL_V_2_6_25_9 is not set
172 # CT_KERNEL_INSTALL_V_2_6_25_10 is not set
173 # CT_KERNEL_INSTALL_V_2_6_25_11 is not set
174 # CT_KERNEL_INSTALL_V_2_6_25_12 is not set
175 # CT_KERNEL_INSTALL_V_2_6_25_13 is not set
176 # CT_KERNEL_INSTALL_V_2_6_25_14 is not set
177 # CT_KERNEL_INSTALL_V_2_6_25_15 is not set
178 # CT_KERNEL_INSTALL_V_2_6_26 is not set
179 # CT_KERNEL_INSTALL_V_2_6_26_1 is not set
180 # CT_KERNEL_INSTALL_V_2_6_26_2 is not set
181 CT_KERNEL_INSTALL_V_2_6_26_3=y
182 CT_KERNEL_LINUX_HEADERS_INSTALL_CHECK=y
183 CT_KERNEL_LINUX_VERBOSITY_0=y
184 # CT_KERNEL_LINUX_VERBOSITY_1 is not set
185 # CT_KERNEL_LINUX_VERBOSITY_2 is not set
186 CT_KERNEL_LINUX_VERBOSE_LEVEL=0
187 # CT_KERNEL_LINUX_NEEDS_CONFIG is not set
193 # CT_GMP_MPFR_TARGET is not set
195 CT_GMP_VERSION="4.2.2"
198 CT_MPFR_VERSION="2.3.1"
204 CT_BINUTILS_VERSION="2.18"
205 # CT_BINUTILS_V_2_14 is not set
206 # CT_BINUTILS_V_2_15 is not set
207 # CT_BINUTILS_V_2_16_1 is not set
208 # CT_BINUTILS_V_2_17 is not set
210 # CT_BINUTILS_V_2_18_50_0_4 is not set
211 # CT_BINUTILS_V_2_18_50_0_6 is not set
212 # CT_BINUTILS_V_2_18_50_0_7 is not set
213 # CT_BINUTILS_V_2_18_50_0_8 is not set
214 CT_BINUTILS_EXTRA_CONFIG=""
215 CT_BINUTILS_FOR_TARGET=y
216 CT_BINUTILS_FOR_TARGET_IBERTY=y
217 CT_BINUTILS_FOR_TARGET_BFD=y
223 CT_CC_VERSION="4.3.1"
225 # CT_CC_V_2_95_3 is not set
226 # CT_CC_V_3_2_3 is not set
227 # CT_CC_V_3_3_6 is not set
228 # CT_CC_V_3_4_6 is not set
229 # CT_CC_V_4_0_0 is not set
230 # CT_CC_V_4_0_1 is not set
231 # CT_CC_V_4_0_2 is not set
232 # CT_CC_V_4_0_3 is not set
233 # CT_CC_V_4_0_4 is not set
234 # CT_CC_V_4_1_0 is not set
235 # CT_CC_V_4_1_1 is not set
236 # CT_CC_V_4_1_2 is not set
237 # CT_CC_V_4_2_0 is not set
238 # CT_CC_V_4_2_1 is not set
239 # CT_CC_V_4_2_2 is not set
240 # CT_CC_V_4_2_3 is not set
241 # CT_CC_V_4_2_4 is not set
242 # CT_CC_V_4_3_0 is not set
244 CT_CC_GCC_4_3_or_later=y
246 CT_CC_SJLJ_EXCEPTIONS_CONFIGURE=y
247 # CT_CC_SJLJ_EXCEPTIONS_USE is not set
248 # CT_CC_SJLJ_EXCEPTIONS_DONT_USE is not set
249 CT_CC_CORE_EXTRA_CONFIG=""
250 CT_CC_EXTRA_CONFIG=""
251 CT_CC_PKGVERSION="crosstool-NG-${CT_VERSION}"
254 CT_CC_SUPPORT_FORTRAN=y
258 CT_CC_SUPPORT_OBJCXX=y
261 # Additional supported languages:
271 # CT_LIBC_V_LATEST is not set
272 # CT_LIBC_V_date is not set
273 # CT_LIBC_V_2_3_6 is not set
274 # CT_LIBC_V_2_5 is not set
275 # CT_LIBC_V_2_5_1 is not set
276 # CT_LIBC_V_2_6 is not set
277 # CT_LIBC_V_2_6_1 is not set
279 CT_LIBC_VERSION="2.7"
280 CT_LIBC_GLIBC_CONFIGPARMS=""
281 CT_LIBC_GLIBC_EXTRA_CONFIG=""
282 CT_LIBC_GLIBC_EXTRA_CFLAGS=""
283 CT_LIBC_EXTRA_CC_ARGS=""
284 # CT_LIBC_GLIBC_USE_PORTS is not set
285 # CT_LIBC_ADDONS is not set
286 CT_LIBC_GLIBC_USE_HEADERS_MIN_KERNEL=y
287 CT_LIBC_GLIBC_MIN_KERNEL="2.6.26.3"
288 # CT_LIBC_EGLIBC is not set
289 # CT_LIBC_UCLIBC is not set
291 CT_LIBC_SUPPORT_NPTL=y
292 CT_LIBC_SUPPORT_LINUXTHREADS=y
294 # CT_THREADS_LINUXTHREADS is not set
295 # CT_THREADS_NONE is not set
302 # CT_SSTRIP_ELFKICKERS is not set
303 CT_SSTRIP_BUILDROOT=y
304 CT_SSTRIP_FROM="buildroot"
309 # CT_DMALLOC is not set
313 # CT_DUMA_V_2_5_1 is not set
314 # CT_DUMA_V_2_5_8 is not set
315 # CT_DUMA_V_2_5_12 is not set
317 CT_DUMA_VERSION="2_5_14"
319 # CT_GDB_CROSS is not set
321 # CT_GDB_NATIVE_STATIC is not set
322 # CT_GDB_NATIVE_USE_GMP_MPFR is not set
323 # CT_GDB_GDBSERVER is not set
324 # CT_GDB_V_snapshot is not set
325 # CT_GDB_V_6_4 is not set
326 # CT_GDB_V_6_5 is not set
327 # CT_GDB_V_6_6 is not set
328 # CT_GDB_V_6_7 is not set
329 # CT_GDB_V_6_7_1 is not set
334 # Native gdb needs the ncurses library on the target
337 CT_NCURSES_VERSION="5.6"
339 # CT_STRACE_V_4_5 is not set
340 # CT_STRACE_V_4_5_14 is not set
341 # CT_STRACE_V_4_5_15 is not set
343 CT_STRACE_VERSION="4.5.16"