Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails on aarch64 #2

Open
ambv opened this issue Apr 5, 2024 · 3 comments
Open

Build fails on aarch64 #2

ambv opened this issue Apr 5, 2024 · 3 comments

Comments

@ambv
Copy link

ambv commented Apr 5, 2024

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/

@ReimuNotMoe
Copy link
Member

It appears to be a problem from libADLMIDI. @Wohlstand do you have any insights?

@Wohlstand
Copy link

Try the latest version of libADLMIDI, it should be built properly. I had similar problem a while ago on different ARM devices, and I fixed it.

@ambv
Copy link
Author

ambv commented Apr 16, 2024

Tested, and indeed it works with the latest ADLMIDI. You can upgrade that then.

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

No branches or pull requests

3 participants