| Summary: | [OpenCL][llvm-svn]build failure addPassesToEmitFile candidate expects 6 arguments, 3 provided | ||
|---|---|---|---|
| Product: | Mesa | Reporter: | LoneVVolf <lonewolf> |
| Component: | Other | Assignee: | mesa-dev |
| Status: | RESOLVED FIXED | QA Contact: | mesa-dev |
| Severity: | normal | ||
| Priority: | medium | ||
| Version: | git | ||
| Hardware: | x86-64 (AMD64) | ||
| OS: | Linux (All) | ||
| Whiteboard: | |||
| i915 platform: | i915 features: | ||
| Bug Depends on: | |||
| Bug Blocks: | 99553 | ||
| Attachments: | build log | ||
|
Description
LoneVVolf
2018-05-22 16:41:36 UTC
Possible fix https://patchwork.freedesktop.org/patch/224857/ Same error here :
llvm/codegen/native.cpp:135:49: error: no matching function for call to ‘llvm::TargetMachine::addPassesToEmitFile(clover::llvm::compat::pass_manager&, llvm::raw_svector_ostream&, llvm::TargetMachine::CodeGenFileType&)’
if (tm->addPassesToEmitFile(pm, fos, ft))
Using Arch Linux
llvm-svn 7.0
Patch 1-3-clover-Fix-build-after-llvm-r332881.patch as suggested by jan vesely is now being applied to the archlinux AUR mesa-git package. Build goes fine now and running clinfo gives a usable report. (without clover supported hardware i can't test further.) Levis, is your HW opencl capable and if so could you run some simple tests ? Fixed by d424be0feda503307692db8447f5989fa8e4a843 "clover: Fix build after llvm r332881." |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.