When configured for solaris-sparc-sc4 with BN_ASM=asm/sparc.s the
build fails. From make:
> cc -o openssl -DMONOLITH -I../include -xO5 -Xa -DB_ENDIAN openssl.o
> verify.o asn1pars.o req.o dgst.o dh.o enc.o gendh.o errstr.o ca.o
> pkcs7.o crl2p7.o crl.o rsa.o dsa.o dsaparam.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
> version.o sess_id.o ciphers.o nseq.o -L. -L.. -L../.. -L../../.. -L..
> -lssl -L.. -lcrypto -lsocket -lnsl
> Undefined first referenced
> symbol in file
> bn_mul_comba4 ../libcrypto.a(bn_mul.o)
> bn_mul_comba8 ../libcrypto.a(bn_mul.o)
> bn_sqr_comba4 ../libcrypto.a(bn_sqr.o)
> bn_sqr_comba8 ../libcrypto.a(bn_sqr.o)
> bn_sub_words ../libcrypto.a(bn_mul.o)
> bn_div_words ../libcrypto.a(bn_word.o)
> ld: fatal: Symbol referencing errors. No output written to openssl
> make[1]: *** [openssl] Error 1
These functions are in asm/alpha.s but none of the other .s versions.
They're in bn_asm.c but that's replaced by the asm version.
They're in bn_comba.c but that's never built (was it generated by comba.pl?).
Ralf says that alpha.s is missing something else, so it seems all the
bn/asm/*.s files are broken (out of date w.r.t. bn_asm.c).
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]