Cross compile OpenSSL3.0+ failed

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Cross compile OpenSSL3.0+ failed

Jump to solution
453 Views
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 Kudos
1 Solution
416 Views
Harvey021
NXP TechSupport
NXP TechSupport
0 Kudos
3 Replies
417 Views
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 Kudos
387 Views
chadA
Contributor III

Hi @Harvey021

Thanks~

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

Thanks

Chad

0 Kudos
409 Views
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 Kudos