-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
libcxx-16.0.6 macos SDK vs min version #143
Comments
Hi! Please post the information required by the issue template, in particular Looking at what symbol is missing, we find:
so indeed about The SDK version should not matter at runtime, for that only the deployment target version should be relevant (i.e. SDK normally only causes. However, I think there might be a libcxx bug that (I guess it would also be possible to mark these symbols as unavailable depending on the deployment target in https://github.com/llvm/llvm-project/blob/main/llvm/lib/Analysis/TargetLibraryInfo.cpp, but it seems like libcxx would own this.) I'm kind of surprised how late in the lifecycle of this package this bug appear - 16.0 has been live in conda-forge for over a year, but the code in hasn't changed for much longer than that. On the other hand, I'm not that surprised because 10.9 has microscopic usage numbers, and I suspect that much of our claimed support has bitrotted away due to being forced to use newer images by Azure Pipelines. In any case, 10.9 support is basically dead for a while already (and we're getting close to finally require 10.13), so I'm leaning towards treating this as non-actionable. However, if you want to write a PR targeting the 16.x branch that patches |
Hello, Thanks for your reply.
I am not that experimented with conda recipes, first, please tell me which file in which project I have to patch. S. |
You can check out this branch, add your patch for libcxx-feedstock/recipe/meta.yaml Lines 10 to 19 in fa1d837
Almost arbitrary test scripts can be added under libcxx-feedstock/recipe/meta.yaml Line 69 in fa1d837
|
In the meantime, conda-forge's minimum deployment target has moved on to 10.13. I'm therefore closing this issue, but if you want to try to submit a fix against the 16.x branch, we can still consider it. |
Comment:
Hello,
I installed conda 23.11.0 on macOS x86_64 and all libraries were build against 10.9 sdk, which is fine as usual, but I saw that current libcxx-16.0.6 has
Load command 8
cmd LC_VERSION_MIN_MACOSX
cmdsize 16
version 10.9
sdk 10.14
hence no binaries are able to run on old macs having macOS < 10.14 because, for example, std::align_val_t is only available on macOS 10.13 and newer. I have the following issue when running on a macOS 10.9 machine an application compiled against this libc++:
Why libcxx was not built against 10.9 SDK as other packages ?
I see here : conda-forge/conda-forge.github.io#1844 (comment)
that libcxx 17 has recently dropped support for macOS<10.13 when building the shared libcxx library (I noted this in #110 when the RFC opened).
but it seems to have been already the same for libcxx 16.
setting min macOS version to 10.9 is useless if build is made with newer 10.14 SDK (which masks unavailable features in 10.9)
S.
The text was updated successfully, but these errors were encountered: