The title says it all. Using version 7.0.9 of JUCE and 16.0.6 of LLVM clang on MacOS yields the following warnings
building for macOS-arm64 but attempting to link with file built for unknown-unsupported file format ( 0x21 0x3C 0x61
0x72 0x63 0x68 0x3E 0x0A 0x23 0x31 0x2F 0x32 0x30 0x20 0x20 0x20 )
and errors at
plugin> Undefined symbols for architecture arm64:
plugin> "_main", referenced from:
plugin> implicit entry/start for main executable
plugin> ld: symbol(s) not found for architecture arm64
plugin> clang-16: error: linker command failed with exit code 1 (use -v to see invocation)
I’ve tried passing in linker flags, e.g., -Wl,-weak_reference_mismatches,weak
but nothing helps unless I disable LTO entirely by passing in -fno-lto
as a compiler flag.