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 # Tue Aug 5 13:45:10 2008
5 # TARGET_alpha is not set
6 # TARGET_arm is not set
7 # TARGET_avr32 is not set
8 # TARGET_bfin is not set
9 # TARGET_cris is not set
10 # TARGET_e1 is not set
11 # TARGET_frv is not set
12 # TARGET_h8300 is not set
13 # TARGET_hppa is not set
14 # TARGET_i386 is not set
15 # TARGET_i960 is not set
16 # TARGET_ia64 is not set
17 # TARGET_m68k is not set
18 # TARGET_microblaze is not set
20 # TARGET_nios is not set
21 # TARGET_nios2 is not set
22 # TARGET_powerpc is not set
23 # TARGET_sh is not set
24 # TARGET_sh64 is not set
25 # TARGET_sparc is not set
26 # TARGET_v850 is not set
27 # TARGET_vax is not set
28 # TARGET_x86_64 is not set
29 # TARGET_xtensa is not set
32 # Target Architecture Features and Options
35 FORCE_OPTIONS_FOR_ARCH=y
36 ARCH_CFLAGS="-mno-split-addresses"
37 # CONFIG_GENERIC_386 is not set
38 # CONFIG_386 is not set
39 # CONFIG_486 is not set
40 # CONFIG_586 is not set
41 # CONFIG_586MMX is not set
42 # CONFIG_686 is not set
43 # CONFIG_PENTIUMII is not set
44 # CONFIG_PENTIUMIII is not set
45 # CONFIG_PENTIUM4 is not set
46 # CONFIG_K6 is not set
47 # CONFIG_K7 is not set
48 # CONFIG_ELAN is not set
49 # CONFIG_CRUSOE is not set
50 # CONFIG_WINCHIPC6 is not set
51 # CONFIG_WINCHIP2 is not set
52 # CONFIG_CYRIXIII is not set
53 # CONFIG_NEHEMIAH is not set
55 # CONFIG_MIPS_N32_ABI is not set
56 # CONFIG_MIPS_N64_ABI is not set
58 # CONFIG_MIPS_ISA_2 is not set
59 # CONFIG_MIPS_ISA_3 is not set
60 # CONFIG_MIPS_ISA_4 is not set
61 # CONFIG_MIPS_ISA_MIPS32 is not set
62 # CONFIG_MIPS_ISA_MIPS64 is not set
66 # Using ELF file format
70 ARCH_WANTS_BIG_ENDIAN=y
71 # ARCH_WANTS_LITTLE_ENDIAN is not set
75 # UCLIBC_HAS_FPU is not set
76 UCLIBC_HAS_SOFT_FLOAT=y
79 KERNEL_HEADERS="/usr/include"
83 # General Library Settings
85 # HAVE_NO_PIC is not set
87 # ARCH_HAS_NO_SHARED is not set
88 # ARCH_HAS_NO_LDSO is not set
90 # FORCE_SHAREABLE_TEXT_SEGMENTS is not set
93 # LDSO_PRELOAD_FILE_SUPPORT is not set
94 LDSO_BASE_FILENAME="ld.so"
95 UCLIBC_STATIC_LDCONFIG=y
96 # LDSO_RUNPATH is not set
98 # LDSO_GNU_HASH_SUPPORT is not set
99 # HAS_NO_THREADS is not set
101 # PTHREADS_DEBUG_SUPPORT is not set
106 # MALLOC_SIMPLE is not set
108 # MALLOC_GLIBC_COMPAT is not set
109 UCLIBC_DYNAMIC_ATEXIT=y
110 # COMPAT_ATEXIT is not set
111 # UCLIBC_SUSV3_LEGACY is not set
112 # UCLIBC_SUSV3_LEGACY_MACROS is not set
113 # UCLIBC_HAS_STUBS is not set
115 # UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set
119 # UCLIBC_HAS_GETPT is not set
120 UCLIBC_HAS_TM_EXTENSIONS=y
121 UCLIBC_HAS_TZ_CACHING=y
123 UCLIBC_HAS_TZ_FILE_READ_MANY=y
124 UCLIBC_TZ_FILE_PATH="/etc/TZ"
127 # Advanced Library Settings
129 UCLIBC_PWD_BUFFER_SIZE=256
130 UCLIBC_GRP_BUFFER_SIZE=256
133 # Support various families of functions
135 UCLIBC_LINUX_MODULE_24=y
136 UCLIBC_LINUX_SPECIFIC=y
137 UCLIBC_HAS_GNU_ERROR=y
138 # UCLIBC_BSD_SPECIFIC is not set
139 # UCLIBC_HAS_BSD_ERR is not set
140 # UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is not set
141 # UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set
142 # UCLIBC_NTP_LEGACY is not set
143 # UCLIBC_SV4_DEPRECATED is not set
144 UCLIBC_HAS_REALTIME=y
145 UCLIBC_HAS_ADVANCED_REALTIME=y
148 UCLIBC_HAS_PROFILING=y
149 UCLIBC_HAS_CRYPT_IMPL=y
151 UCLIBC_HAS_NETWORK_SUPPORT=y
154 # UCLIBC_HAS_IPV6 is not set
156 UCLIBC_HAS_FULL_RPC=y
157 UCLIBC_HAS_REENTRANT_RPC=y
159 UCLIBC_SUPPORT_AI_ADDRCONFIG=y
160 # UCLIBC_HAS_BSD_RES_CLOSE is not set
163 # String and Stdio Support
165 UCLIBC_HAS_STRING_GENERIC_OPT=y
166 UCLIBC_HAS_STRING_ARCH_OPT=y
167 UCLIBC_HAS_CTYPE_TABLES=y
168 # UCLIBC_HAS_CTYPE_SIGNED is not set
169 UCLIBC_HAS_CTYPE_UNSAFE=y
170 # UCLIBC_HAS_CTYPE_CHECKED is not set
171 # UCLIBC_HAS_CTYPE_ENFORCED is not set
172 # UCLIBC_HAS_WCHAR is not set
173 # UCLIBC_HAS_LOCALE is not set
174 # UCLIBC_HAS_HEXADECIMAL_FLOATS is not set
175 # UCLIBC_HAS_GLIBC_CUSTOM_PRINTF is not set
176 # USE_OLD_VFPRINTF is not set
177 UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9
178 # UCLIBC_HAS_SCANF_GLIBC_A_FLAG is not set
179 # UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set
180 # UCLIBC_HAS_STDIO_BUFSIZ_256 is not set
181 # UCLIBC_HAS_STDIO_BUFSIZ_512 is not set
182 # UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set
183 # UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set
184 UCLIBC_HAS_STDIO_BUFSIZ_4096=y
185 # UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set
186 UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y
187 # UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set
188 # UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set
189 # UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT is not set
190 UCLIBC_HAS_STDIO_GETC_MACRO=y
191 UCLIBC_HAS_STDIO_PUTC_MACRO=y
192 UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y
193 # UCLIBC_HAS_FOPEN_LARGEFILE_MODE is not set
194 # UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE is not set
195 # UCLIBC_HAS_GLIBC_CUSTOM_STREAMS is not set
196 # UCLIBC_HAS_PRINTF_M_SPEC is not set
197 UCLIBC_HAS_ERRNO_MESSAGES=y
198 # UCLIBC_HAS_SYS_ERRLIST is not set
199 UCLIBC_HAS_SIGNUM_MESSAGES=y
200 # UCLIBC_HAS_SYS_SIGLIST is not set
201 UCLIBC_HAS_GNU_GETOPT=y
202 UCLIBC_HAS_GNU_GETSUBOPT=y
208 # UCLIBC_HAS_REGEX_OLD is not set
210 UCLIBC_HAS_FNMATCH_OLD=y
211 # UCLIBC_HAS_WORDEXP is not set
212 # UCLIBC_HAS_FTW is not set
214 # UCLIBC_HAS_GNU_GLOB is not set
217 # Library Installation Options
219 SHARED_LIB_LOADER_PREFIX="$(RUNTIME_PREFIX)lib"
220 RUNTIME_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/"
221 DEVEL_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/usr/"
226 # UCLIBC_BUILD_PIE is not set
227 # UCLIBC_HAS_ARC4RANDOM is not set
228 # HAVE_NO_SSP is not set
229 # UCLIBC_HAS_SSP is not set
231 # UCLIBC_BUILD_NOW is not set
232 UCLIBC_BUILD_NOEXECSTACK=y
235 # uClibc development/debugging options
237 CROSS_COMPILER_PREFIX=""
238 UCLIBC_EXTRA_CFLAGS=""
240 # DODEBUG_PT is not set
242 # DOASSERTS is not set
243 # SUPPORT_LD_DEBUG is not set
244 # SUPPORT_LD_DEBUG_EARLY is not set
245 # UCLIBC_MALLOC_DEBUGGING is not set
247 # EXTRA_WARNINGS is not set
249 # UCLIBC_MJN3_ONLY is not set