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 # Wed Jun 25 08:52:30 2008
5 # TARGET_alpha is not set
6 # TARGET_arm is not set
7 # TARGET_bfin is not set
8 # TARGET_cris is not set
10 # TARGET_frv is not set
11 # TARGET_h8300 is not set
12 # TARGET_hppa is not set
13 # TARGET_i386 is not set
14 # TARGET_i960 is not set
15 # TARGET_ia64 is not set
16 # TARGET_m68k is not set
17 # TARGET_microblaze is not set
18 # TARGET_mips is not set
19 # TARGET_nios is not set
20 # TARGET_nios2 is not set
22 # TARGET_sh is not set
23 # TARGET_sh64 is not set
24 # TARGET_sparc is not set
25 # TARGET_v850 is not set
26 # TARGET_vax is not set
27 # TARGET_x86_64 is not set
30 # Target Architecture Features and Options
33 FORCE_OPTIONS_FOR_ARCH=y
35 # CONFIG_E500 is not set
36 TARGET_SUBARCH="classic"
39 # Using ELF file format
51 KERNEL_HEADERS="/usr/include"
55 # General Library Settings
57 # HAVE_NO_PIC is not set
59 # HAVE_NO_SHARED is not set
60 # ARCH_HAS_NO_LDSO is not set
62 # FORCE_SHAREABLE_TEXT_SEGMENTS is not set
65 # LDSO_PRELOAD_FILE_SUPPORT is not set
66 LDSO_BASE_FILENAME="ld.so"
67 UCLIBC_STATIC_LDCONFIG=y
68 # LDSO_RUNPATH is not set
70 # HAS_NO_THREADS is not set
72 # PTHREADS_DEBUG_SUPPORT is not set
76 # MALLOC_SIMPLE is not set
78 # MALLOC_GLIBC_COMPAT is not set
79 UCLIBC_DYNAMIC_ATEXIT=y
80 # COMPAT_ATEXIT is not set
81 # UCLIBC_SUSV3_LEGACY is not set
82 # UCLIBC_SUSV3_LEGACY_MACROS is not set
84 # UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set
85 UCLIBC_HAS___PROGNAME=y
88 UCLIBC_HAS_TM_EXTENSIONS=y
89 UCLIBC_HAS_TZ_CACHING=y
91 UCLIBC_HAS_TZ_FILE_READ_MANY=y
92 UCLIBC_TZ_FILE_PATH="/etc/TZ"
95 # Advanced Library Settings
97 UCLIBC_PWD_BUFFER_SIZE=256
98 UCLIBC_GRP_BUFFER_SIZE=256
103 # UCLIBC_HAS_IPV6 is not set
105 UCLIBC_HAS_FULL_RPC=y
106 UCLIBC_HAS_REENTRANT_RPC=y
108 UCLIBC_HAS_BSD_RES_CLOSE=y
111 # String and Stdio Support
113 UCLIBC_HAS_STRING_GENERIC_OPT=y
114 UCLIBC_HAS_STRING_ARCH_OPT=y
115 UCLIBC_HAS_CTYPE_TABLES=y
116 UCLIBC_HAS_CTYPE_SIGNED=y
117 UCLIBC_HAS_CTYPE_UNSAFE=y
118 # UCLIBC_HAS_CTYPE_CHECKED is not set
119 # UCLIBC_HAS_CTYPE_ENFORCED is not set
120 # UCLIBC_HAS_WCHAR is not set
121 # UCLIBC_HAS_LOCALE is not set
122 UCLIBC_HAS_HEXADECIMAL_FLOATS=y
123 UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y
124 # USE_OLD_VFPRINTF is not set
125 UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9
126 UCLIBC_HAS_SCANF_GLIBC_A_FLAG=y
127 # UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set
128 # UCLIBC_HAS_STDIO_BUFSIZ_256 is not set
129 # UCLIBC_HAS_STDIO_BUFSIZ_512 is not set
130 # UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set
131 # UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set
132 UCLIBC_HAS_STDIO_BUFSIZ_4096=y
133 # UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set
134 UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y
135 # UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set
136 # UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set
137 # UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT is not set
138 UCLIBC_HAS_STDIO_GETC_MACRO=y
139 UCLIBC_HAS_STDIO_PUTC_MACRO=y
140 UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y
141 UCLIBC_HAS_FOPEN_LARGEFILE_MODE=y
142 UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE=y
143 UCLIBC_HAS_GLIBC_CUSTOM_STREAMS=y
144 UCLIBC_HAS_PRINTF_M_SPEC=y
145 UCLIBC_HAS_ERRNO_MESSAGES=y
146 # UCLIBC_HAS_SYS_ERRLIST is not set
147 UCLIBC_HAS_SIGNUM_MESSAGES=y
148 # UCLIBC_HAS_SYS_SIGLIST is not set
149 UCLIBC_HAS_GNU_GETOPT=y
150 UCLIBC_HAS_GNU_GETSUBOPT=y
156 UCLIBC_HAS_REGEX_OLD=y
158 UCLIBC_HAS_FNMATCH_OLD=y
159 # UCLIBC_HAS_WORDEXP is not set
162 UCLIBC_HAS_GNU_GLOB=y
165 # Library Installation Options
167 SHARED_LIB_LOADER_PREFIX="$(RUNTIME_PREFIX)lib"
168 RUNTIME_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/"
169 DEVEL_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/usr/"
174 # UCLIBC_BUILD_PIE is not set
175 # UCLIBC_HAS_ARC4RANDOM is not set
176 # HAVE_NO_SSP is not set
177 # UCLIBC_HAS_SSP is not set
179 # UCLIBC_BUILD_NOW is not set
180 UCLIBC_BUILD_NOEXECSTACK=y
183 # uClibc development/debugging options
185 CROSS_COMPILER_PREFIX=""
186 UCLIBC_EXTRA_CFLAGS=""
188 # DODEBUG_PT is not set
190 # DOASSERTS is not set
191 # SUPPORT_LD_DEBUG is not set
192 # SUPPORT_LD_DEBUG_EARLY is not set
193 # UCLIBC_MALLOC_DEBUGGING is not set
195 # EXTRA_WARNINGS is not set
197 # UCLIBC_MJN3_ONLY is not set