It worked for us on Solaris 10; see:
https://buildfarm.opencsw.org/buildbot/builders/ggrep-solaris10-sparc/builds/205
so either there's something different about Solaris 11, or something else
different on your setup (maybe you have libsigsegv installed?).
On 9/27/20 11:55 PM, Kiyoshi KANAZAWA wrote:
$ ./configure CC=gcc
What's the output of that command? In particular, what does it say here?
...
checking for a traditional french locale... none
checking for working C stack overflow detection... yes
checking for correct stack_t interpretation... yes
checking for precise C stack overflow detection... yes
checking for ld used by gcc -std=gnu99... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for shared library run path origin... done
checking 32-bit host C ABI... yes
checking for ELF binary format... yes
checking for the common suffixes of directories in the library search path...
lib,lib,lib
checking for libsigsegv... no, consider installing GNU libsigsegv
checking how gcc -std=gnu99 reports undeclared, standard C functions... error
...
(This is a copy of what I got on Solaris 10 when configuring with "./configure
CC=gcc".)
What are the contents of src/Makefile, config.h, and config.log? Please send
them as attachments.
Thanks.