From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0) Description of problem: Compiling openssl-0.9.6b for linux-elf results in segmentation fault: x_pubkey.c: In function `d2i_DSA_PUBKEY': x_pubkey.c:366: Internal error: Segmentation fault. Please submit a full bug report. See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions. How reproducible: Always Steps to Reproduce: 1. Obtain openssl-0.9.6b.tar.gz from www.oopenssl.org 2. unzip and un-tar the file 3. ./config (for linux-elf by default) 4. make Actual Results: x_pubkey.c: In function `d2i_DSA_PUBKEY': x_pubkey.c:366: Internal error: Segmentation fault. Please submit a full bug report. See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions. Expected Results: No error. Additional info: Also got a seg fault with openssl-0.9.6a, although it was at a different point.
Which version of gcc are you seeing this with (gcc -v)? I don't see this with my currently-installed version (2.96-95), nor when I back down to the 2.96-85 errata packages.
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs gcc version 2.96 20000731 (Red Hat Linux 7.1.2.96-81)
This was seen by a few people when using old 7.x gcc, but went away with the latest gcc errata there.