I've got Erlang compiled on Apple Silicon but I am unable to get Elixir to 
compile.

Make segfaults as shown below.

I'm hoping someone with better knowledge of the process can help me fix 
this. 
It's possible that it's an issue with Erlang... but I'm not convinced that 
it is. I was able to compile Cowboy and run a test server just fine so I 
don't think Erlang is the issue.

I'd like to get some help fixing this now so that if it is an upstream 
issue with Erlang there's ample time to get a fix out and test it there. 
And then make any needed changes to Elixir. Before the new computers with 
Apple Silicon start showing up.

I'm willing to help with fixes but I need to be pointed in the right 
direction on this.

Thanks!

make
.... 


Recompile: src/elixir_bitstring

Recompile: src/elixir_aliases

Recompile: src/elixir

Generated elixir app

==> bootstrap (compile)

Compiled lib/elixir/lib/kernel.ex

Compiled lib/elixir/lib/macro/env.ex

Compiled lib/elixir/lib/keyword.ex

Compiled lib/elixir/lib/module.ex

Compiled lib/elixir/lib/list.ex

Compiled lib/elixir/lib/macro.ex

Compiled lib/elixir/lib/kernel/typespec.ex

Compiled lib/elixir/lib/kernel/utils.ex

/bin/sh: line 1: 66739 Segmentation fault: 11  erl -I lib/elixir/include 
-noshell -pa lib/elixir/ebin -s elixir_compiler bootstrap -s erlang halt

make: *** [lib/elixir/ebin/Elixir.Kernel.beam] Error 139


If you try make again:


make

Generated elixir app

==> eex (compile)

{"init terminating in 
do_boot",{undef,[{'Elixir.Kernel.CLI',main,[["+elixirc","--ignore-module-conflict","lib/**/*.ex","-o","ebin"]],[]},{init,start_em,1,[]},{init,do_boot,3,[]}]}}

init terminating in do_boot 
({undef,[{Elixir.Kernel.CLI,main,+elixirc--ignore-module-conflictlib/**/*.ex-oebin,[]},{init,start_em,1,[]},{init,do_boot,3,[]}]})


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


-- 
You received this message because you are subscribed to the Google Groups 
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elixir-lang-core+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/8d82a641-5ca5-4e84-97ec-ae49ab855033o%40googlegroups.com.

Reply via email to