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

2018-05-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106619

Jan Vesely  changed:

   What|Removed |Added

 Blocks||99553
 Resolution|--- |FIXED
 Status|NEW |RESOLVED

--- Comment #4 from Jan Vesely  ---
Fixed by d424be0feda503307692db8447f5989fa8e4a843
"clover: Fix build after llvm r332881."


Referenced Bugs:

https://bugs.freedesktop.org/show_bug.cgi?id=99553
[Bug 99553] Tracker bug for runnning OpenCL applications on Clover
-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


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

2018-05-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106619

--- Comment #3 from LoneVVolf  ---
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 ?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


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

2018-05-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106619

--- Comment #2 from Levis Raju  ---
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

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


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

2018-05-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106619

--- Comment #1 from Jan Vesely  ---
Possible fix https://patchwork.freedesktop.org/patch/224857/

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


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

2018-05-22 Thread bugzilla-daemon
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@lists.freedesktop.org
  Reporter: lonew...@xs4all.nl
QA Contact: mesa-dev@lists.freedesktop.org

Created attachment 139683
  --> https://bugs.freedesktop.org/attachment.cgi?id=139683=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.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev