4 ms·
That’s an underlying QEMU bug, which is used by Lima [1]. Add `ENV ERL_FLAGS="+JPperf true"` to your Dockerfile and it will build just fine cross platform. The
by cschmatzler 3y ago
That’s an underlying QEMU bug, which is used by Lima [1].
Add `ENV ERL_FLAGS="+JPperf true"` to your Dockerfile and it will build just fine cross platform. The flag just changes some things during build time and won’t affect runtime performance.
[1] https://gitlab.com/qemu-project/qemu/-/issues/1034 https://gitlab.com/qemu-project/qemu/-/issues/1034
- timenova 3y agoThanks. I can confirm that this works. Compiling a new project no longer segfaults, and `Mix.install()` works in `iex` too.
- plufz 3y agoHN just turned into Stack Overflow. :)
- giantrobot 3y agoIn that case can this whole thread be deleted and replaced by a link to an almost completely unrelated issue that used some of the same English words in the description? Just trying to get the full effect here.
- fragmede 3y agoWhat are you really trying to compile? This seems like an X vs Y problem. You should throw out the whole Internet and try again.