[Mesa-dev] [Bug 106619] [OpenCL][llvm-svn]build failure addPassesToEmitFile candidate expects 6 arguments, 3 provided

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue May 22 16:41:36 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=106619

            Bug ID: 106619
           Summary: [OpenCL][llvm-svn]build failure  addPassesToEmitFile
                    candidate expects 6 arguments, 3 provided
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Other
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: lonewolf at xs4all.nl
        QA Contact: mesa-dev at lists.freedesktop.org

Created attachment 139683
  --> https://bugs.freedesktop.org/attachment.cgi?id=139683&action=edit
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 &,

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180522/9ceb8df5/attachment.html>


More information about the mesa-dev mailing list