openssl-0.9.8g
SunOS www01.unix 5.10 Generic_118844-26 i86pc i386 i86pc
gcc version 3.4.6

# rm -rf /usr/local/ssl/
# gtar -zxvf openssl-0.9.8g.tar.gz
# ./config enable-tlsext
[snip]
Configured for solaris-x86-gcc.
# make depend
[snip]

# make
[snip]

make[2]: Entering directory `/export/nfs/src/www/openssl-0.9.8g/apps'
( :; LIBDEPS="${LIBDEPS:--L.. -lssl -L.. -lcrypto -lsocket -lnsl -ldl}"; LDCMD="${LDCMD:-gcc}"; LDFLAGS="${LDFLAGS:--DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -O3 -fomit-frame-pointer -march=pentium -Wall -DL_ENDIAN -DOPENSSL_NO_INLINE_ASM -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM}"; LIBPATH=`for x in $LIBDEPS; do if echo $x | grep '^ *-L' > /dev/null 2>&1; then echo $x | sed -e 's/^ *-L//'; fi; done | uniq`; LIBPATH=`echo $LIBPATH | sed -e 's/ /:/g'`; LD_LIBRARY_PATH=$LIBPATH:$LD_LIBRARY_PATH ${LDCMD} ${LDFLAGS} -o ${APPNAME:=openssl} openssl.o verify.o asn1pars.o req.o dgst.o dh.o dhparam.o enc.o passwd.o gendh.o errstr.o ca.o pkcs7.o crl2p7.o crl.o rsa.o rsautl.o dsa.o dsaparam.o ec.o ecparam.o x509.o genrsa.o gendsa.o s_server.o s_client.o speed.o s_time.o apps.o s_cb.o s_socket.o app_rand.o version.o sess_id.o ciphers.o nseq.o pkcs12.o pkcs8.o spkac.o smime.o rand.o engine.o ocsp.o prime.o ${LIBDEPS} )
make[2]: Leaving directory `/export/nfs/src/www/openssl-0.9.8g/apps'
(cd ..; \
  OPENSSL="`pwd`/util/opensslwrap.sh"; export OPENSSL; \
  /usr/bin/perl tools/c_rehash certs)
Doing certs
Segmentation Fault - core dumped
RegTP-5R.pem => .0
Segmentation Fault - core dumped
WARNING: Skipping duplicate certificate RegTP-6R.pem
Segmentation Fault - core dumped
[snip]

# ./apps/openssl
Segmentation Fault (core dumped)

# gdb ./apps/openssl
This GDB was configured as "i386-pc-solaris2.10"...
(gdb) break main
Breakpoint 1 at 0x8076f86
(gdb) run
Starting program: /export/nfs/src/www/openssl-0.9.8g/apps/openssl
warning: Temporarily disabling breakpoints for unloaded shared library "/usr/lib/ld.so.1"

Program received signal SIGSEGV, Segmentation fault.
0x0818dc55 in _init ()
(gdb) bt
#0  0x0818dc55 in _init ()
#1  0x08076a16 in _start ()


Before even reaching main? I upgraded to latest gcc on Sunfreeware in case that was the issue.

Lund



--
Jorgen Lundman       | <[EMAIL PROTECTED]>
Unix Administrator   | +81 (0)3 -5456-2687 ext 1017 (work)
Shibuya-ku, Tokyo    | +81 (0)90-5578-8500          (cell)
Japan                | +81 (0)3 -3375-1767          (home)
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to