-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Build fails against LLVM 3.7.0 #28830
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
The C API for LLVM was accidentally changed in 3.7.0, this is/will be fixed in 3.7.1 and we already have that fix in our LLVM fork. @alexcrichton do we want to add a check for 3.7.0 or just close this and pretend 3.7.0 never happened? |
Feel free to close this if you decide you don't care. I already have to apply a patch to build against my system LLVM, so it's not a big deal to me to make that patch slightly larger until 3.7.1 is released. |
Hm, so now I think I'm a little confused! This was indeed breakage that snuck into LLVM at some point which then snuck back out around the time of the release. I made this change in the source because our Travis builder is now installing LLVM from their apt repos which have this change. Now those repos also report that the LLVM version is 3.7.0, so I thought that this actually made its way into the 3.7.0 release and I forgot to include it. If they update their repos every night, though, and don't bump the version just yet, that may also explain it! I'm all for supporting as many versions of LLVM as possible, but I'm not sure how to detect at compile-time the "true 3.7.0 release" vs "what's in LLVM's apt repos" now... |
@alexcrichton according to http://llvm.org/apt/ the packages are indeed built from the latest commit on the respective branches (see So I see three options:
3 seems like overkill. And 2 is probably not really worth it, because I expect distros not to pick up 3.7.0 for their stable releases because of this API breakage. And users should really use 3.7.1 instead once that comes out. So I'd say let's close this for now, and maybe do 2 later, if any distro does indeed package 3.7.0 in a stable release. |
Aha, that does indeed explain everything, thanks @dotdash! I agree that going with option (2) as well, and if distros haven't picked up LLVM 3.7.0 yet it may not be so bad. Closing for now and we can reevaluate in the future if 3.7.0 vs 3.7.1 comes up! |
The build was changed to compile with the bundled LLVM because compiling against the system's LLVM now fails with compilation errors.
Broken by 27dd6dd in #28500.
The text was updated successfully, but these errors were encountered: