Skip to content

Fix shared library loading preference on non-x86 architectures (especially those like aarch64 which sort lexicographically ahead of "libc.conf") #310

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

Merged
merged 2 commits into from
Feb 5, 2019

Conversation

tianon
Copy link
Member

@tianon tianon commented Feb 4, 2019

@tianon
Copy link
Member Author

tianon commented Feb 4, 2019

This doesn't fix the build completely, it just gets us a lot further. 😞

+ openssl version
OpenSSL 1.1.1a  20 Nov 2018
+ erl -noshell -eval io:format("~p~n~n~p~n~n", [crypto:supports(), ssl:versions()]), init:stop().
{"init terminating in do_boot",{undef,[{crypto,supports,[],[]},{erl_eval,do_apply,6,[{file,"erl_eval.erl"},{line,680}]},{erl_eval,expr,5,[{file,"erl_eval.erl"},{line,232}]},{erl_eval,expr_list,6,[{file,"erl_eval.erl"},{line,888}]},{erl_eval,expr,5,[{file,"erl_eval.erl"},{line,411}]},{erl_eval,exprs,5,[{file,"erl_eval.erl"},{line,126}]},{init,start_it,1,[]},{init,start_em,1,[]}]}}
init terminating in do_boot ({undef,[{crypto,supports,[],[]},{erl_eval,do_apply,6,[{_},{_}]},{erl_eval,expr,5,[{_},{_}]},{erl_eval,expr_list,6,[{_},{_}]},{erl_eval,expr,5,[{_},{_}]},{erl_eval,exprs,5,

Crash dump is being written to: erl_crash.dump...done

…ially those like aarch64 which sort lexicographically ahead of "libc.conf")

See https://bugs.debian.org/685706 for the upstream bug report
@tianon tianon force-pushed the ldconfig-preference branch from 517eae8 to d49e6ea Compare February 4, 2019 23:19
@tianon
Copy link
Member Author

tianon commented Feb 4, 2019

I've now pushed a fix that makes i386 build (and added i386 building to our Travis matrix), but arm64 is still sadness. 😞

@tianon tianon force-pushed the ldconfig-preference branch from d49e6ea to c3af691 Compare February 4, 2019 23:36
@yosifkit yosifkit merged commit c222f0a into docker-library:master Feb 5, 2019
@yosifkit yosifkit deleted the ldconfig-preference branch February 5, 2019 20:08
tianon added a commit to infosiftr/stackbrew that referenced this pull request Feb 7, 2019
- `drupal`: 8.6.8, 7.64
- `haproxy`: 1.9.4, 1.8.18
- `kibana`: 6.6.0
- `logstash`: 6.6.0
- `mariadb`: 10.1.38
- `openjdk`: 7u201 (Alpine)
- `rabbitmq`: fixed `i386` building (docker-library/rabbitmq#310)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants