Skip to content

Build fails on aarch64 #2

@ambv

Description

@ambv

Can't build on M1 Max on macOS Sonoma (clang-1500.3.9.4; arm64-apple-darwin23.4.0):

...
[ 64%] Built target qmidiin
[ 68%] Built target cmidiin
[ 73%] Built target sysextest
[ 77%] Built target apinames
[ 82%] Built target midiout
[ 91%] Built target midiclock
[ 91%] Built target midiprobe
[ 92%] Built target RetroWaveMIDIProxyGUI_autogen
[ 94%] Linking CXX executable RetroWaveMIDIProxyGUI
ld: building fixups: pointer not aligned at _g_embeddedBanks+0x6 from libADLMIDI.a[18](inst_db.cpp.o)
clang: error: linker command failed with exit code 1 (use -v to see invocation)

This seems like a common problem:
https://dkimitsa.github.io/2022/04/08/fix-unaligned-pointer-error/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions