Is this because make is being used instead of gmake?
Dr. Jim Freeze, Ph.D. ElixirConf® ElixirConf.com ElixirConf.eu (m) 512 949 9683 On Sat, Jul 11, 2020 at 2:45 AM José Valim <jose.va...@dashbit.co> wrote: > Elixir doesn’t compile any native code. Therefore these errors mean that > you were able to compile the Erlang VM but either the code or the compiler > has bugs and the VM is seg faulting. > > The question then is not related to Elixir but how to debug seg faults in > C code, which is not something I can help with. > > Good luck! > > On Sat, Jul 11, 2020 at 05:17 Mark Madsen <m...@idyll.io> wrote: > >> 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 >> <https://groups.google.com/d/msgid/elixir-lang-core/8d82a641-5ca5-4e84-97ec-ae49ab855033o%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- > 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/CAGnRm4JESVZaO8F_tvdg%2BeMBjrvbRJBmjWT9dxrgaZWF_xwPEA%40mail.gmail.com > <https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4JESVZaO8F_tvdg%2BeMBjrvbRJBmjWT9dxrgaZWF_xwPEA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- 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/CAP1mN_xpW1AVgVGomafKYY-YsSi996F%3DHSEU820f_JP%2Bqxxctg%40mail.gmail.com.