Skip to content

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

Merged
derselbst merged 1 commit intoFluidSynth:masterfrom
carlo-bramini:fix-windows-arm64
Jun 28, 2025
Merged

Fix build for Windows on ARM64: '-mms-bitfields' unsupported#1586
derselbst merged 1 commit intoFluidSynth:masterfrom
carlo-bramini:fix-windows-arm64

Conversation

@carlo-bramini
Copy link
Contributor

Compiling Fluidsynth 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.

Compiling Fluidsynth 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.
@derselbst derselbst added this to the 2.4 milestone Jun 20, 2025
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.

LGTM Carlo, thanks!

@derselbst derselbst merged commit 2688d78 into FluidSynth:master Jun 28, 2025
55 of 63 checks passed
derselbst pushed a commit that referenced this pull request Jun 28, 2025
Compiling Fluidsynth 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.
@carlo-bramini carlo-bramini deleted the fix-windows-arm64 branch June 30, 2025 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants