<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 - Clover - radeonsi: Mesa git - broken compilation with current LLVM 10.0.0"
href="https://bugs.freedesktop.org/show_bug.cgi?id=111523">111523</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Clover - radeonsi: Mesa git - broken compilation with current LLVM 10.0.0
</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>critical
</td>
</tr>
<tr>
<th>Priority</th>
<td>not set
</td>
</tr>
<tr>
<th>Component</th>
<td>Gallium/StateTracker/Clover
</td>
</tr>
<tr>
<th>Assignee</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>Dieter@nuetzel-hh.de
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>../src/gallium/state_trackers/clover/llvm/invocation.cpp: In function
‘std::unique_ptr<clang::CompilerInstance>
{anonymous}::create_compiler_instance(const clover::device&, const
std::vector<std::__cxx11::basic_string<char> >&, std::string&)’:
../src/gallium/state_trackers/clover/llvm/invocation.cpp:203:81: error: no
matching function for call to
‘clang::CompilerInvocation::CreateFromArgs(clang::CompilerInvocation&, const
char* const*, const char* const*, clang::DiagnosticsEngine&)’
203 | c->getInvocation(), copts.data(), copts.data() +
copts.size(), diag))
|
^
In file included from /usr/local/include/clang/Frontend/CompilerInstance.h:15,
from ../src/gallium/state_trackers/clover/llvm/codegen.hpp:37,
from
../src/gallium/state_trackers/clover/llvm/invocation.cpp:49:
/usr/local/include/clang/Frontend/CompilerInvocation.h:157:15: note: candidate:
‘static bool
clang::CompilerInvocation::CreateFromArgs(clang::CompilerInvocation&,
llvm::ArrayRef<const char*>, clang::DiagnosticsEngine&)’
157 | static bool CreateFromArgs(CompilerInvocation &Res,
| ^~~~~~~~~~~~~~
/usr/local/include/clang/Frontend/CompilerInvocation.h:157:15: note:
candidate expects 3 arguments, 4 provided
../src/gallium/state_trackers/clover/llvm/invocation.cpp: In function
‘std::unique_ptr<llvm::Module> {anonymous}::link(llvm::LLVMContext&, const
clang::CompilerInstance&, const std::vector<clover::module>&, std::string&)’:
../src/gallium/state_trackers/clover/llvm/invocation.cpp:360:23: warning:
moving a local object in a return statement prevents copy elision
[-Wpessimizing-move]
360 | return std::move(mod);
| ~~~~~~~~~^~~~~
../src/gallium/state_trackers/clover/llvm/invocation.cpp:360:23: note: remove
‘std::move’ call</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>