Subject: [grep-3.5] make failed on Solaris 11.3 x86/x64

From: Kiyoshi KANAZAWA <[email-masked]>
Date: Mon, 28 Sep 2020 15:55:47 +0900 (JST)

Hello,

Trying to build grep-3.5, but make failed on Solaris 11.3 x86/x64.

$ uname -a
SunOS hidden 5.11 11.3 i86pc i386 i86pc
$ gcc --version
gcc (GCC) 9.3.0

$ ./configure CC=gcc
$ make
  :
  CC       searchutils.o
  CC       pcresearch.o
  CCLD     grep
Undefined                       first referenced
 symbol                             in file
stackoverflow_install_handler       ../lib/libgreputils.a(c-stack.o)
sigsegv_install_handler             ../lib/libgreputils.a(c-stack.o)
ld: fatal: symbol referencing errors
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:1620: grep] Error 1
make[2]: Leaving directory '/tmp/grep-3.5/src'
make[1]: *** [Makefile:1609: all-recursive] Error 1
make[1]: Leaving directory '/tmp/grep-3.5'
make: *** [Makefile:1550: all] Error 2

Regards,

--- Kiyoshi