-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Sanitize the output of llvm-config
when building with external LLVM
#14663
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
I am hitting this error message just trying to build Rust:
I configure via:
Is there a workaround? |
I updated llvm to 3.7.1 on Slackware current to get rid of this issue but suddenly I'm getting the above-mentioned build error using both Did the
|
It's about compiling just three C++ files so it's a minor mistake in the build scripts. |
@retarded_fag @alexcrichton Someone has just got bitten by this again. |
Okay, to triage this issue a little, I think this is about us using llvm-config's output to generate gcc parameters, which breaks on external LLVM's, since those can get built with different gcc/linker params. The current situation appears to be unchanged, but cc @brson for confirmation. |
I don't believe this is a bug anymore, closing -- if someone reproduces, let us know and we'll reopen. |
My LLVM, built with clang:
Building with gcc:
The text was updated successfully, but these errors were encountered: