regex.c value out of range on Solaris compiler

2017-04-14 Thread Gavin Smith
Hello, When I try to compile a program using the 'regex' module on Solaris 10, I get the output /opt/solarisstudio12.3/bin/c99 -Xc -D_XPG6 -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -I/opt/csw/include -c -o regex.o regex.c "regex_internal.h", line 105: warning: macro redefined: gettext "regex_

Re: Problem with valgrind-tests: relies on bash not causing error

2017-04-14 Thread Marc Nieper-Wißkirchen
Hi Bruno, Hi Reuben, >/The test for whether to use valgrind runs:/ >// >//bin/bash -c 'exit 0'/ >// >/This looks pretty harmless; unfortunately, bash itself causes problems:/ I'd suggest that you change m4/valgrind-tests.m4 to use the AC_CACHE_CHECK macro instead

Re: regex.c value out of range on Solaris compiler

2017-04-14 Thread Gavin Smith
On Fri, Apr 14, 2017 at 10:27:45PM +0100, Gavin Smith wrote: > Line 21273 is > subl$4294967296,%eax > > Line 21294 is > subl$4294967296,%eax > > > the problem occurs. I believe that the faulty code is coming from the > use of INT_ADD_WRAPV from intprops.h. I haven't inve

Printing out generic advice during bootstrap

2017-04-14 Thread Reuben Thomas
I just wrote a valgrind suppressions file for the relocatable modules, because relocatable.c intentionally leaks memory. I intend to add this as part of my (forthcoming!) patchset for the relocatable modules. (Since no-one has provided detailed feedback on my questions so far, I intend to proceed

Re: regex.c value out of range on Solaris compiler

2017-04-14 Thread Paul Eggert
Thanks for reporting the problem. On 04/14/2017 02:27 PM, Gavin Smith wrote: > /opt/solarisstudio12.3/bin/c99 -Xc -D_XPG6 -DHAVE_CONFIG_H -I. -I../.. > -D_REENTRANT -I/opt/csw/include -c -o regex.o regex.c > "regex_internal.h", line 105: warning: macro redefined: gettext That's odd. Where was t