Re: Error with gnulib and i686 with older kernels

2022-04-29 Thread Satadru Pramanik
Tom Troney's patch in https://lists.gnu.org/archive/html/bug-gnulib/2022-04/msg00075.html solves this for us. On Fri, Apr 29, 2022 at 4:59 PM Satadru Pramanik wrote: > > I am building gnulib via a 3rd party project (pax-utils) on a i686 > system with 3.8 kernel headers. > > I get this error. This

setlocale with NULL locale (to read current locale) segfaults on MSYS

2022-04-29 Thread Reuben Thomas
It works fine on mingw32 and mingw64, but on MSYS it goes wrong when calling pthread_mutex_lock. In the following gdb session, the first line is from my code; the rest is tracing through gnulib code. (gdb) n 171 char *old_locale = setlocale(LC_ALL, NULL); (gdb) s rpl_setlocale (category=0,

Error with gnulib and i686 with older kernels

2022-04-29 Thread Satadru Pramanik
I am building gnulib via a 3rd party project (pax-utils) on a i686 system with 3.8 kernel headers. I get this error. This is a recent regression causing the following build failure. Any idea where I should start to look to get this fixed? make[3]: Entering directory '/usr/local/tmp/crew/pax_utils

string.h on rhES 7

2022-04-29 Thread Tom Tromey
Hi. gdb recently updated gnulib to GNULIB_COMMIT_SHA1="0cda5beb7962f6567f0c4e377df870fa05c6d681" This caused a build failure here at AdaCore, where we are using a relatively recent GCC (11.2) on an rhES 7 host: CC libgnu_a-openat-proc.o In file included from /usr/include/string.h:633,