Summary: OpenSSL-0.9.6 compiles without any errors, but segfaults during testing. Removing optimization flags from the compiler command does not help. The C libraries, compilers, and binutils have been rebuilt twice and are at the last known stable version. Tests that segfault: bntests, destest, dhtest, dsatest, exptest, randtest, rsa_test and ssltest. apps/openssl itself also segfaults when run. gdb output implicates multiple functions across multiple system components, including /lib/ld-linux.so.2 (openssl), genops.c (destest) dl-lookup.c, and something called "object.11". I'm not a programmer, so I haven't got a clue what this is; in any case, gdb output is frighteningly unhelpful for me. Curiously, the library itself built correctly and can be linked against. (I've been trying to build openssl to upgrade ssh, and it's through that new and improved ssh that I'm sending this mail.) System Data: Linux kernel 2.2.14, glibc-2.1.3, gcc-2.95.2, binutils-2.10. This problem, whatever the origins, only seems to affect OpenSSL; all other software will compile just fine. Output from 'make report': OpenSSL self-test report: OpenSSL version: 0.9.6 Last change: In ssl23_get_client_hello, generate an error message wh... OS (uname): Linux lauriel 2.2.14 #3 Mon Feb 28 22:41:04 PST 2000 i586 unknown OS (config): i586-whatever-linux2 Target (default): ?? Target: linux-elf Compiler: gcc version 2.95.2 19991024 (release) Failure! ----------------------------------------------------------------------------- make[1]: Entering directory `/phloem/openssl-0.9.6' making all in crypto... make[2]: Entering directory `/phloem/openssl-0.9.6/crypto' making all in crypto/md2... make[3]: Entering directory `/phloem/openssl-0.9.6/crypto/md2' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/phloem/openssl-0.9.6/crypto/md2' making all in crypto/md4... make[3]: Entering directory `/phloem/openssl-0.9.6/crypto/md4' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/phloem/openssl-0.9.6/crypto/md4' making all in crypto/md5... make[3]: Entering directory `/phloem/openssl-0.9.6/crypto/md5' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/phloem/openssl-0.9.6/crypto/md5' making all in crypto/sha... make[3]: Entering directory `/phloem/openssl-0.9.6/crypto/sha' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/phloem/openssl-0.9.6/crypto/sha' making all in crypto/mdc2... make[3]: Entering directory `/phloem/openssl-0.9.6/crypto/mdc2' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/phloem/openssl-0.9.6/crypto/mdc2' making all in crypto/hmac... make[3]: Entering directory `/phloem/openssl-0.9.6/crypto/hmac' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/phloem/openssl-0.9.6/crypto/hmac' making all in crypto/ripemd... make[3]: Entering directory `/phloem/openssl-0.9.6/crypto/ripemd' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/phloem/openssl-0.9.6/crypto/ripemd' making all in crypto/des... make[3]: Entering directory `/phloem/openssl-0.9.6/crypto/des' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/phloem/openssl-0.9.6/crypto/des' making all in crypto/rc2... make[3]: Entering directory `/phloem/openssl-0.9.6/crypto/rc2' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/phloem/openssl-0.9.6/crypto/rc2' making all in crypto/rc4... make[3]: Entering directory `/phloem/openssl-0.9.6/crypto/rc4' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/phloem/openssl-0.9.6/crypto/rc4' making all in crypto/rc5... make[3]: Entering directory `/phloem/openssl-0.9.6/crypto/rc5' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/phloem/openssl-0.9.6/crypto/rc5' making all in crypto/idea... make[3]: Entering directory `/phloem/openssl-0.9.6/crypto/idea' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/phloem/openssl-0.9.6/crypto/idea' making all in crypto/bf... make[3]: Entering directory `/phloem/openssl-0.9.6/crypto/bf' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/phloem/openssl-0.9.6/crypto/bf' making all in crypto/cast... make[3]: Entering directory `/phloem/openssl-0.9.6/crypto/cast' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/phloem/openssl-0.9.6/crypto/cast' making all in crypto/bn... make[3]: Entering directory `/phloem/openssl-0.9.6/crypto/bn' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/phloem/openssl-0.9.6/crypto/bn' making all in crypto/rsa... make[3]: Entering directory `/phloem/openssl-0.9.6/crypto/rsa' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/phloem/openssl-0.9.6/crypto/rsa' making all in crypto/dsa... make[3]: Entering directory `/phloem/openssl-0.9.6/crypto/dsa' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/phloem/openssl-0.9.6/crypto/dsa' making all in crypto/dh... make[3]: Entering directory `/phloem/openssl-0.9.6/crypto/dh' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/phloem/openssl-0.9.6/crypto/dh' making all in crypto/dso... make[3]: Entering directory `/phloem/openssl-0.9.6/crypto/dso' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/phloem/openssl-0.9.6/crypto/dso' making all in crypto/buffer... make[3]: Entering directory `/phloem/openssl-0.9.6/crypto/buffer' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/phloem/openssl-0.9.6/crypto/buffer' making all in crypto/bio... make[3]: Entering directory `/phloem/openssl-0.9.6/crypto/bio' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/phloem/openssl-0.9.6/crypto/bio' making all in crypto/stack... make[3]: Entering directory `/phloem/openssl-0.9.6/crypto/stack' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/phloem/openssl-0.9.6/crypto/stack' making all in crypto/lhash... make[3]: Entering directory `/phloem/openssl-0.9.6/crypto/lhash' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/phloem/openssl-0.9.6/crypto/lhash' making all in crypto/rand... make[3]: Entering directory `/phloem/openssl-0.9.6/crypto/rand' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/phloem/openssl-0.9.6/crypto/rand' making all in crypto/err... make[3]: Entering directory `/phloem/openssl-0.9.6/crypto/err' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/phloem/openssl-0.9.6/crypto/err' making all in crypto/objects... make[3]: Entering directory `/phloem/openssl-0.9.6/crypto/objects' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/phloem/openssl-0.9.6/crypto/objects' making all in crypto/evp... make[3]: Entering directory `/phloem/openssl-0.9.6/crypto/evp' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/phloem/openssl-0.9.6/crypto/evp' making all in crypto/asn1... make[3]: Entering directory `/phloem/openssl-0.9.6/crypto/asn1' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/phloem/openssl-0.9.6/crypto/asn1' making all in crypto/pem... make[3]: Entering directory `/phloem/openssl-0.9.6/crypto/pem' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/phloem/openssl-0.9.6/crypto/pem' making all in crypto/x509... make[3]: Entering directory `/phloem/openssl-0.9.6/crypto/x509' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/phloem/openssl-0.9.6/crypto/x509' making all in crypto/x509v3... make[3]: Entering directory `/phloem/openssl-0.9.6/crypto/x509v3' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/phloem/openssl-0.9.6/crypto/x509v3' making all in crypto/conf... make[3]: Entering directory `/phloem/openssl-0.9.6/crypto/conf' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/phloem/openssl-0.9.6/crypto/conf' making all in crypto/txt_db... make[3]: Entering directory `/phloem/openssl-0.9.6/crypto/txt_db' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/phloem/openssl-0.9.6/crypto/txt_db' making all in crypto/pkcs7... make[3]: Entering directory `/phloem/openssl-0.9.6/crypto/pkcs7' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/phloem/openssl-0.9.6/crypto/pkcs7' making all in crypto/pkcs12... make[3]: Entering directory `/phloem/openssl-0.9.6/crypto/pkcs12' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/phloem/openssl-0.9.6/crypto/pkcs12' making all in crypto/comp... make[3]: Entering directory `/phloem/openssl-0.9.6/crypto/comp' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/phloem/openssl-0.9.6/crypto/comp' make[2]: Leaving directory `/phloem/openssl-0.9.6/crypto' making all in ssl... make[2]: Entering directory `/phloem/openssl-0.9.6/ssl' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/phloem/openssl-0.9.6/ssl' making all in rsaref... make[2]: Entering directory `/phloem/openssl-0.9.6/rsaref' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/phloem/openssl-0.9.6/rsaref' making all in apps... make[2]: Entering directory `/phloem/openssl-0.9.6/apps' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/phloem/openssl-0.9.6/apps' making all in test... make[2]: Entering directory `/phloem/openssl-0.9.6/test' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/phloem/openssl-0.9.6/test' making all in tools... make[2]: Entering directory `/phloem/openssl-0.9.6/tools' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/phloem/openssl-0.9.6/tools' make[1]: Leaving directory `/phloem/openssl-0.9.6' ----------------------------------------------------------------------------- make[1]: Entering directory `/phloem/openssl-0.9.6' testing... make[2]: Entering directory `/phloem/openssl-0.9.6/test' make[3]: Entering directory `/phloem/openssl-0.9.6/apps' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/phloem/openssl-0.9.6/apps' ./destest Doing cbcm Doing ecb Doing ede ecb Doing cbc Doing desx cbc Doing ede cbc Doing pcbc Doing cfb8 cfb16 cfb32 cfb48 cfb64 cfb64() ede_cfb64() done Doing ofb Doing ofb64 Doing ede_ofb64 Doing cbc_cksum Doing quad_cksum input word alignment test 0 1 2 3 output word alignment test 0 1 2 3 fast crypt test make[2]: *** [test_des] Segmentation fault make[2]: Leaving directory `/phloem/openssl-0.9.6/test' make[1]: *** [tests] Error 2 make[1]: Leaving directory `/phloem/openssl-0.9.6' ----------------------------------------------------------------------------- Thanks for any help anyone can provide. -- mike sugimoto, gmd/cs/ss [EMAIL PROTECTED] http://fumbling.com/ "no one is watching me slide below street level, barely alive.." --sarah harmer ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
