[PATCHv2] bootstrap: warn about BSD toolchain snafu

2013-12-04 Thread Eric Blake
With my help on IRC, Roman Bogorodskiy identified a bug where the BSD autoconf wrapper script eats stdin[1], which in turn causes autopoint from gettext 0.18.3 to fail to find AM_GNU_GETTEXT_VERSION out of configure.ac[2], with this error: ./bootstrap: autopoint --force autopoint: *** Missing vers

Re: [PATCH] test-open: avoid compilation error with -D_FORTIFY_SOURCE=2

2013-12-04 Thread Paul Eggert
On 12/04/2013 09:45 AM, Eric Blake wrote: > Has > this issue been fixed in the meantime by Paul's improvements to inline > handling? No, it hasn't. It's a bug in glibc, clearly. We can either change gnulib to fix the bug for gnulib-using programs, or we can change the test case to not tickle the

Re: Trouble with gnulib/float.h on Intrepid

2013-12-04 Thread Eric Blake
On 12/04/2013 10:38 AM, Rhys Ulerich wrote: >> Reviving this thread; I've fixed the code duplication, and now have only >> one spot to work on to fix Rhys' original complaint. > > Thanks Eric. Any tentative fix that I should ask my user to try out > on that BG system? I'm unsure what to try in l

Re: [PATCH] test-open: avoid compilation error with -D_FORTIFY_SOURCE=2

2013-12-04 Thread Eric Blake
On 06/20/2013 09:45 PM, Daiki Ueno wrote: > I got the following error when compiling test-open.c with > -D_FORTIFY_SOURCE=2. > > $ gcc -DHAVE_CONFIG_H -I. -DGNULIB_STRICT_CHECKING=1 -I. -I. -I.. -I./.. > -I../gllib -I./../gllib -Wall -O1 -D_FORTIFY_SOURCE=2 -g -MT test-open.o > -MD -MP -MF

Re: Trouble with gnulib/float.h on Intrepid

2013-12-04 Thread Rhys Ulerich
> Reviving this thread; I've fixed the code duplication, and now have only > one spot to work on to fix Rhys' original complaint. Thanks Eric. Any tentative fix that I should ask my user to try out on that BG system? I'm unsure what to try in light of the reduced duplication. - Rhys

Re: Trouble with gnulib/float.h on Intrepid

2013-12-04 Thread Eric Blake
On 10/11/2013 09:24 PM, Paul Eggert wrote: > Eric Blake wrote: >> Paul, any reason include_next.m4 doesn't reuse absolute-header.m4? > > Not that I recall. Reviving this thread; I've fixed the code duplication, and now have only one spot to work on to fix Rhys' original complaint. http://thread.

[PATCH] include_next: minimize code duplication

2013-12-04 Thread Eric Blake
I noticed some code duplication while trying to resolve a bug originally reported by Rhys Ulerich: https://lists.gnu.org/archive/html/bug-gnulib/2013-10/msg00049.html * modules/include_next (Depends-on): Add absolute-header. * m4/include_next.m4 (gl_NEXT_HEADERS_INTERNAL): Reuse gl_ABSOLUTE_HEADER

Re: [PATCH] autogen: work around BSD toolchain snafu

2013-12-04 Thread Eric Blake
On 12/04/2013 01:01 AM, Roman Bogorodskiy wrote: >> >> We found a workaround - fake the use of an intl subdirectory long >> enough for autopoint to get what it wants from that fallback. This >> workaround may eventually move upstream into gnulib's bootstrap; >> when it does, we can remove the hac

[PATCH] getcwd: fix compile error in configure check

2013-12-04 Thread Pádraig Brady
I pushed this to fix a compile error in the getcwd configure check. diff --git a/m4/getcwd-abort-bug.m4 b/m4/getcwd-abort-bug.m4 index 9b3b563..544b037 100644 --- a/m4/getcwd-abort-bug.m4 +++ b/m4/getcwd-abort-bug.m4 @@ -27,6 +27,7 @@ AC_DEFUN([gl_FUNC_GETCWD_ABORT_BUG], AC_RUN_IFELSE(

Re: Hanging conftest

2013-12-04 Thread Pádraig Brady
On 12/04/2013 03:38 AM, Pádraig Brady wrote: > Unfortunately I'm seeing cores with this. > > #0 0x00375ce35215 in raise () from /lib64/libc.so.6 > #1 0x00375ce36b2b in abort () from /lib64/libc.so.6 > #2 0x00375ce78550 in malloc_printerr () from /lib64/libc.so.6 > #3 0x

Re: [PATCH] autogen: work around BSD toolchain snafu

2013-12-04 Thread Roman Bogorodskiy
Eric Blake wrote: > With my help on IRC, Roman Bogorodskiy identified a bug where the > BSD autoconf wrapper script eats stdin[1], which in turn causes > autopoint from gettext 0.18.3 to fail to find AM_GNU_GETTEXT_VERSION > within configure.ac[2], with this error: > > ./bootstrap: autopoint --