bug#24602: grep-2.26 make check fails on i686

2016-10-04 Thread Paul Eggert
On 10/04/2016 06:33 AM, Jaroslav Skarvada wrote: In fact it's glibc, affected version: glibc-2.24.90-8 I sent a heads-up about this to libc-alpha, here: https://sourceware.org/ml/libc-alpha/2016-10/msg00044.html Something like the attached gnulib patch should work around the problem, but I w

bug#24602: grep-2.26 make check fails on i686

2016-10-04 Thread Jim Meyering
tags 24602 notabug stop On Tue, Oct 4, 2016 at 6:33 AM, Jaroslav Skarvada wrote: ... >> GCC Fedora bug: >> https://bugzilla.redhat.com/show_bug.cgi?id=1381582 >> >> thanks & regards >> >> Jaroslav >> > > In fact it's glibc, affected version: glibc-2.24.90-8 Thanks for following through.

bug#24602: grep-2.26 make check fails on i686

2016-10-04 Thread Jaroslav Skarvada
- Original Message - > > > - Original Message - > > Thanks for reporting a problem. Please run the attached program width.c > > on your platform with your C compiler and the compiler flags you're > > using to build 'grep'. Although width.c should output "sizeof(long)=4 > > LONG_

bug#24602: grep-2.26 make check fails on i686

2016-10-04 Thread Jaroslav Skarvada
- Original Message - > > > - Original Message - > > > > > > - Original Message - > > > Thanks for reporting a problem. Please run the attached program width.c > > > on your platform with your C compiler and the compiler flags you're > > > using to build 'grep'. Althoug

bug#24602: grep-2.26 make check fails on i686

2016-10-04 Thread Jaroslav Skarvada
- Original Message - > Thanks for reporting a problem. Please run the attached program width.c > on your platform with your C compiler and the compiler flags you're > using to build 'grep'. Although width.c should output "sizeof(long)=4 > LONG_WIDTH=32 LONG_MIN=-2147483648 LONG_MAX=214748

bug#24602: grep-2.26 make check fails on i686

2016-10-03 Thread Jim Meyering
On Mon, Oct 3, 2016 at 2:48 PM, Jaroslav Skarvada wrote: > Reproduced on Fedora Rawhide, gcc-6.2.1: > > $ make check > ... > In file included from test-limits-h.c:23:0: > test-limits-h.c:28:17: warning: right shift count >= width of type > [-Wshift-count-overflow] >verify ((max) >> ((width) -

bug#24602: grep-2.26 make check fails on i686

2016-10-03 Thread Paul Eggert
Thanks for reporting a problem. Please run the attached program width.c on your platform with your C compiler and the compiler flags you're using to build 'grep'. Although width.c should output "sizeof(long)=4 LONG_WIDTH=32 LONG_MIN=-2147483648 LONG_MAX=2147483647", it appears from your build l

bug#24602: grep-2.26 make check fails on i686

2016-10-03 Thread Assaf Gordon
Hello, > On Oct 3, 2016, at 17:48, Jaroslav Skarvada wrote: > > Reproduced on Fedora Rawhide, gcc-6.2.1: > > [...] > Full build log: > https://kojipkgs.fedoraproject.org/work/tasks/8044/15928044/build.log > x86_64 seems to work OK As a side note, these are gnulib tests which fail to compile, g

bug#24602: grep-2.26 make check fails on i686

2016-10-03 Thread Jaroslav Skarvada
Reproduced on Fedora Rawhide, gcc-6.2.1: $ make check ... In file included from test-limits-h.c:23:0: test-limits-h.c:28:17: warning: right shift count >= width of type [-Wshift-count-overflow] verify ((max) >> ((width) - 1 - ((min) < 0)) == 1) ^ ../lib/verify.h:251:31: note: