-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
___ulock_wait2
Undefined symbols for architecture x86_64 referenced from _std.Thread.Futex.DarwinImpl.wait
in zig2.o
#13313
Comments
Sorry, Catalina support was dropped in 2d03f38. |
All good, but could there be a more informative error when the platform it's attempting to build on is unsupported—or better still, known unable—to build on? |
This is what happens if I run
|
Ok well I've upgraded to 13.0 (Ventura) in the meantime and will report a new bug about the issue it gets Still would be good to have a better error message IMHO, for building from |
I'm using High Sierra 10.13.6 because my laptop is old and can't be upgraded to a more recent version. |
We see this on a supported MacOS, a.k.a. Steps to reproduce:
Note that
(similarly to master) ... which leads me to believe that .. is there something wrong with the tbd files? Looking. |
Failing run on nightly:
Successful run:
|
The "other system" is detecting 10.15 for some reason, but I couldn't understand why it is the case from only reading Since this is happening to a single colleague across the whole company and not on my machine, capacity of poking around and asking someone to run the commands is limited. cc @daliuss. |
Sometimes the on-host toolchain may not be detected correctly on OSX[1]. Since we are interested only in a *hermetic* toolchain, we are meant to use cross-compilation mode by invoking `-target`. Let's do it. [1]: ziglang/zig#13313 (comment)
Sometimes the on-host toolchain may not be detected correctly on OSX[1]. Since we are interested only in a *hermetic* toolchain, we are meant to use cross-compilation mode by invoking `-target`. Let's do it. [1]: ziglang/zig#13313 (comment)
Sometimes the on-host toolchain may not be detected correctly on OSX[1]. Since we are interested only in a *hermetic* toolchain, we are meant to use cross-compilation mode by invoking `-target`. Let's do it. [1]: ziglang/zig#13313 (comment)
Sometimes the on-host toolchain may not be detected correctly on OSX[1]. Since we are interested only in a *hermetic* toolchain, we are meant to use cross-compilation mode by invoking `-target`. Let's do it. [1]: ziglang/zig#13313 (comment)
install xcode will fix it |
to have any chance of building zig for 10.13 (anything older than macos 11.0):
Several months ago I efforted building zig on macos as far as possible, mostly out of curiosity and a 10.15 issue. This was my experience for 10.13:
I anticipate building zig without embedded llvm support will make such endeavours easier and perhaps even older macos may just work but always remain aware of supported OS versions, even if things happen to work. |
Zig Version
875e98a
Steps to Reproduce
brew install zig --HEAD
(for me, that's commit: 875e98a)Expected Behavior
Install success
Actual Behavior
The text was updated successfully, but these errors were encountered: