-
Notifications
You must be signed in to change notification settings - Fork 11
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
Linux build links openssl dynamically #17
Comments
It would be possible to create the builds with statically linked openssl (see bitshares/bitshares-core#1980). There are pros and cons though. Pro:
Con:
We have to find a tradeoff here. Opinions @abitmore @ryanRfox ? |
Right now I still prefer statically linking openssl.
I think the original build result can still be reproduced with the original gitan setup. When rebuilding, we need to update gitan setup, since the setup is managed with git, the old configurations won't get lost. With this in consideration, in order to reproduce the build results, we need to clearly describe what revision of bitshares-gitan is used for building the binaries in the release notes page, even mention versions of dependencies used to build the binaries. In case when a security update is available, we need to
Actually this is important, but was ignored in the past. I hope we don't need to do it frequently. @ryanRfox please invite other team members and even community members to discuss this. |
Gitian automatically installs latest package versions on each run. I also believe that outdated package versions are no longer available in Ubuntu repos, so I think it would not work if we explicitly specified certain package versions for the build. An alternative would be to do it for linux as is done for windows + mac builds - download openssl source package and use that.
Static linking also puts the burden of monitoring this on us. OTOH we should keep an eye on it for win + mac anyway, as well as for the other statically linked libs (curl, boost). Sigh. |
I thought we did the same for all OS's. |
My approach was to use what's there and build only what's needed. Since we have to monitor and update libraries for mac and windows binaries anyway, I think it makes sense to use the same process for linux as well. I'm about to configure an external change notification service so notify me on changes to the following websites:
...and modify the linux build to use self-compiled openssl as well (it already builds a static libcurl). If necessary also boost. |
Found another con:
|
See bitshares/bitshares-core#1979
Bug Description
Downloaded from https://github.com/bitshares/bitshares-core/releases/download/3.3.1/bitshares-core-3.3.1-linux-amd64-bin.tar.bz2
The text was updated successfully, but these errors were encountered: