Subject: Re: bug#43666: [grep-3.5] make failed on Solaris 11.3 x86/x64

From: Kiyoshi KANAZAWA <[email-masked]>
Date: Mon, 28 Sep 2020 19:45:46 +0900 (JST)

Hi Jeff,

OpenCSW is not the default Solaris package.
Is it a new requirement from grep-3.5 ?
I can install other GNU software without OpenCSW, including grep-3.4.

Tried OpenCSW.
$ sudo pkgadd -d http://get.opencsw.org/now
and set /opt/csw/bin in PATH.
(/opt/csw/gnu is not found.)
But the result was the same.

Comparing src/Makefile between CC=gcc & CC='gcc -m64',
I found
"LIBCSTACK = "           with CC=gcc
"LIBCSTACK = -lsigsegv"  with CC='gcc -m64'

and it is possible to build grep-3.5 with CC=gcc such as
$ ./configure CC=gcc LIBCSTACK=-lsigsegv
$ make
$ make check

Regards,

--- Kiyoshi