New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FS#182 - host/u-boot-2014.10 compilation error with OpenSSL 1.1+ #5352
Comments
jow-: Buildbots seem to have no problem building uboot host utilities. I suppose something is wrong with the OpenSSL/LibreSSL headers on your host system. |
jmomo: I just hit this on my Debian unstable desktop. The new OpenSSL seems to have broken some things. I think this is the same thing but didn't look too close: https://www.mail-archive.com/u-boot@lists.denx.de/msg228491.html |
OlofSivertsson: Your compilation error is probably caused by this OpenSSL 1.1 change: A workaround on Debian unstable is |
hngsvtdu: I made the downgrade from openssl/libssl 1.1.0c to 1.0.2j. Seems to be working fine. Its compiling now for long time where before the error appear after just few seconds. I think this bug should still have high priority. Many OS would be updated next days to 1.1.0 . For example on arch linux recent 1.0.2j Version is been tagged as outdated in their packages and would probably be updated quickly. Openssl 1.1.0 is already a stable release. |
hngsvtdu: The more recent and still open LEDE-bugreport about the same error: https://bugs.lede-project.org/index.php?do=details&task_id=297 |
jmomo: Seems to be an openssl 1.1 issue. |
hngsvtdu: No, its not a openssl issue. Just read the changelog and the notes about the security related changes from openssl 1.0 to 1.1. |
jow-: Fixed with http://git.lede-project.org/70b104f |
Ansuel:
/home/Ansuel/lede/build_dir/host/u-boot-2014.10/lib/rsa/rsa-sign.c: In function 'rsa_get_exponent': /home/Ansuel/lede/build_dir/host/u-boot-2014.10/lib/rsa/rsa-sign.c:279:21: error: dereferencing pointer to incomplete type 'RSA {aka struct rsa_st}' if (BN_num_bits(key->e) > 64) ^~ scripts/Makefile.host:134: recipe for target 'tools/lib/rsa/rsa-sign.o' failed
I compile with default .config (i had one with all my settings, i reset it to test if it was my problem..) the only thing that i changes are binutils 1.26 version and gcc 6.x
Any idea?
The text was updated successfully, but these errors were encountered: