openssl: Build OpenSSL on ubuntu, compile failed in x86_32(providers/legacy.so)
Get the latest OpenSSL code of master branch, “./config; make; make install_sw;”. compile it on ubuntu. find that the builds on x86-64,aarch32,aarch64 are success but fails on x86-32. The error log as below:
rm -f test/dsa_no_digest_size_test
${LDCMD:-gcc} -pthread -m32 -Wa,--noexecstack -Wall -O3 -fomit-frame-pointer -Werror \
-o test/dsa_no_digest_size_test \
test/dsa_no_digest_size_test-bin-dsa_no_digest_size_test.o \
test/libtestutil.a libcrypto.a -ldl -pthread
rm -f test/dsatest
${LDCMD:-gcc} -pthread -m32 -Wa,--noexecstack -Wall -O3 -fomit-frame-pointer -Werror \
-o test/dsatest \
test/dsatest-bin-dsatest.o \
test/libtestutil.a libcrypto.a -ldl -pthread
collect2: error: ld returned 1 exit status
Makefile:21332: recipe for target 'providers/legacy.so' failed
make[1]: *** [providers/legacy.so] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/home/ent-user/ci-scripts/openssl-src'
Makefile:2899: recipe for target 'build_sw' failed
make: *** [build_sw] Error 2
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 17 (17 by maintainers)
Commits related to this issue
- Refactor CPUID code We were using CPUID coded in several modules, but it was unclear how it actually got there, and could fail randomly. To remedy that, this change separates the CPUID C code from t... — committed to levitte/openssl by levitte 4 years ago
- Refactor CPUID code We were using CPUID coded in several modules, but it was unclear how it actually got there, and could fail randomly. To remedy that, this change separates the CPUID C code from t... — committed to levitte/openssl by levitte 4 years ago
- Refactor CPUID code We were using CPUID coded in several modules, but it was unclear how it actually got there, and could fail randomly. To remedy that, this change separates the CPUID C code from t... — committed to openssl/openssl by levitte 4 years ago
With PR #11311, it also works on my local, thanks for the fix.