Subject: Re: Internal compiler error while compiling openssl
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Daniel Eggert <danieleggert@mac.com>
List: netbsd-help
Date: 10/03/2002 08:47:44
On onsdag, okt 2, 2002, at 22:28 Europe/Copenhagen, Manuel Bouyer wrote:

> 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 ?

Running on a 5/6 year old macppc box.

> This looks like a hardware problem (bad ram, usually) exept for some 
> models
> of sparc where there is a known bug causing this.

I'll try to swap some hardware (RAM, CPU, ...) to see if that helps.

Thanks,
Daniel