<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - [OpenCL][llvm-svn]build failure addPassesToEmitFile candidate expects 6 arguments, 3 provided"
href="https://bugs.freedesktop.org/show_bug.cgi?id=106619">106619</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[OpenCL][llvm-svn]build failure addPassesToEmitFile candidate expects 6 arguments, 3 provided
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>git
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Other
</td>
</tr>
<tr>
<th>Assignee</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>lonewolf@xs4all.nl
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=139683" name="attach_139683" title="build log">attachment 139683</a> <a href="attachment.cgi?id=139683&action=edit" title="build log">[details]</a></span>
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
<a href="https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=mesa-git">https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=mesa-git</a>
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 &,</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>