Created attachment 139683 [details] build log Both autotools and meson give the same error. Archlinux, gcc 8.1 , llvm-svn rev 332974 , mesa-git fe2edb25dd for configure settings see https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=mesa-git Full build log attached, last relevant line : 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)) ^ In file included from ./llvm/compat.hpp:50, from llvm/codegen/native.cpp:31: /usr/include/llvm/Target/TargetMachine.h:254:16: note: candidate: ‘virtual bool llvm::TargetMachine::addPassesToEmitFile(llvm::legacy::PassManagerBase&, llvm::raw_pwrite_stream&, llvm::raw_pwrite_stream*, llvm::TargetMachine::CodeGenFileType, bool, llvm::MachineModuleInfo*)’ virtual bool addPassesToEmitFile(PassManagerBase &, raw_pwrite_stream &,
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.