I was trying to build OpenSSL 0.9.4 on my Solaris 2.7 server and it kept
failing. I used ./Configure solaris-sparcv9-gcc27 and I got errors, so
I tried it with solaris-sparcv9-gcc instead. I finally tracked it to a
bad line in the crypto/md5/Makefile.
I am running Solaris 2.7 on a Sun E250 (64-bit architecture - Sparc V9)
and I have gcc 2.7.2.3 installed. With that option, the Configure
script created my configs and the config script did the rest. There was
problem in the Makefile generation for solarisv8plus with gcc27:
# pwd
/usr/local/src/openssl/openssl-0.9.4/crypto/md5
# grep 27 Makefile
# *-gcc27, but even gcc 2>=8 users may experience similar problem
sm/md5-sparcv8plus-gcc27.o: asm/md5-sparcv9.S
/usr/ccs/bin/as -xarch=v8plus - -o
asm/md5-sparcv8plus-gcc27.o
#
I had to edit the Makefile to add an 'a' in front of the
sm/md5-sparkv8plusgcc27.o line. After I made that change OpenSSL
compiled and tested fine!
Thanks for all your wonderful work. keep it up!
-Dean
P.S. Below is just notes I was taking while I was trouble shooting the
problem. They can be disregarded unless you are really interested.
------ Previous e-mail composition (ignore) ---------
I was trying to build OpenSSL 0.9.4 on my Solaris server. I am running
Solaris 2.7 on an Enterprise E250
# uname -a
SunOS terminus 5.7 Generic_106541-07 sun4u sparc SUNW,Ultra-250
#
Per
http://www.sunworld.com/sunworldonline/swol-05-1999/swol-05-supersys.html
I checked my register configuration to find out if I was in 32-bit or
64-bit mode and I got:
# isainfo
sparcv9 sparc
# isainfo -v
64-bit sparcv9 applications
32-bit sparc applications
# isainfo -b
64
# isainfo -kv
64-bit sparcv9 kernel modules
#
I'm using GCC 2.7.2.3
# gcc --version
2.7.2.3
#
I am sure I'm only running gcc even if the make program chooses to run
cc or gcc
# which cc
/usr/local/bin/cc
# which gcc
/usr/local/bin/gcc
# ls -l /usr/local/bin/gcc
-rwxr-xr-x 2 root other 147302 Sep 8 17:36 /usr/local/bin/gcc
# ls -l /usr/local/bin/cc
lrwxrwxrwx 1 root other 3 Sep 12 14:56 /usr/local/bin/cc
-> gcc
#
so I choose ./Configure solaris-sparcv9-gcc27
The Makefile.ssl contains the following FLAGS:
CFLAG= -DTHREADS -D_REENTRANT -mv8 -O3 -fomit-frame-pointer -Wall
-DB_ENDIAN -DBN_DIV2W -DULTRASPARC -DMD5_ASM
I also have this defined for MD5 in the Makefile.ssl:
# Also need MD5_ASM defined
MD5_ASM_OBJ= asm/md5-sparcv8plus-gcc27.o
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]