[Beignet] Build failure with SVN LLVM (Fwd: AUR Comment for beignet-git)

Yichao Yu yyc1992 at gmail.com
Thu Sep 11 23:41:32 PDT 2014


Hi,

The following error is reported on AUR when building beignet with svn
version of LLVM.

THX.

Yichao Yu.

---------- Forwarded message ----------
From:  <notify at aur.archlinux.org>
Date: Fri, Sep 12, 2014 at 2:34 AM
Subject: AUR Comment for beignet-git
To:


from https://aur.archlinux.org/pkgbase/beignet-git/
alaviss wrote:

Failed to build with SVN LLVM:

src/beignet/backend/src/llvm/llvm_bitcode_link.cpp:70:12: error:
assigning to 'llvm::Module *' from incompatible type
      'std::unique_ptr<Module>'
    oclLib = getLazyIRFileModule(FilePath, Err, ctx);
           ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[  9%] backend/src/CMakeFiles/gbe.dir/build.make:606: recipe for
target 'backend/src/CMakeFiles/gbe.dir/llvm/llvm_bitcode_link.cpp.o'
failed
make[2]: ***
[backend/src/CMakeFiles/gbe.dir/llvm/llvm_bitcode_link.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Building CXX object
backend/src/CMakeFiles/gbe.dir/llvm/llvm_passes.cpp.o
clang: warning: -Wl,-E: 'linker' input unused
src/beignet/backend/src/backend/program.cpp:613:19: error: no viable
conversion from 'std::unique_ptr<llvm::Module>' to
      'llvm::Module *'
    llvm::Module *module = Act->takeModule();
                  ^        ~~~~~~~~~~~~~~~~~
1 error generated.
backend/src/CMakeFiles/gbe.dir/build.make:583: recipe for target
'backend/src/CMakeFiles/gbe.dir/backend/program.cpp.o' failed
make[2]: *** [backend/src/CMakeFiles/gbe.dir/backend/program.cpp.o]
Error 1

---
If you no longer wish to receive notifications about this package,
please go the the above package page and click the UnNotify button.


More information about the Beignet mailing list