-
Notifications
You must be signed in to change notification settings - Fork 12k
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
mesa build fails with llvm 10: undefined reference to `getPollyPluginInfo()' #191
Comments
Hi and thanks for reporting. |
It's from Debian, and the full debian/rules file that shows the configuration (though maybe hard to parse) can be found here: the full build log of rc5 can be found here |
FWIW, Fedora does not seem to suffer from this, but they don't enable polly either from what I can tell.. |
@tjaalton we have a pending patch (a cherry pick from @serge-sans-paille patch) See here: |
I know, since I tested the version with that patch ("rc5 plus https://reviews.llvm.org/D74464" as provided by Gianfranco) and it didn't help |
Hi,
Building Mesa 20.0.x with llvm 10 fails with something that appears to be a bug in llvm itself:
/usr/bin/ld: /usr/lib/llvm-10/lib/libclangCodeGen.a(BackendUtil.cpp.o): in function
(anonymous namespace)::EmitAssemblyHelper::EmitAssemblyWithNewPassManager(clang::BackendAction, std::unique_ptr<llvm::raw_pwrite_stream, std::default_delete<llvm::raw_pwrite_stream> >)': (.text._ZN12_GLOBAL__N_118EmitAssemblyHelper30EmitAssemblyWithNewPassManagerEN5clang13BackendActionESt10unique_ptrIN4llvm17raw_pwrite_streamESt14default_deleteIS5_EE+0x1f15): undefined reference to
getPollyPluginInfo()'collect2: error: ld returned 1 exit status
I've tried with rc3/rc4 and rc5 plus https://reviews.llvm.org/D74464
The text was updated successfully, but these errors were encountered: