This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
A compilation of an ARM toolchain with glibc 2.7 using crosstool-ng failed with a gcc error in glibc-2.7/posix/regex_internal.c, more concretly in the function build_wcs_upper_buffer(). The return type of the function prototype in regex_internal.h doesn't correspond with the return type of this function in regex_internal.c. The attached patch corrects the return type of the function prototype in regex_internal.h -- Matthias Kaehlcke Embedded Linux Engineer Barcelona Comunicar bichos a <bug-coreutils@gnu.org> (LANG=es_ES uname --help) .''`. using free software / Debian GNU/Linux | http://debian.org : :' : `. `'` gpg --keyserver pgp.mit.edu --recv-keys 47D8E5D4 `-
diff -urN crosstool-ng-1.1.2.org/patches/glibc/2.7/180-glibc-2.7-build_wcs_upper_buffer.patch crosstool-ng-1.1.2/patches/glibc/2.7/180-glibc-2.7-build_wcs_upper_buffer.patch --- crosstool-ng-1.1.2.org/patches/glibc/2.7/180-glibc-2.7-build_wcs_upper_buffer.patch 1970-01-01 01:00:00.000000000 +0100 +++ crosstool-ng-1.1.2/patches/glibc/2.7/180-glibc-2.7-build_wcs_upper_buffer.patch 2008-05-30 13:45:09.000000000 +0200 @@ -0,0 +1,11 @@ +--- glibc-2.7/posix/regex_internal.h.org 2008-05-30 11:16:01.000000000 +0200 ++++ glibc-2.7/posix/regex_internal.h 2008-05-30 11:16:35.000000000 +0200 +@@ -391,7 +391,7 @@ + internal_function; + # 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) internal_function; + # 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;
-- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |