Subject: pkg/32818: [SOLARIS] gmake makes openssl-0.9.7inb1 fails to compile on Solaris with Segmentation Fault
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <raczkow@prz.edu.pl>
List: pkgsrc-bugs
Date: 02/13/2006 13:05:00
>Number:         32818
>Category:       pkg
>Synopsis:       [SOLARIS] gmake makes openssl-0.9.7inb1 fails to compile on Solaris with Segmentation Fault
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 13 13:05:00 +0000 2006
>Originator:     Krzysztof Raczkowski
>Release:        Solaris 10, x86_64
>Organization:
Rzeszow university of Technology
>Environment:
SunOS pkgsrc-i64 5.10 Generic_118844-27 i86pc i386 i86pc
>Description:
I'm trying to compile openssl with today's pkgsrc cvs branch.
Compilation failes with following error: 
[...]
making all in tools...
Segmentation Fault - core dumped
Segmentation Fault (core dumped)

I'm using gmake-3.80nb5 linked with gettext-lib-0.14.5 and I think gettext-lib generates this problem

When I use gmake from SUN packages, compilation runs smoothly:
[...]
making all in tools...
gmake[1]: Entering directory `/root/tmp/openssl/openssl-0.9.7i/tools'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/root/tmp/openssl/openssl-0.9.7i/tools'

>How-To-Repeat:
1. install gmake-3.80nb5
2. try to compile openssl
3. watch Segmentation Fault message
>Fix:
currently my only solution is switching gmake from Sun's SUNWgmake package