Skip to content

Fix build for Windows on ARM64: '-mms-bitfields' unsupported#82

Merged
derselbst merged 1 commit intoswami:masterfrom
carlo-bramini:fix-mingw-arm64
Jul 5, 2025
Merged

Fix build for Windows on ARM64: '-mms-bitfields' unsupported#82
derselbst merged 1 commit intoswami:masterfrom
carlo-bramini:fix-mingw-arm64

Conversation

@carlo-bramini
Copy link
Contributor

Compiling for Windows on ARM64 hangs with this error:

aarch64-w64-mingw32-gcc: error: unrecognized command-line option '-mms-bitfields'

Actually, -mms-bitfields is supported only by Intel target, so it's correct to receive an error when the target Aarch64 is selected.
In my opinion, the best way for fixing this issue is to test if -mms-bitfields is really supported, as included in the attached patch.

See also: FluidSynth/fluidsynth#1586

Copy link
Member

@derselbst derselbst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks again!

@derselbst derselbst merged commit 3dfdb4a into swami:master Jul 5, 2025
7 checks passed
@carlo-bramini carlo-bramini deleted the fix-mingw-arm64 branch July 7, 2025 07:19
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.

2 participants