Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to solve`illegal instruction: 4` crash of elixir package

Tags:

hex

erlang

elixir

The jaxon elixir package crashes systematically on only one of my two macs even though they are running the same version of MacOS, XCode, clang, erlang and elixir.

Here is the more detailed bug report

How can I investigate this, or what other dependencies can I check to try to resolve this?

like image 866
Marc-André Lafortune Avatar asked Nov 06 '22 01:11

Marc-André Lafortune


1 Answers

Your CPU could not handle the instructions it tries to execute.

Check the CPU model of your "MacPro 5,1", and whether it can handle AVX2 or other optimizations of the compiler.

like image 172
paiv Avatar answered Nov 17 '22 06:11

paiv