Skip to content
This repository has been archived by the owner on Nov 7, 2022. It is now read-only.

SEGFAULT Debugging #46

Draft
wants to merge 5 commits into
base: develop
Choose a base branch
from
Draft

SEGFAULT Debugging #46

wants to merge 5 commits into from

Conversation

NeroAzure
Copy link
Contributor

This is to debug a SEGFAULT whilst building the image

@NeroAzure
Copy link
Contributor Author

The problem seems to be that QEMU has bugs when emulating arm64 that are not compatible with OTP 25. Possible solutions to this would be:

  1. to disable JIT, which has to be done whilst compiling Elixir itself
  2. to build the image directly on an arm64 machine

source: https://elixirforum.com/t/arm64-otp-25-qemu-mix-local-hex-force-hangs/48664/2

@krns
Copy link
Member

krns commented Oct 13, 2022

Here is the corresponding QEMU bug: https://gitlab.com/qemu-project/qemu/-/issues/1034

@pehbehbeh pehbehbeh marked this pull request as draft October 20, 2022 20:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants