-
-
Notifications
You must be signed in to change notification settings - Fork 758
Prebuilt odin won't run on MacOS 10.13.6 #4095
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
Comments
What version of LLVM is installed via And please post the compile errors. It's hard to go off "a bunch of errors". |
That's actually not required anymore with the prebuilt releases. I do think however that MacOS 10.13 is not going to be supported at the moment, that's quite old. |
I was thinking "I also tried building from source" when I asked that. |
Ok so here's what I get trying to build from source. I'm using llvm 14.
|
I guess @laytan is right about too old macos version... Or probably there is still a way? I can install odin via macports thoug, but the version I can install this way is dev-2024-07. The problem is it's too old for OLS vscode extention :) |
Looks like LLVM 10, not 14. I don't recall when it was last supported, but the lowest supported version is LLVM 11.
You could try updating LLVM and seeing if that helps. |
Well I have this in my
By the way llvm is installed via macports as well, not via homebrew. But it still uses llvm 10? |
LLVM<= 13 doesn't work, see #4017 |
But I have LLVM 14 installed and added to my path. I wonder why does it use version 10, like, by default.. probably |
You can do |
if i do
I can do and as I can see it gives me the same error:
|
I'm sorry, I do ML and web dev most of the time with Python/JS, never really did any serious stuff with C/C++/CMake, |
I installed LLVM 14 with brew and some hacks in debug mode on 10.13 and it works until dev-07, with the latest version I get an error with src/threading.cpp ./build_odin.sh release
./build_odin.sh: line 146: 1204 Illegal instruction: 4 ./odin run examples/demo -vet -strict-style -- Hellope World |
Ah, I am guessing the flag we added here 0342617 is not implemented on old macOS. Unfortunately it isn't documented/public from Apple so would be hard to figure out when it is available. |
Changing the else branches back to UL_COMPARE_AND_WAIT fixes the issue locally, I can use latest version now thanks! |
Follow this to install llvm 14 and use it as default on your system, you should be able to build dev-07 from source after you do this |
Ok found out somewhere that |
I am going to close this as I don't think there's anything else to do here. At least you can build from source now. |
Ok now I can build from source! Thank you so much ;) |
Uh oh!
There was an error while loading. Please reload this page.
I downloaded the latest version of Odin (I'm using macos 10.13.6) but when I type
./odin version
i getDoes mac os 10.13 support latest odin? I also tried building from source but
ended up with a bunch of errors related to SSE instructions. Any ideas?
The text was updated successfully, but these errors were encountered: