[Mesa-dev] [Bug 103388] Mesa git fails to build with recent llvm trunk & ggc-7

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Oct 21 11:59:40 UTC 2017


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

Kai <kai at dev.carbon-project.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kai at dev.carbon-project.org

--- Comment #2 from Kai <kai at dev.carbon-project.org> ---
Created attachment 134973
  --> https://bugs.freedesktop.org/attachment.cgi?id=134973&action=edit
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:
> 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....

-- 
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/20171021/bd632232/attachment.html>


More information about the mesa-dev mailing list