-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
openblas 0.3.13 uses clock_gettime
that is only available macOS 10.12 onwards
#836
openblas 0.3.13 uses clock_gettime
that is only available macOS 10.12 onwards
#836
Comments
Recent https://julialangnightlies-s3.julialang.org/bin/mac/x64/1.7/julia-89fff18d59-mac64.dmg JuliaLang/julia@89fff18 failed to start as well. |
Seems to work for me, but I have an older kernel. What do you get with verbose=true?
|
This is on OS X 10.11.6. OS in platform info seems to be the version of kernel where the compilation was done. |
ah, right, I skimmed that too quickly (I was confused that penryn could run the latest version, so I should have double-checked). We compile libjulia with |
We are setting Right now that's kind of hardcoded, but we'll be able to control it in the future by building for |
We should probably bump it on Julia to 10.10 (which released in 2014), so hopefully that is still old enough to support users on older releases. |
Can someone impacted by this try building with Julia set to |
According to https://stackoverflow.com/questions/5167269/clock-gettime-alternative-in-mac-os-x |
clock_gettime
that is only available macOS 10.12 onwards
JuliaLang/julia#40396 did not fix this issue for me. I created JuliaLang/julia#40400 to be able to download a binary with |
OpenMathLib/OpenBLAS#2814 (comment) and the linked issue pocoproject/poco#1453 show many similar issues about |
The compiler can do OS x version detection. OpenBlas should not be using those symbols without checking that. |
Those issues are pretty closely related to this: it seems that the Apple headers are broken, so gcc/gfortran/openblas mis-detect the symbol as existing, when it should not (the ability to compile this header correctly is predicated on the existence of the clang extension |
I have identified the issue, and I have a fix making its way through the ecosystem: JuliaPackaging/BinaryBuilderBase.jl#134 |
This should fix https://github.com/JuliaLang/julia/issues/40375 which is due to the compiler shards containing `clock_gettime` symbol references which are not allowed for macOS < 10.12. The fix to the GCC shards was made in #2836 and was integrated into BinaryBuilderBase in JuliaPackaging/BinaryBuilderBase.jl#134
This should fix https://github.com/JuliaLang/julia/issues/40375 which is due to the compiler shards containing `clock_gettime` symbol references which are not allowed for macOS < 10.12. The fix to the GCC shards was made in #2836 and was integrated into BinaryBuilderBase in JuliaPackaging/BinaryBuilderBase.jl#134
This version starts fine
https://julialangnightlies-s3.julialang.org/bin/mac/x64/1.7/julia-95a34a9020-mac64.dmg
JuliaLang/julia@95a34a9
This does not start
https://julialangnightlies-s3.julialang.org/bin/mac/x64/1.7/julia-dc81980e0b-mac64.dmg
JuliaLang/julia@dc81980
I believe this is a separate issue from #834 and I created a new issue.
The text was updated successfully, but these errors were encountered: