Skip to content

Static Linux SDK: Mimalloc: Disable arch-specific opts - #611

Merged
etcwilde merged 1 commit into
swiftlang:mainfrom
etcwilde:ewilde/static-linux-sdk-disable-extra-opts
Nov 9, 2026
Merged

etcwilde merged 1 commit into
swiftlang:mainfrom
etcwilde:ewilde/static-linux-sdk-disable-extra-opts

Conversation

@etcwilde

@etcwilde etcwilde commented Nov 4, 2026

Copy link
Copy Markdown
Member

Mimalloc automatically applies additional optimizations for specific target CPU updates. This is specifically hitting the Mimalloc build in the ARMv8 builds, where it is using armv8.1-a by default. The Raspberry Pi only has support for ARMv8.0 and encounters illegal instruction signals when trying to run binaries built with the static Linux SDK. Mimalloc should use instructions for generic ARMv8 so that the older chips can continue working.

Fixes: swiftlang/swift#93987

Mimalloc automatically applies additional optimizations for specific
target CPU updates. This is specifically hitting the Mimalloc build in
the ARMv8 builds, where it is using `armv8.1-a` by default. The
Raspberry Pi only has support for ARMv8.0 and encounters illegal
instruction signals when trying to run binaries built with the static
Linux SDK. Mimalloc should use instructions for generic ARMv8 so that
the older chips can continue working.
@etcwilde

etcwilde commented Nov 4, 2026

Copy link
Copy Markdown
Member Author

CC @al45tair

@etcwilde

etcwilde commented Nov 4, 2026

Copy link
Copy Markdown
Member Author

Failure urllib.error.HTTPError: HTTP Error 403: rate limit exceeded.

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.

SIGILL -- ldaddal: Static Linux SDK binaries crash on the Raspberry Pi

3 participants