Skip to content

aarch64: qemu: apply workaround for the stack size exceeded error on safari#499

Merged
ktock merged 1 commit intomainfrom
aarch64-workaround
Jul 28, 2025
Merged

aarch64: qemu: apply workaround for the stack size exceeded error on safari#499
ktock merged 1 commit intomainfrom
aarch64-workaround

Conversation

@ktock
Copy link
Collaborator

@ktock ktock commented Jul 28, 2025

Related to yomaytk/elfconv-demo#3

On Safari, QEMU's AArch64 emulator fails to start with an error RangeError: Maximum call stack size exceeded. . I've found adding -fno-inline-functions can avoid this error so this commit applies this flag as a quick workaround. In the long term, we should find a way to fix this without the additional flags. There is also a similar issue found in the emscripten repo emscripten-core/emscripten#17897

…safari

Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
@ktock ktock merged commit 73e9d3b into main Jul 28, 2025
17 checks passed
@ktock ktock deleted the aarch64-workaround branch July 28, 2025 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant