Hello,

I am compiling OpenSSL FIPS-1.2 natively on PPC, the build blocks forever at
:-

+ /bin/rm -f ./libcrypto.so.0.9.8
+ gcc /fips-lib///fipscanister.o /fips-lib/fips_premain.c -fPIC
-DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DOPENSSL_NO_ERR -DB_ENDIAN
-DTERMIO -O3 -Wall -DOPENSSL_NO_CAMELLIA -DOPENSSL_NO_CAPIENG
-DOPENSSL_NO_CAST -DOPENSSL_NO_CMS -DOPENSSL_NO_EC -DOPENSSL_NO_ECDH
-DOPENSSL_NO_ECDSA -DOPENSSL_NO_ENGINE -DOPENSSL_NO_GMP -DOPENSSL_NO_IDEA
-DOPENSSL_NO_JPAKE -DOPENSSL_NO_MDC2 -DOPENSSL_NO_OCSP -DOPENSSL_NO_RC5
-DOPENSSL_NO_RFC3779 -DOPENSSL_NO_RIPEMD -DOPENSSL_NO_SEED -DOPENSSL_NO_SSL2
-DOPENSSL_NO_TLSEXT -DOPENSSL_NO_UI -shared -Wl,-Bsymbolic
-Wl,-soname=libcrypto.so.0.9.8 -o libcrypto.so.0.9.8 -Wl,--whole-archive
libcrypto.a -Wl,--no-whole-archive -L. -ldl
+ fips/../fips/fips_premain_dso ./libcrypto.so.0.9.8 <-------------- BLOCKS
HERE FOREVER

After I ran gdb, I found that it is blocked in lh_new, here is the backtrace
..

Current language:  auto; currently asm
(gdb) bt
#0  0x100400dc in lh_new ()
#1  0x10039fdc in def_get_class ()
#2  0x1003a564 in int_new_ex_data ()
#3  0x1003adb8 in CRYPTO_new_ex_data ()
#4  0x100384e8 in BIO_set ()
#5  0x100385f0 in BIO_new ()
#6  0x10000bb8 in main ()

The same thing is happening to me if i compile 0.9.8j on the same system
with ./config fips taking fipscanister.o from previous build of FIPS-1.2.

Please help.

- Basit

Reply via email to