-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
ld: warning: no platform load command found in sys-o.a assuming macOS #51562
Comments
https://projects.blender.org/blender/blender/pulls/110243/files it seems we need to pass a linker flag |
Apple is about 2 years behind with publishing their usual documentation for this sort of thing (at https://github.com/apple-oss-distributions/ld64), so we may not learn how to fix this for a while Someone just observed (17 minutes ago) on a forum elsewhere on the internet that this means our target triple is not correct (missing the OS version) Which causes this part of LLVM not to function correctly: https://reviews.llvm.org/D29044 |
This is the part of the code that makes that decision, an in particular, it seems that it must not return early or reach the https://github.com/llvm/llvm-project/blob/main/llvm/lib/MC/MCStreamer.cpp#L1351-L1427 |
Can we add the version there? |
Yeah, we are explicitly using a platform there whose last released version was 10.4. I think we need the string "darwin18" (or later) to fix this. |
I assume this is minor given it correctly assumes macOS
macOS Sonoma
The text was updated successfully, but these errors were encountered: