Closed
Description
It appears XCode 15 now includes a custom (undocumented) version of LD which expects object files to be generated with a version number specified in the OS part of the LLVM target triple, otherwise it issues warnings like:
ld: warning: no platform load command found in 'static-lib.a[0](object-file.o)', assuming: macOS
This appears to have hit the JuliaLang team too, and they discovered they had to update their target triple for AOT compilation to include the OS version:
JuliaLang/julia#51830
More discussion here:
JuliaLang/julia#51562
So, it appears we may need to update the LLVM object file output to include the darwin/macos minimum deployment version in the target triple to be compatible with XCode 15 and future Apple toolchains.
Metadata
Metadata
Assignees
Labels
No labels