[openssl-dev] [openssl.org #3699] openssl-1.0.2, fips sparc multiply defined _sparcv9_vis1_instrument_bus, _sparcv9_vis1_instrument_bus2

Stuart Kemp via RT rt at openssl.org
Fri Feb 13 14:07:46 UTC 2015


Trying to build FIPS capable OpenSSL on sparc.

Using openssl-fips-2.0.9.tar.gz and openssl-1.0.2.tar.gz.

Building per the UserGuide-2.0.pdf (although it does not say that 1.0.2 can be used ... "Any 1.0.1 release can be
used for this purpose". Except that 1.0.1j still has a sparc assembly error as reported in http://rt.openssl.org/Ticket/Display.html?id=2689#txn-48029
 so was trying latest)

OpenSSL configured as:

./config fips threads shared no-ec2m no-idea no-mdc2 no-rc5 

Get following error(s) when trying to build fips_premain_dso

ld: fatal: symbol '_sparcv9_vis1_instrument_bus2' is multiply-defined:
        (file /XXX/fips-2.0/lib/fipscanister.o type=FUNC; file libcrypto.a(sparccpuid.o) type=FUNC);
ld: fatal: symbol '_sparcv9_vis1_instrument_bus' is multiply-defined:
        (file /XXX/fips-2.0/lib/fipscanister.o type=FUNC; file libcrypto.a(sparccpuid.o) type=FUNC);
ld: fatal: file processing errors. No output written to fips_premain_dso

Comparing the sparccpuid.S code from 1.0.1j and 1.0.2, these functions were not there in 1.0.1j


Thanks,

-Stuart Kemp




More information about the openssl-dev mailing list