tags:

views:

119

answers:

0

how can i build the latest openssl 098k on sun? The h version compiled correctly. I have asked the question on the relevant mailing list but got no reply.

When I remove all offending parameters (-xtarget=ultra -xarch=v8plus -xO5 -xstrconst -xdepend -Xa ) I end up with :

/usr/ccs/bin/as: "/var/tmp//ccvst5kT.s", line 108: error: cannot use v8plus instructions in a non-v8plus target binary

what is v8plus ?

gcc (GCC) 3.4.6 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

/usr/local/bin/gcc SunOS hostname 5.10 Generic sun4u sparc SUNW,Sun-Fire-V240 Operating system: sun4u-whatever-solaris2 WARNING! If you wish to build 64-bit library, then you have to invoke './Configure solaris64-sparcv9-cc' manually. Configuring for solaris-sparcv9-cc Configuring for solaris-sparcv9-cc no-camellia [default] OPENSSL_NO_CAMELLIA (skip dir) no-capieng [default] OPENSSL_NO_CAPIENG (skip dir) no-cms [default] OPENSSL_NO_CMS (skip dir) 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-mdc2 [default] OPENSSL_NO_MDC2 (skip dir) no-montasm [default] no-rc5 [default] OPENSSL_NO_RC5 (skip dir) no-rfc3779 [default] OPENSSL_NO_RFC3779 (skip dir) no-seed [default] OPENSSL_NO_SEED (skip dir) no-zlib-dynamic [default] IsMK1MF=0 CC =gcc CFLAG =-KPIC -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H

-I/home/username//pbe/projname/third-party/SunOS-sun4u- 5.10/install/pdopensource/include -xtarget=ultra -xarch=v8plus -xO5 -xstrconst -xdepend -Xa -DB_ENDIAN -DBN_DIV2W EX_LIBS =-L/home/username//pbe/projname/third-party/SunOS-sun4u-5.10/install/pdopensource/lib -lsocket -lnsl -ldl -lz CPUID_OBJ = BN_ASM =sparcv8plus.o DES_ENC =des_enc-sparc.o fcrypt_b.o AES_ASM_OBJ =aes_core.o aes_cbc.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 = RMD160_OBJ_ASM= PROCESSOR = RANLIB =/usr/ccs/bin/ranlib ARFLAGS = PERL =/usr/bin/perl THIRTY_TWO_BIT mode DES_PTR used DES_RISC1 used DES_UNROLL used BN_LLONG mode RC4 uses uchar RC4_CHUNK is unsigned long long BF_PTR used e_os2.h => include/openssl/e_os2.h making links in crypto...

gcc -I.. -I../.. -I../../include -KPIC -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -I/home/username//pbe/projname/third-party/SunOS-sun4u-5.10/install/pdopensource/include -xtarget=ultra -xarch=v8plus -xO5 -xstrconst -xdepend -Xa -DB_ENDIAN -DBN_DIV2W -c -o bn_const.o bn_const.c gcc: unrecognized option -KPIC' gcc: unrecognized option -Xa' gcc: language depend not recognized gcc: bn_const.c: linker input file unused because linking not done