-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Fails to compile on OpenSSL 1.1.0 #4204
Comments
I see the same issue... |
Are you using Arch Linux? OpenSSL 1.1.0 got into the testing repo recently.
For example:
|
Yes, I am at Arch. @zatherz I have a few questions:
but would like to specify version of openssl to be used.
|
I'm pretty sure you'd have to modify the Makefile to call Crystal should allow using OpenSSL 1.1.0. To maintain compatibility, OpenSSL 1.1.0 support could be enabled through some sort of compiletime flag. |
|
Well, |
Why should the compiler be linked against OpenSSL? The playground? it's only loaded over HTTP and on localhost... |
It probably shouldn't but it shouldn't need to disable it with a flag either, so this becomes rather a question of dead code elimination, no? |
The playground use websockets and for those there are some |
Sorry, it's not only the Crystal compiler that doesn't compile due to this issue. Nothing compiles, as it's an issue in the standard lib ( |
Thank you. I applied the patch on top of 0.21.1 release and now compilation is fine. Unfortunately running tests fails with:
|
I applied the patches, ran it at Arch Linux and got following test failures. Not 100% that it because the openssl upgrate. Here is the test output
|
Should be fixed now. I miss a detailed list of changes between OpenSSL 1.0 and 1.1. |
Hi @anatol, I saw you uploaded a patched version of 0.21.1's PKGBUILD to ArchLinux repo. May I ask why the package isn't available for pacman and still out-of-date flag remains? I'm curious because I'm unable to compile the package by myself since after 3GB of memory allocation, fork is unable to use more memory in spite of having plenty of it... Meanwhile, I'll try to figure that out. |
@jomendoz will look at the Arch package in ~10 days when I get back to my workstation.
I confirm that Crystal package compilation is very slow and resource hungry process. It takes several hours at my computer to build the package. |
https://mta.openssl.org/pipermail/openssl-dev/2016-February/005494.html
SSL_library_init
was removed (in favor ofOPENSSL_init_ssl
).OPENSSL_init_ssl
also replaces other things likeSSL_load_error_strings
: https://www.openssl.org/docs/man1.1.0/ssl/OPENSSL_init_ssl.htmlThe text was updated successfully, but these errors were encountered: