Subject: Re: Internal compiler error while compiling openssl
To: Daniel Eggert <danieleggert@mac.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 10/02/2002 22:28:54
On Wed, Oct 02, 2002 at 11:14:30AM +0200, Daniel Eggert wrote:
> On onsdag, okt 2, 2002, at 10:45 Europe/Copenhagen, Daniel Eggert wrote:
> 
> >While trying to compile openssl on 1.6 I got the following:
> >
> >	[] /usr/pkgsrc/security/openssl# nohup make
> >	===> Building for openssl-0.9.6g
> ><snip>
> >	making all in crypto/pkcs12...
> >	making all in crypto/comp...
> >	gcc -o bntest -I../include -fPIC -DDSO_DLFCN -DHAVE_DLFCN_H 
> >	-DTERMIOS -O2 -Wall -DB_ENDIAN bntest.o  -L.. -lcrypto -Wl,-R/usr/pkg/lib
> >	cc: Internal compiler error: program ld got fatal signal 4
> >	*** Error code 1
> >	
> >	Stop.
> >	make: stopped in 
> >	/usr/pkgsrc/security/openssl/work/openssl-0.9.6g/test
> >	*** Error code 1
> >	
> >How come? I've compiled openssl before.
> 
> ld also sometimes gets a signal 11. Signal 4 is SIGILL: 'illegal 
> instruction' and signal 11 is SIGSEGV: 'segmentation violation'.
> 
> Something must be really wrong. What can I do about this? Do I have to 
> reinstall?

What arch are you running ?
This looks like a hardware problem (bad ram, usually) exept for some models
of sparc where there is a known bug causing this.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
--