From patchwork Fri Dec 14 21:01:33 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Stefan_Fr=C3=B6berg?= X-Patchwork-Id: 206558 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 5E5462C0090 for ; Sat, 15 Dec 2012 08:01:58 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id C129531073; Fri, 14 Dec 2012 21:01:56 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0f18Z0szRmef; Fri, 14 Dec 2012 21:01:52 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id C48592021F; Fri, 14 Dec 2012 21:01:51 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 5BC428F74B for ; Fri, 14 Dec 2012 21:01:55 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id ED4238CF05 for ; Fri, 14 Dec 2012 21:01:49 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RCmQdtk8jIwQ for ; Fri, 14 Dec 2012 21:01:45 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.petroprogram.com (mail.petroprogram.com [194.89.34.74]) by whitealder.osuosl.org (Postfix) with ESMTPS id 9E8698C285 for ; Fri, 14 Dec 2012 21:01:44 +0000 (UTC) Received: from [127.0.0.1] (unknown [194.89.34.74]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: stefan.froberg@petroprogram.com) by mail.petroprogram.com (Postfix) with ESMTPSA id A3B8344316; Fri, 14 Dec 2012 22:52:08 +0200 (EET) Message-ID: <50CB93AD.20303@petroprogram.com> Date: Fri, 14 Dec 2012 23:01:33 +0200 From: =?ISO-8859-1?Q?Stefan_Fr=F6berg?= User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Sagaert Johan References: <1355428977-8297-1-git-send-email-gustavo@zacarias.com.ar> <871ueskiar.fsf@dell.be.48ers.dk> In-Reply-To: X-Enigmail-Version: 1.4.6 Cc: buildroot@busybox.net Subject: Re: [Buildroot] [PATCH] gettext: bump to version 0.18.1.1 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Hello Johan 14.12.2012 20:08, Sagaert Johan kirjoitti: > Hi > > After pulling the latest commits : > > libtool: compile: /home/buildroot12git/output/host/usr/bin/arm-buildroot-linux-uclibcgnueabi-gcc -c > -DLOCALEDIR=\"/usr/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib\" -DBUILDING_LIBINTL -DBUILDING_DLL > -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/lib\" -DNO_XMALLOC > -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I. > -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE > -D_FILE_OFFSET_BITS=64 -pipe -Os -fvisibility=hidden ./printf.c -o printf.o >/dev/null 2>&1 > ./localename.c: In function '_nl_locale_name_thread_unsafe': > ./localename.c:2619:31: error: dereferencing pointer to incomplete type > make[4]: *** [localename.lo] Error 1 > make[4]: *** Waiting for unfinished jobs.... > > Using uClibc 0.9.33.1 (NTPL) > > Regards , Johan > Hmmm... That sounds familiar. If I remember correctly I hit exactly into same problem in my own Linux distro some time ago. Could you please try the following lil patch ? (I will include it as an separete attachment here also) glibc < 2.12. See . */ Regards Stefan > > -----Oorspronkelijk bericht----- > Van: buildroot-bounces@busybox.net [mailto:buildroot-bounces@busybox.net] Namens Peter Korsgaard > Verzonden: vrijdag 14 december 2012 12:03 > Aan: Gustavo Zacarias > CC: buildroot@busybox.net > Onderwerp: Re: [Buildroot] [PATCH] gettext: bump to version 0.18.1.1 > >>>>>> "Gustavo" == Gustavo Zacarias writes: > Gustavo> Signed-off-by: Gustavo Zacarias > > Committed, thanks. > > -- > Bye, Peter Korsgaard > _______________________________________________ > buildroot mailing list > buildroot@busybox.net > http://lists.busybox.net/mailman/listinfo/buildroot > > _______________________________________________ > buildroot mailing list > buildroot@busybox.net > http://lists.busybox.net/mailman/listinfo/buildroot diff --git a/gettext-runtime/intl/localename.c b/gettext-runtime/intl/localename.c index 89a9692..5e86bc4 100644 --- a/gettext-runtime/intl/localename.c +++ b/gettext-runtime/intl/localename.c @@ -2607,7 +2607,7 @@ gl_locale_name_thread_unsafe (int category, const char *categoryname) locale_t thread_locale = uselocale (NULL); if (thread_locale != LC_GLOBAL_LOCALE) { -# if __GLIBC__ >= 2 +# if __GLIBC__ >= 2 && !defined __UCLIBC__ /* Work around an incorrect definition of the _NL_LOCALE_NAME macro in glibc < 2.12. See . */ diff --git a/gettext-tools/gnulib-lib/localename.c b/gettext-tools/gnulib-lib/localename.c index dab5e5b..85149ac 100644 --- a/gettext-tools/gnulib-lib/localename.c +++ b/gettext-tools/gnulib-lib/localename.c @@ -2607,7 +2607,7 @@ gl_locale_name_thread_unsafe (int category, const char *categoryname) locale_t thread_locale = uselocale (NULL); if (thread_locale != LC_GLOBAL_LOCALE) { -# if __GLIBC__ >= 2 +# if __GLIBC__ >= 2 && !defined __UCLIBC__ /* Work around an incorrect definition of the _NL_LOCALE_NAME macro in glibc < 2.12. See . */ diff --git a/gettext-runtime/intl/localename.c b/gettext-runtime/intl/localename.c index 89a9692..5e86bc4 100644 --- a/gettext-runtime/intl/localename.c +++ b/gettext-runtime/intl/localename.c @@ -2607,7 +2607,7 @@ gl_locale_name_thread_unsafe (int category, const char *categoryname) locale_t thread_locale = uselocale (NULL); if (thread_locale != LC_GLOBAL_LOCALE) { -# if __GLIBC__ >= 2 +# if __GLIBC__ >= 2 && !defined __UCLIBC__ /* Work around an incorrect definition of the _NL_LOCALE_NAME macro in glibc < 2.12. See . */ diff --git a/gettext-tools/gnulib-lib/localename.c b/gettext-tools/gnulib-lib/localename.c index dab5e5b..85149ac 100644 --- a/gettext-tools/gnulib-lib/localename.c +++ b/gettext-tools/gnulib-lib/localename.c @@ -2607,7 +2607,7 @@ gl_locale_name_thread_unsafe (int category, const char *categoryname) locale_t thread_locale = uselocale (NULL); if (thread_locale != LC_GLOBAL_LOCALE) { -# if __GLIBC__ >= 2 +# if __GLIBC__ >= 2 && !defined __UCLIBC__ /* Work around an incorrect definition of the _NL_LOCALE_NAME macro in