building GLIBC-2.4 header problem with ARM/NPTL/EABI

Wu Bridge
Sun Apr 23 13:57:00 GMT 2006

Yes, I tried make-3.81, "--enable-add-ons=ports,nptl" is fine to build
glibc header and I got a final toolchain. A little issue is I have to
modify glibc-2.4/posix/regex_internal.h to avoid conflicting type. The
patch is shown below.

--- glibc-2.4.orig/posix/regex_internal.h       2006-04-23
00:28:40.000000000 +0800
+++ glibc-2.4/posix/regex_internal.h    2006-04-23 00:29:45.000000000 +0800
@@ -390,7 +390,7 @@ static reg_errcode_t re_string_realloc_b
 #ifdef RE_ENABLE_I18N
 static void build_wcs_buffer (re_string_t *pstr) internal_function;
-static int build_wcs_upper_buffer (re_string_t *pstr) internal_function;
+static reg_errcode_t build_wcs_upper_buffer (re_string_t *pstr)
 #endif /* RE_ENABLE_I18N */
 static void build_upper_buffer (re_string_t *pstr) internal_function;
 static void re_string_translate_buffer (re_string_t *pstr) internal_function;

I noticed there were following information when configuring glibc
header. I wonder if kernel-2.6.14 can be used to build
gcc-4.1-glibc-2.4 toolchain. I tried the pristine kernel-2.6.14 and
   configure: WARNING: minimum kernel version reset to 2.6.14
   checking for kernel header at least 2.6.14... ok

On 4/22/06, Martin Guy <> wrote:
> >    My only current lead is that the versions of "make" are slightly
> > different; mine is debian testing+stable updated to a few days ago
> > (make 3.81rc2); the other is the same + unstable, last upgraded in
> > January. (make 3.81beta4).
> Yes, upgrading "make" let the build continue to the end, including
> compiling gdb and linux.
> Have you had any luck?
>     M

best regards,

For unsubscribe information see

More information about the crossgcc mailing list