Re: OpenBSD: gettimeofday and sys/time.h errors

2013-08-09 Thread Paul Eggert
On 08/09/2013 04:13 PM, Mike Miller wrote: > I get pretty much the same errors if I don't include the select > gnulib module, and pull in only gettimeofday. Hmm, OK, how about the following patch instead? diff --git a/lib/sys_time.in.h b/lib/sys_time.in.h index 09c9601..90dd02b 100644 --- a/lib/s

Re: OpenBSD: gettimeofday and sys/time.h errors

2013-08-09 Thread Mike Miller
On Fri, Aug 09, 2013 at 01:46:27PM -0700, Paul Eggert wrote: > Thanks, does the following patch fix things for you? > If so, I'll install it into gnulib. No, same exact set of errors. Your patch only touches sys/select.h. In fact, I get pretty much the same errors if I don't include the select gnu

Re: OpenBSD: gettimeofday and sys/time.h errors

2013-08-09 Thread Paul Eggert
Thanks, does the following patch fix things for you? If so, I'll install it into gnulib. diff --git a/lib/sys_select.in.h b/lib/sys_select.in.h index 28a3dac..061ebaf 100644 --- a/lib/sys_select.in.h +++ b/lib/sys_select.in.h @@ -19,14 +19,16 @@ # endif @PRAGMA_COLUMNS@ -/* On OSF/1 and Solari

Re: #error "This file assumes that 'int' has exactly 32 bits.

2013-08-09 Thread Paul Eggert
On 08/09/2013 06:59 AM, Eric Blake wrote: > Now, can you give us more > details about the "beaglebone black" system that you are targetting, as > I am unfamiliar with it. What size integers does it use? It uses 32-bit integers just like everyone else does. (It's an AM335x 1GHz ARM Cortex-A8.) Un

Re: [bug #35580] bootstrap is not portable to OpenBSD

2013-08-09 Thread Pádraig Brady
On 08/09/2013 01:55 PM, Mike Miller wrote: > On Fri, Aug 09, 2013 at 04:52:40AM +0100, Pádraig Brady wrote: >> On 08/09/2013 03:23 AM, Mike Miller wrote: >>> Thanks for the suggestion. I did try SHA1SUM=sha1, but that still >>> won't work with bootstrap since find_tool() requires that $tool >>> und

Re: #error "This file assumes that 'int' has exactly 32 bits.

2013-08-09 Thread Eric Blake
On 08/09/2013 09:25 AM, Eric Blake wrote: > Still need more information. What does this do when compiled with your > cross-compiler, then run on the target? > > #include > #include > #include > int main(void) { > printf("%zu %zu %zu %zu\n", sizeof(short), sizeof(int), sizeof(long), > siz

Re: #error "This file assumes that 'int' has exactly 32 bits.

2013-08-09 Thread Eric Blake
On 08/09/2013 09:08 AM, I Love To Get Spamed wrote: > I believe the following is the command line it was trying to execute: > > arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mthumb-interwork > -mfloat-abi=hard -mfpu=neon -mtune=cortex-a8 > --sysroot=/home/epic/setup-scripts/build/tmp-angstrom_v2

Re: #error "This file assumes that 'int' has exactly 32 bits.

2013-08-09 Thread I Love To Get Spamed
I believe the following is the command line it was trying to execute: arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a8 --sysroot=/home/epic/setup-scripts/build/tmp-angstrom_v2013_06-eglibc/sysroots/beaglebone -std=gnu99 -I. -I/home/epic

OpenBSD: gettimeofday and sys/time.h errors

2013-08-09 Thread Mike Miller
Hi, continuing on the OpenBSD theme, I am seeing a couple of compilation failures with sys/time.h, gettimeofday, and timeval very similar to one reported recently for cygwin [1] (coincidentally I am also investigating on behalf of Octave). In a barebones project using gnulib-tool --with-tests --wi

Re: #error "This file assumes that 'int' has exactly 32 bits.

2013-08-09 Thread Eric Blake
[re-adding the list, with permission] On 08/09/2013 07:35 AM, I Love To Get Spamed wrote: > Hello Eric, > Thanks for the response. [please don't top-post on technical lists - reformatting your reply] >> Thanks for the report, but it is incomplete. You reported your compiler >> (arm-angstrom-lin

Re: [bug #35580] bootstrap is not portable to OpenBSD

2013-08-09 Thread Mike Miller
On Fri, Aug 9, 2013 at 10:36:42 +0700, Gary V. Vaughan wrote: > For this and many other gnulib bootstrap issues that tripped up my projects, > I rewrote the script from the ground up. You can find my version on the lua > branch of GNU Zile, all of my github projects and HEAD revisions of GNU > li

Re: [bug #35580] bootstrap is not portable to OpenBSD

2013-08-09 Thread Eric Blake
On 08/09/2013 06:55 AM, Mike Miller wrote: > Testing against bison has shown one more error in bootstrap on OpenBSD. > The insert_if_absent function fails with the native sed, a file argument > of - is not recognized. Bummer - I thought that POSIX required that behavior, but it appears to be opti

Re: [bug #35580] bootstrap is not portable to OpenBSD

2013-08-09 Thread Mike Miller
On Fri, Aug 09, 2013 at 04:52:40AM +0100, Pádraig Brady wrote: > On 08/09/2013 03:23 AM, Mike Miller wrote: >> Thanks for the suggestion. I did try SHA1SUM=sha1, but that still >> won't work with bootstrap since find_tool() requires that $tool >> understand the --version option. That was mentioned

Re: #error "This file assumes that 'int' has exactly 32 bits.

2013-08-09 Thread Eric Blake
On 08/09/2013 04:46 AM, I Love To Get Spamed wrote: > arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mthumb-interwork > -mfloat-abi=hard -mfpu=neon -mtune=cortex-a8 > --sysroot=/home/epic/setup-scripts/build/tmp-angstrom_v2013_06-eglibc/sysroots/beaglebone > -std=gnu99 -I. > -I/home/epic/setup-sc

#error "This file assumes that 'int' has exactly 32 bits.

2013-08-09 Thread I Love To Get Spamed
arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a8 --sysroot=/home/epic/setup-scripts/build/tmp-angstrom_v2013_06-eglibc/sysroots/beaglebone -std=gnu99 -I. -I/home/epic/setup-scripts/build/tmp-angstrom_v2013_06-eglibc/work/cortexa8hf-vfp-n

New stable snapshot

2013-08-09 Thread Ian Beckwith
Hi, I've released a new stable snapshot. See attached NEWS.stable for details. Tarball: http://erislabs.net/ianb/projects/gnulib/gnulib-20130805-stable.tar.gz Gitweb: http://erislabs.net/gitweb?p=gnulib.git;a=shortlog;h=refs/heads/stable Git: git://erislabs.net/gnulib.git tag: stable/20130805