Am Mon, 12 Oct 2009 19:38:07 +0200 schrieb Bernhard Reutner-Fischer: > Please test the 0.9.30 branch on your favourite arch and report back ยน)!
Hi, after the MAP_FAILED fix I continued to build my cross-compiler stuff. During this I found another problem resonating from a gcc-locale patch I need to use (gcc-3.4.6, ppc). In February there were already some problems which were fixed for uClib 0.9.30.1: http://lists.uclibc.org/pipermail/uclibc/2009-February/042031.html Eight days ago this commit was made: "Do not install libc-XXXX.h files in "make install". glibc does not have them, so should be safe." http://git.uclibc.org/uClibc/commit/?h=0_9_30&id=a307183723bdafba8e3aad25fc0c215c5c3bf05b The commit includes: - "$top_builddir/extra/scripts/unifdef" -UUCLIBC_INTERNAL "$1/$filename" \ + "$top_builddir/extra/scripts/unifdef" -UUCLIBC_INTERNAL -U_LIBC "$1/$filename" \ The added "-U_LIBC" parameter removes extern struct __uclibc_locale_struct * __global_locale; from uClibc_locale.h while the gcc-locale patch needs __global_locale. More details about that patch can be found here: https://bugs.busybox.net/show_bug.cgi?id=53 Is it possible to include this patch into git? It solves the compilation problems for me. --- ./extra/scripts/install_headers.sh 2009-10-19 08:40:55.000000000 +0200 +++ ./extra/scripts/install_headers.sh 2009-10-20 08:49:43.000000000 +0200 @@ -51,7 +51,7 @@ # exactly the same as input. That's ok. # Do not abort the script if unifdef "fails"! # NB2: careful with sed command arguments, they contain tab character - "$top_builddir/extra/scripts/unifdef" -UUCLIBC_INTERNAL -U_LIBC "$1/$filename" \ + "$top_builddir/extra/scripts/unifdef" -UUCLIBC_INTERNAL "$1/$filename" \ | sed -e '/^rtld_hidden_proto[ ]*([a-zA-Z0-9_]*)$/d' \ | sed -e '/^lib\(c\|m\|resolv\|dl\|intl\|rt\|nsl\|util\|crypt\|pthread\)_hidden_proto[ ]*([a-zA-Z0-9_]*)$/d' \ >"$2/$filename" --- ./include/features.h 2009-10-19 08:40:55.000000000 +0200 +++ ./include/features.h 2009-10-20 10:07:22.000000000 +0200 @@ -410,7 +410,7 @@ #undef _ATFILE_SOURCE #undef __USE_ATFILE -#ifdef _LIBC +#ifdef UCLIBC_INTERNAL # include <libc-internal.h> #endif Cheers, rhabarber1848 _______________________________________________ uClibc mailing list [email protected] http://lists.busybox.net/mailman/listinfo/uclibc
