Erlang 22.0 failed to compile on macOS HighSierra 10.13.6

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Erlang 22.0 failed to compile on macOS HighSierra 10.13.6

Frank Muller
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
_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
Reply | Threaded
Open this post in threaded view
|

Re: Erlang 22.0 failed to compile on macOS HighSierra 10.13.6

Max Lapshin-2
macbook-pro:flussonic max$ clang --version
Apple LLVM version 10.0.0 (clang-1000.11.45.5)
Target: x86_64-apple-darwin18.2.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin


Compiled 22.0 without any issues:

./configure --prefix=/usr/local/Cellar/erlang/22.0 --enable-threads --enable-dirty-schedulers --enable-smp-support --enable-kernel-poll --enable-m64-build --with-dynamic-trace=dtrace --without-javac --with-wx --with-microstate-accounting=extra --enable-hipe --enable-lock-counter --with-ssl=/usr/local/opt/openssl --without-diameter --without-eldap --without-jinterface --without-megaco --without-odbc --with-wx-prefix=/usr/local/opt/wxmac


almost no issues, because I cannot make wx work. I haven't seen it working for several years on my macbook =(


_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
Reply | Threaded
Open this post in threaded view
|

Re: Erlang 22.0 failed to compile on macOS HighSierra 10.13.6

Frank Muller
Max
Are you under Mojave, or HighSierra?
/Frank

macbook-pro:flussonic max$ clang --version
Apple LLVM version 10.0.0 (clang-1000.11.45.5)
Target: x86_64-apple-darwin18.2.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin


Compiled 22.0 without any issues:

./configure --prefix=/usr/local/Cellar/erlang/22.0 --enable-threads --enable-dirty-schedulers --enable-smp-support --enable-kernel-poll --enable-m64-build --with-dynamic-trace=dtrace --without-javac --with-wx --with-microstate-accounting=extra --enable-hipe --enable-lock-counter --with-ssl=/usr/local/opt/openssl --without-diameter --without-eldap --without-jinterface --without-megaco --without-odbc --with-wx-prefix=/usr/local/opt/wxmac


almost no issues, because I cannot make wx work. I haven't seen it working for several years on my macbook =(

_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions

_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
Reply | Threaded
Open this post in threaded view
|

Re: Erlang 22.0 failed to compile on macOS HighSierra 10.13.6

Max Lapshin-2
Mojave

On Mon, May 20, 2019 at 2:47 PM Frank Muller <[hidden email]> wrote:
Max
Are you under Mojave, or HighSierra?
/Frank

macbook-pro:flussonic max$ clang --version
Apple LLVM version 10.0.0 (clang-1000.11.45.5)
Target: x86_64-apple-darwin18.2.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin


Compiled 22.0 without any issues:

./configure --prefix=/usr/local/Cellar/erlang/22.0 --enable-threads --enable-dirty-schedulers --enable-smp-support --enable-kernel-poll --enable-m64-build --with-dynamic-trace=dtrace --without-javac --with-wx --with-microstate-accounting=extra --enable-hipe --enable-lock-counter --with-ssl=/usr/local/opt/openssl --without-diameter --without-eldap --without-jinterface --without-megaco --without-odbc --with-wx-prefix=/usr/local/opt/wxmac


almost no issues, because I cannot make wx work. I haven't seen it working for several years on my macbook =(

_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions

_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
Reply | Threaded
Open this post in threaded view
|

Re: Erlang 22.0 failed to compile on macOS HighSierra 10.13.6

Frank Muller
I’m still using HighSierra.
Can you please share you ~/.kerlrc?

/Frank

Mojave

On Mon, May 20, 2019 at 2:47 PM Frank Muller <[hidden email]> wrote:
Max
Are you under Mojave, or HighSierra?
/Frank

macbook-pro:flussonic max$ clang --version
Apple LLVM version 10.0.0 (clang-1000.11.45.5)
Target: x86_64-apple-darwin18.2.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin


Compiled 22.0 without any issues:

./configure --prefix=/usr/local/Cellar/erlang/22.0 --enable-threads --enable-dirty-schedulers --enable-smp-support --enable-kernel-poll --enable-m64-build --with-dynamic-trace=dtrace --without-javac --with-wx --with-microstate-accounting=extra --enable-hipe --enable-lock-counter --with-ssl=/usr/local/opt/openssl --without-diameter --without-eldap --without-jinterface --without-megaco --without-odbc --with-wx-prefix=/usr/local/opt/wxmac


almost no issues, because I cannot make wx work. I haven't seen it working for several years on my macbook =(

_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions

_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions