diff options
author | Björn Gustavsson <[email protected]> | 2017-07-04 14:57:09 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2017-07-04 15:32:53 +0200 |
commit | 882c90f72ba4e298aa5a7796661c28053c540a96 (patch) | |
tree | 169d8692a8dbb959aa18423eebd715af677d3723 /erts/emulator/beam/erl_alloc.h | |
parent | 3da6adc679825d17ce65e7363af6554e5ee1661a (diff) | |
download | otp-882c90f72ba4e298aa5a7796661c28053c540a96.tar.gz otp-882c90f72ba4e298aa5a7796661c28053c540a96.tar.bz2 otp-882c90f72ba4e298aa5a7796661c28053c540a96.zip |
macOS: Fix problems loading crypto
On macOS, it was not possible to start crypto after running
observer. (ERL_251)
On the beta of macOS 10.13 (High Sierra), crypto does not work
at all. (ERL-439)
The problem is that the use of the -flat_namespace option when
linking dynamic drivers such as the one for crypto. With that
option, all function names must be unique among all linked
libraries and frameworks, or the wrong function could be called.
Resolve the problem by using the two-level namespace as recommended by
Apple. We need to use the -bundle_loader option to point out beam.smp
when building all drivers and NIF libraries.
https://bugs.erlang.org/browse/ERL-251
https://bugs.erlang.org/browse/ERL-439
Diffstat (limited to 'erts/emulator/beam/erl_alloc.h')
0 files changed, 0 insertions, 0 deletions