<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:kai@dev.carbon-project.org" title="Kai <kai@dev.carbon-project.org>"> <span class="fn">Kai</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - Mesa git fails to build with recent llvm trunk & ggc-7"
href="https://bugs.freedesktop.org/show_bug.cgi?id=103388">bug 103388</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>kai@dev.carbon-project.org
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Mesa git fails to build with recent llvm trunk & ggc-7"
href="https://bugs.freedesktop.org/show_bug.cgi?id=103388#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Mesa git fails to build with recent llvm trunk & ggc-7"
href="https://bugs.freedesktop.org/show_bug.cgi?id=103388">bug 103388</a>
from <span class="vcard"><a class="email" href="mailto:kai@dev.carbon-project.org" title="Kai <kai@dev.carbon-project.org>"> <span class="fn">Kai</span></a>
</span></b>
<pre>Created <span class=""><a href="attachment.cgi?id=134973" name="attach_134973" title="Build log of failing build">attachment 134973</a> <a href="attachment.cgi?id=134973&action=edit" title="Build log of failing build">[details]</a></span>
Build log of failing build
I have the same issue in a clean pbuilder chroot of Debian Sid, exact versions
are:
- Mesa: Git:master/24fe4e6143
- libdrm: Git:master/e580be90e8 (tag: libdrm-2.4.85)
- LLVM: SVN:trunk/r316233 (6.0 devel)
- GCC: 7.2.0-11
The full build log, including configure line, is attached.
The error is:
<span class="quote">> libtool: link: ar cru .libs/libcltgsi.a tgsi/.libs/libcltgsi_la-compiler.o
> libtool: link: ranlib .libs/libcltgsi.a
> libtool: link: ( cd ".libs" && rm -f "libcltgsi.la" && ln -s "../libcltgsi.la" "libcltgsi.la" )
> ../../../../../src/gallium/state_trackers/clover/llvm/codegen/common.cpp: In function 'std::vector<clover::module::argument> {anonymous}::make_kernel_args(const llvm::Module&, const string&, const clang::CompilerInstance&)':
> ../../../../../src/gallium/state_trackers/clover/llvm/codegen/common.cpp:132:52: error: no match for 'operator-' (operand types are 'clang::LangAS' and 'const int')
> if (address_space == address_spaces[clang::LangAS::opencl_local
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~
> - compat::lang_as_offset]) {
> ^~~~~~~~
> Makefile:924: recipe for target 'llvm/codegen/libclllvm_la-common.lo' failed
> make[5]: *** [llvm/codegen/libclllvm_la-common.lo] Error 1
> make[5]: *** Waiting for unfinished jobs....</span ></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>