[erlang-questions] Erlang 22.0 failed to compile on macOS HighSierra 10.13.6

Frank Muller frank.muller.erl@REDACTED
Sun May 19 23:24:14 CEST 2019


Hi everyone,

$ export KERL_BUILD_BACKEND=git
$ kerl build git https://github.com/erlang/otp.gitOTP-22.0 22.0
$ tail -f /Users/frank/.kerl/builds/22.0/otp_build_git.log
[...]
Undefined symbols for architecture x86_64:
  "_erts_bind_to_cpu", referenced from:
      _erts_sched_check_cpu_bind in erl_cpu_topology.o
      _erts_init_scheduler_bind_type_string in erl_cpu_topology.o
      _erts_bind_schedulers in erl_cpu_topology.o
  "_erts_cbprintf", referenced from:
      _erl_crash_dump_v in break.o
      _erts_print_nif_taints in erl_nif.o
  "_erts_cpu_info_create", referenced from:
      _erts_pre_early_init_cpu_topology in erl_cpu_topology.o
  "_erts_cpu_info_update", referenced from:
      _erts_update_cpu_info in erl_cpu_topology.o
  "_erts_dsprintf", referenced from:
      _handle_error in beam_emu.o
      _erts_make_stub_module in beam_load.o
      _load_printf in beam_load.o

$ clang --version
Apple LLVM version 10.0.0 (clang-1000.10.44.4)
Target: x86_64-apple-darwin17.7.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

Anyone's facing the same issue?

/Frank
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20190519/ce888065/attachment.htm>


More information about the erlang-questions mailing list