I'm trying to build 0.9.7m with gcc 4.1.2 on Solaris 9 as follows: $ ./Configure --prefix=/opt/openssl-0.9.7m shared solaris-sparcv9-gcc $ make [...] making all in crypto... make[1]: Entering directory `/src/security/openssl-0.9.7m/crypto' gcc -I. -I.. -I../include -DOPENSSL_SYSNAME_ULTRASPARC -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN - DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -m32 -march=ultrasparc -O3 -fomit-frame-pointer -Wall -DB_ENDIAN -DBN_DIV2W -DMD5_ASM -c - o cryptlib.o cryptlib.c cc1: error: unrecognized command line option "-march=ultrasparc" make[1]: *** [cryptlib.o] Error 1 make[1]: Leaving directory `/src/security/openssl-0.9.7m/crypto' make: *** [sub_all] Error 1
According to: http://marc2.theaimsgroup.com/?l=openssl-cvs&m=116895528425044&w=2 -mcpu was replaced with -march in the 0.9.7 branch only. This change was never made to the 0.9.8 branch (which builds successfully for me). If I switch -march back to -mcpu in the generated Makefile then everything works again. ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [email protected] Automated List Manager [EMAIL PROTECTED]
