-
Notifications
You must be signed in to change notification settings - Fork 118
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
__builtin_available is intermittently not available on macOS #504
Comments
Just removing the __builtin_available check results in:
|
Strangely, mozjs/mozjs-sys/mozjs/build/moz.configure/toolchain.configure Lines 54 to 66 in 10fb074
|
I am able to build after removing the __builtin_available check with |
Servo is setting the MACOSX_DEPLOYMENT_TARGET to |
Then we should probably set |
Shouldn't we just bump |
When building mozjs on macOS arm64, I intermittently receive linker errors like this:
There is one use of this function in mozjs:
mozjs/mozjs-sys/mozjs/js/src/jit/ProcessExecutableMemory.cpp
Line 1010 in 10fb074
The most recent spidermonkey upgrade removed a patch that removed a previous use of __builtinAvailable: bf41ed0#diff-5c427df1c88acdb6a3478df156bdd162ecf6bc6abd7231cfdec3b4ccb5a35138L1
curl/curl#4314 suggests that the issue here is that __builtinAvailable is only available in dynamic libraries, but we're building a static library. I have no idea why I would only hit this intermittently, or why CI never appears to run into this problem.
The text was updated successfully, but these errors were encountered: