From owner-freebsd-arm@FreeBSD.ORG Thu Mar 7 10:29:15 2013 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 2313C917 for ; Thu, 7 Mar 2013 10:29:15 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: from smtp5.clear.net.nz (smtp5.clear.net.nz [203.97.33.68]) by mx1.freebsd.org (Postfix) with ESMTP id E99F5FC9 for ; Thu, 7 Mar 2013 10:29:14 +0000 (UTC) Received: from mxin1-orange.clear.net.nz (lb2-srcnat.clear.net.nz [203.97.32.237]) by smtp5.clear.net.nz (CLEAR Net Mail) with ESMTP id <0MJA005M4D4DAM30@smtp5.clear.net.nz> for arm@freebsd.org; Thu, 07 Mar 2013 23:29:06 +1300 (NZDT) Received: from 202-0-48-19.paradise.net.nz (HELO bender) ([202.0.48.19]) by smtpin1.paradise.net.nz with ESMTP; Thu, 07 Mar 2013 23:29:07 +1300 Date: Thu, 07 Mar 2013 23:28:53 +1300 From: Andrew Turner Subject: Re: Building gettext on ARM? In-reply-to: <46D6567D-D7AC-4BFB-94FE-B54E87224C20@neville-neil.com> To: George Neville-Neil Message-id: <20130307232853.2d33667b@bender> MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit References: <46D6567D-D7AC-4BFB-94FE-B54E87224C20@neville-neil.com> Cc: "arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Mar 2013 10:29:15 -0000 On Tue, 5 Mar 2013 22:08:25 -0500 George Neville-Neil wrote: > Howdy, > > I believe this is an issue that may run deeper than just gettext: > > ===> Building for gettext-0.18.1.1 > Making all in gnulib-local > Making all in gettext-runtime > make all-recursive > Making all in doc > Making all in intl > /bin/sh /usr/local/bin/libtool --tag=CC --mode=compile cc -c > -DLOCALEDIR=\"/usr/local/share/locale\" > -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" > -DLIBDIR=\"/usr/local/lib\" -DBUILDING_LIBINTL -DBUILDING_DLL > -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY > -DINSTALLDIR=\"/usr/local/lib\" -DNO_XMALLOC > -Dset_relocation_prefix=libintl_set_relocation_prefix > -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H > -I. -I. -I.. -I/usr/local/include -O -pipe > -fvisibility=hidden ./bindtextdom.c libtool: compile: cc -c > -DLOCALEDIR=\"/usr/local/share/locale\" > -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" > -DLIBDIR=\"/usr/local/lib\" -DBUILDING_LIBINTL -DBUILDING_DLL > -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY > -DINSTALLDIR=\"/usr/local/lib\" -DNO_XMALLOC > -Dset_relocation_prefix=libintl_set_relocation_prefix > -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H > -I. -I. -I.. -I/usr/local/include -O -pipe > -fvisibility=hidden ./bindtextdom.c -fPIC -DPIC > -o .libs/bindtextdom.o In file included > from ./bindtextdom.c:24: /usr/include/stddef.h:41: error: two or more > data types in declaration specifiers *** [bindtextdom.lo] Signal 11 > > > The offending line is: > > #include > #include > #include > > typedef __ptrdiff_t ptrdiff_t; <--- Line 41 > > Thoughts? > Best, > George I'm unable to reproduce this build failure. I am, however, running an EABI system so that may be enough of a difference. Can you send me gettext-runtime/config.h and gettext-runtime/config.log. I suspect the check for ptrdiff_t is failing and the preprocessor is defining it as something else. Andrew