I don't have such HW, so just some general advice; at the beginning of
the build, you should see something like this (with some details different):
From your output it seems as if your M3 (arm64) tries to cross-compile
to x86_64... and then tries to link against arm64 libraries. What does
meson tell you with its setup? E.g. I see something like:
The Meson build system
,----
|
| Version: 1.4.1
| Source dir: /home/djcb/Sources/mu
| Build dir: /home/djcb/Sources/mu/build
| Build type: native build
| Project name: mu
| Project version: 1.12.5
| C compiler for the host machine: ccache cc (gcc 14.1.1 "cc (GCC) 14.1.1 20240522 (Red Hat 14.1.1-4)")
| C linker for the host machine: cc ld.bfd 2.41-37
| C++ compiler for the host machine: ccache c++ (gcc 14.1.1 "c++ (GCC) 14.1.1 20240522 (Red Hat 14.1.1-4)")
| C++ linker for the host machine: c++ ld.bfd 2.41-37
| Host machine cpu family: x86_64
| Host machine cpu: x86_64
`----
Kind regards,
Dirk.
--
Dirk-Jan C. Binnema Helsinki, Finland
e:dj...@djcbsoftware.nl w:
www.djcbsoftware.nl
gpg: 6987 9CED 1745 9375 0F14 DA98 11DD FEA9 DCC4 A036