Cross compile OpenSSL3.0+ failed

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Cross compile OpenSSL3.0+ failed

跳至解决方案
500 次查看
chadA
Contributor III

Hi All,

I am trying to cross compile openssl3.0 for iMX6ul, but meet a problem.

Download the openSSL from the OpenSSL's website, both 3.0 and 3.1 version have the same error.

But 1.1.1version will be success. URL: https://www.openssl.org/source/old/

After configuation, when execute make, it will report:

chadA_0-1693295218867.png

I checked the error on OpenSSL community, the developers said the problem is known. And it is caused by the GCC, the version of GCC is too old.

https://github.com/openssl/openssl/issues/18346

Has anyone had this problem?

Thanks

Chad

0 项奖励
1 解答
463 次查看
Harvey021
NXP TechSupport
NXP TechSupport
0 项奖励
3 回复数
464 次查看
Harvey021
NXP TechSupport
NXP TechSupport

Hi @chadA 

To refer to the link might help you - Cross compile openssl3.0 · Issue #18547 · openssl/openssl · GitHub

 

Best regards

Harvey

0 项奖励
434 次查看
chadA
Contributor III

Hi @Harvey021

Thanks~

The problem had been solved. The error is caused by the warning.

Thanks

Chad

0 项奖励
456 次查看
chadA
Contributor III

Hi @Harvey021 

I have seen this discussion too. But there is no clear answers for the problem.

And I tested the same configure command, it still had the problem. So I am not sure how XYQ202 works out.

Thanks

Chad

0 项奖励