-
Notifications
You must be signed in to change notification settings - Fork 109
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
Building Dex on Fedora 36 (clang++-14) #1059
Comments
clang++-14 might work, but it's likely it won't. The main reason for this is that we use clang to generate some LLVM IR that we later read in the compiler. If the clang version is newer than whatever LLVM you used to build Dex (pretty much always 12), then it might fail if the IR has been extended since then. I actually have a branch where I'm adding support for LLVM 15. It's freshly released, so it might take a few weeks before packages appear in most popular repositories, but it should give you the cutting edge support (in that case you might even be able to use clang++-14, not just clang++-15). |
Thanks. I tried hacking the makefile to allow building with clang++-14. It did build an executable, but it crashed at runtime. |
Yes, I would expect it to crash at runtime. The only rule that depends on the clang version is the one for |
Just adding to this. I tried building/installing |
Fedora 36 contains a package which provides clang++-14, but no longer includes one that provides clang++-12. Is it easy/possible to build Dex on Fedora, or more generally, with clang++-14?
The text was updated successfully, but these errors were encountered: