Re: grep-3.5 fails to build on Solaris when libsigsegv is installed

2020-10-05 Thread Paul Eggert
Further testing suggested one more patch (attached), which I also installed into Gnulib master on savannah. >From 05b2d40dd751dd182f58118f4d3273ad8136b4ee Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 4 Oct 2020 18:12:50 -0700 Subject: [PATCH] c-stack: pacify GCC 9.3.1 when using libsigse

Re: grep-3.5 fails to build on Solaris when libsigsegv is installed

2020-10-04 Thread Paul Eggert
On 9/28/20 7:02 PM, Bruno Haible wrote: #define USE_LIBSIGSEGV (HAVE_XSI_STACK_OVERFLOW_HEURISTIC && HAVE_LIBSIGSEGV) There seems to be a logic mistake, here. You're right, it's a typo: there should be a "!" before the HAVE_XSI_STACK_OVERFLOW_HEURISTIC. As a result of this mistake, libsigsegv

grep-3.5 fails to build on Solaris when libsigsegv is installed

2020-09-28 Thread Bruno Haible
Hi Paul, On Solaris 10, when libsigsegv is installed with the same --prefix as passed to grep's configure: - grep 3.4 builds fine. - grep 3.5 fails to build: CCLD grep ld: warning: file /PREFIX/lib/libiconv.so: attempted multiple inclusion of file Undefined first r