[openssl.org #2596] report possible bug in 1.0.0e install.
old release, not enough information to reproduce, closing ticket. -- Rich Salz, OpenSSL dev team; rs...@openssl.org __ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager majord...@openssl.org
Re: [openssl.org #2596] report possible bug in 1.0.0e install.
On Mon, 09/19/2011 11:32 AM, Zaccone, Warren wrote: deleting lines 828, 829, and 830 caused the config to complete successfully for 1.0.0e. Results below. However the make fails. I have copied the make results below. I will poke around a bit to determine why. I am sending this on, in case the make error is related to the previous. I did not receive this make error with 1.0.0d /home/zac/openssl-1.0.0e $ ./config -openssldir /usr/local/apache/ssl shared --prefix=/usr/local/apache/ssl Operating system: sun4u-whatever-solaris2 NOTICE! If you *know* that your GNU C supports 64-bit/V9 ABI and wish to build 64-bit library, then you have to invoke './Configure solaris64-sparcv9-gcc' *manually*. You have about 5 seconds to press Ctrl-C to abort. Configuring for solaris-sparcv9-gcc Configuring for solaris-sparcv9-gcc no-gmp [default] OPENSSL_NO_GMP (skip dir) no-jpake[experimental] OPENSSL_NO_JPAKE (skip dir) no-krb5 [krb5-flavor not specified] OPENSSL_NO_KRB5 no-md2 [default] OPENSSL_NO_MD2 (skip dir) no-rc5 [default] OPENSSL_NO_RC5 (skip dir) no-rfc3779 [default] OPENSSL_NO_RFC3779 (skip dir) no-store[experimental] OPENSSL_NO_STORE (skip dir) no-zlib [default] no-zlib-dynamic [default] IsMK1MF=0 CC=gcc CFLAG =-fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -D HAVE_DLFCN_H -openssldir=/usr/local/apache/ssl -m32 -mcpu=ultrasparc -O3 -fomit- frame-pointer -Wall -DB_ENDIAN -DBN_DIV2W -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA 256_ASM -DSHA512_ASM -DAES_ASM EX_LIBS =-lsocket -lnsl -ldl CPUID_OBJ =sparcv9cap.o sparccpuid.o BN_ASM=bn-sparcv9.o sparcv9-mont.o sparcv9a-mont.o DES_ENC =des_enc-sparc.o fcrypt_b.o AES_ENC =aes_core.o aes_cbc.o aes-sparcv9.o BF_ENC=bf_enc.o CAST_ENC =c_enc.o RC4_ENC =rc4_enc.o rc4_skey.o RC5_ENC =rc5_enc.o MD5_OBJ_ASM = SHA1_OBJ_ASM =sha1-sparcv9.o sha256-sparcv9.o sha512-sparcv9.o RMD160_OBJ_ASM= CMLL_ENC= =camellia.o cmll_misc.o cmll_cbc.o PROCESSOR = RANLIB=/usr/ccs/bin/ranlib ARFLAGS = PERL =/usr/local/bin/perl THIRTY_TWO_BIT mode DES_UNROLL used BN_LLONG mode RC4 uses uchar RC4_CHUNK is unsigned long BF_PTR used e_os2.h = include/openssl/e_os2.h making links in crypto... make[1]: Entering directory `/home/zac/openssl-1.0.0e/crypto' crypto.h = ../include/openssl/crypto.h opensslv.h = ../include/openssl/opensslv.h opensslconf.h = ../include/openssl/opensslconf.h ebcdic.h = ../include/openssl/ebcdic.h symhacks.h = ../include/openssl/symhacks.h ossl_typ.h = ../include/openssl/ossl_typ.h making links in crypto/objects... make[2]: Entering directory `/home/zac/openssl-1.0.0e/crypto/objects' objects.h = ../../include/openssl/objects.h obj_mac.h = ../../include/openssl/obj_mac.h make[2]: Leaving directory `/home/zac/openssl-1.0.0e/crypto/objects' making links in crypto/md4... make[2]: Entering directory `/home/zac/openssl-1.0.0e/crypto/md4' md4.h = ../../include/openssl/md4.h md4test.c = ../../test/md4test.c md4.c = ../../apps/md4.c make[2]: Leaving directory `/home/zac/openssl-1.0.0e/crypto/md4' making links in crypto/md5... make[2]: Entering directory `/home/zac/openssl-1.0.0e/crypto/md5' md5.h = ../../include/openssl/md5.h md5test.c = ../../test/md5test.c make[2]: Leaving directory `/home/zac/openssl-1.0.0e/crypto/md5' making links in crypto/sha... make[2]: Entering directory `/home/zac/openssl-1.0.0e/crypto/sha' sha.h = ../../include/openssl/sha.h shatest.c = ../../test/shatest.c sha1test.c = ../../test/sha1test.c sha256t.c = ../../test/sha256t.c sha512t.c = ../../test/sha512t.c make[2]: Leaving directory `/home/zac/openssl-1.0.0e/crypto/sha' making links in crypto/mdc2... make[2]: Entering directory `/home/zac/openssl-1.0.0e/crypto/mdc2' mdc2.h = ../../include/openssl/mdc2.h mdc2test.c = ../../test/mdc2test.c make[2]: Leaving directory `/home/zac/openssl-1.0.0e/crypto/mdc2' making links in crypto/hmac... make[2]: Entering directory `/home/zac/openssl-1.0.0e/crypto/hmac' hmac.h = ../../include/openssl/hmac.h hmactest.c = ../../test/hmactest.c make[2]: Leaving directory `/home/zac/openssl-1.0.0e/crypto/hmac' making links in crypto/ripemd... make[2]: Entering directory `/home/zac/openssl-1.0.0e/crypto/ripemd' ripemd.h = ../../include/openssl/ripemd.h rmdtest.c = ../../test/rmdtest.c make[2]: Leaving directory `/home/zac/openssl-1.0.0e/crypto/ripemd' making links in crypto/whrlpool... make[2]: Entering directory `/home/zac/openssl-1.0.0e/crypto/whrlpool' whrlpool.h = ../../include/openssl/whrlpool.h wp_test.c = ../../test/wp_test.c make[2]: Leaving directory `/home/zac/openssl-1.0.0e/crypto/whrlpool' making links in crypto/des... make[2]: Entering directory `/home/zac/openssl-1.0.0e/crypto/des' des.h = ../../include/openssl/des.h des_old.h = ../../include/openssl/des_old.h destest.c =
Re: [openssl.org #2596] report possible bug in 1.0.0e install.
On 9/13/2011 10:57 AM, Zaccone, Warren wrote: There is also appears to be a critical issue. the config command removed /dev/null. ON next reboot this causes Solaris 10 to be unable to boot up. # pwd # ls -l /dev/null lrwxrwxrwx 1 root root 27 Sep 13 10:46 /dev/null - ../devices/pseudo/mm@0:null cd /home/zac/openssl-1.0.0e # ./config -openssldir=/usr/local/apache/ssl shared --prefix=/usr/local/apache/ssl Operating system: sun4u-whatever-solaris2 NOTICE! If you *know* that your GNU C supports 64-bit/V9 ABI and wish to build 64-bit library, then you have to invoke './Configure solaris64-sparcv9-gcc' *manually*. You have about 5 seconds to press Ctrl-C to abort. Can't open perl script -e: No such file or directory Can't open perl script -e: No such file or directory Can't open perl script -e: No such file or directory Can't open perl script -e: No such file or directory Can't open perl script -e: No such file or directory Can't open perl script -e: No such file or directory Can't open perl script -e: No such file or directory Can't open perl script -e: No such file or directory Can't open perl script -e: No such file or directory Can't open perl script -e: No such file or directory You need Perl 5. /dev/null has been removed by the openssl config command... # ls -l /dev/null /dev/null: No such file or directory # pwd /home/zac/openssl-1.0.0e # make making all in crypto... make[1]: Entering directory `/home/zac/openssl-1.0.0e/crypto' ( echo #ifndef MK1MF_BUILD; \ echo ' /* auto-generated by crypto/Makefile for crypto/cversion.c */'; \ echo ' #define CFLAGS cc -KPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REEN TRANT -DDSO_DLFCN -DHAVE_DLFCN_H -openssldir=/usr/local/apache/ssl -xtarget=ultr a -xarch=v8plus -xO5 -xstrconst -xdepend -Xa -DB_ENDIAN -DBN_DIV2W -DOPENSSL_BN_ ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DAES_ASM'; \ echo ' #define PLATFORM solaris-sparcv9-cc'; \ echo #define DATE \`LC_ALL=C LC_TIME=C date`\; \ echo '#endif' )buildinf.h cc -I. -I.. -I../include -KPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DD SO_DLFCN -DHAVE_DLFCN_H -openssldir=/usr/local/apache/ssl -xtarget=ultra -xarch= v8plus -xO5 -xstrconst -xdepend -Xa -DB_ENDIAN -DBN_DIV2W -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DAES_ASM -c -o cryptlib.o cryptlib.c /usr/ucb/cc: language optional software package not installed make[1]: *** [cryptlib.o] Error 1 make[1]: Leaving directory `/home/zac/openssl-1.0.0e/crypto' make: *** [build_crypto] Error 1 # # which perl /usr/local/bin/perl # perl -v This is perl, v5.8.4 built for sun4-solaris-64int (with 32 registered patches, see perl -V for more detail) Copyright 1987-2004, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using `man perl' or `perldoc perl'. If you have access to the Internet, point your browser at http://www.perl.com/, the Perl Home Page. The lines: ($CC -Wa,--help -c -o /dev/null -x assembler /dev/null 21 | \ grep \\--noexecstack) 21 /dev/null \ options=$options -Wa,--noexecstack Were added to the config script by change 21168. Note the C compiler is passed -o /dev/null. I suspect that's overwriting /dev/null. Shortly after is the perl test that is failing (on line 897). I suspect something about those three lines is breaking the bash syntax syntax structure for the perl test logic; or possibly breaking perl completely; but without a Solaris box available I can't say for sure. You might want to start by removing lines 828, 829, and 930 from the config file and see if that fixes things. http://cvs.openssl.org/chngview?cn=21168 Ladar Levison __ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager majord...@openssl.org
Re: [openssl.org #2596] report possible bug in 1.0.0e install.
On 14.09.2011 17:27, Ladar Levison wrote: On 9/13/2011 10:57 AM, Zaccone, Warren wrote: There is also appears to be a critical issue. the config command removed /dev/null. ON next reboot this causes Solaris 10 to be unable to boot up. # pwd # ls -l /dev/null lrwxrwxrwx 1 root root 27 Sep 13 10:46 /dev/null - ../devices/pseudo/mm@0:null ... Note this is only an issue if you build it using the root user - which you should *never* do. As non-root /dev/null can not be removed. Regards, Rainer __ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager majord...@openssl.org
Re: [openssl.org #2596] report possible bug in 1.0.0e install.
On 9/10/2011 1:05 PM, Zaccone, Warren via RT wrote: Below are the results for the 1.0.0e build. It appears to be not be finding gcc as it attempts to use cc. Results? Could you send the output from config and make? __ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager majord...@openssl.org