Arch Linux OpenSSL build fails

Anton Novikov a.novikov at yadro.com
Fri Aug 4 02:57:41 AEST 2017


| make[2]: Entering directory 
'/home/anton/src/openbmc/build/tmp/work/x86_64-linux/openssl-native/1.0.2j-r0/openssl-1.0.2j'
| [ -z "" ] || gcc  -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT 
-DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_ERR -DL_ENDIAN      -DTERMIO 
-isystem/home/anton/src/openbmc/build/tmp/sysroots/x86_64-linux/usr/include 
-O2 -pipe -Wall -Wa,--noexecstack -DHAVE_CRYPTODEV 
-DUSE_CRYPTODEV_DIGESTS -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT 
-DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DRC4_ASM -DSHA1_ASM 
-DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM 
-DGHASH_ASM -DECP_NISTZ256_ASM -Iinclude \
|     -DFINGERPRINT_PREMAIN_DSO_LOAD -o fips_premain_dso  \
|     fips_premain.c fipscanister.o \
|     libcrypto.a -lgcc -ldl
| make[3]: Entering directory 
'/home/anton/src/openbmc/build/tmp/work/x86_64-linux/openssl-native/1.0.2j-r0/openssl-1.0.2j'
| make[4]: Entering directory 
'/home/anton/src/openbmc/build/tmp/work/x86_64-linux/openssl-native/1.0.2j-r0/openssl-1.0.2j'
| /usr/bin/ld: libcrypto.a(sha1-x86_64.o): relocation R_X86_64_PC32 
against undefined symbol `OPENSSL_ia32cap_P' can not be used when making 
a shared object; recompile with -fPIC
| /usr/bin/ld: final link failed: Bad value
| collect2: error: ld returned 1 exit status
| make[4]: *** [Makefile.shared:171: link_a.gnu] Error 1



More information about the openbmc mailing list