[Mesa-dev] [Bug 88783] FTBFS: Clover: src/gallium/state_trackers/clover/llvm/invocation.cpp:335:49: error: no matching function for call to 'llvm::TargetLibraryInfo::TargetLibraryInfo(llvm::Triple)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Jan 25 04:01:41 PST 2015


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

            Bug ID: 88783
           Summary: FTBFS: Clover:
                    src/gallium/state_trackers/clover/llvm/invocation.cpp:
                    335:49: error: no matching function for call to
                    'llvm::TargetLibraryInfo::TargetLibraryInfo(llvm::Trip
                    le)
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Other
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: kai at dev.carbon-project.org
        QA Contact: mesa-dev at lists.freedesktop.org
                CC: adf.lists at gmail.com

Created attachment 112793
  --> https://bugs.freedesktop.org/attachment.cgi?id=112793&action=edit
Full build log of failing build, produced by pbuilder

With LLVM > r226934 I get the following build error in a clean chroot build
environment (pbuilder):
> ../../../../../../src/gallium/state_trackers/clover/llvm/invocation.cpp: In function 'void {anonymous}::optimize(llvm::Module*, unsigned int, const std::vector<llvm::Function*>&)':
> ../../../../../../src/gallium/state_trackers/clover/llvm/invocation.cpp:335:49: error: no matching function for call to 'llvm::TargetLibraryInfo::TargetLibraryInfo(llvm::Triple)'
>              llvm::Triple(mod->getTargetTriple()));
>                                                  ^
> ../../../../../../src/gallium/state_trackers/clover/llvm/invocation.cpp:335:49: note: candidates are:
> In file included from ../../../../../../src/gallium/state_trackers/clover/llvm/invocation.cpp:60:0:
> /usr/lib/llvm-3.7/include/llvm/Analysis/TargetLibraryInfo.h:785:3: note: llvm::TargetLibraryInfo::TargetLibraryInfo(llvm::TargetLibraryInfo&&)
>    TargetLibraryInfo(TargetLibraryInfo &&TLI) : Impl(TLI.Impl) {}
>    ^
> /usr/lib/llvm-3.7/include/llvm/Analysis/TargetLibraryInfo.h:785:3: note:   no known conversion for argument 1 from 'llvm::Triple' to 'llvm::TargetLibraryInfo&&'
> /usr/lib/llvm-3.7/include/llvm/Analysis/TargetLibraryInfo.h:784:3: note: llvm::TargetLibraryInfo::TargetLibraryInfo(const llvm::TargetLibraryInfo&)
>    TargetLibraryInfo(const TargetLibraryInfo &TLI) : Impl(TLI.Impl) {}
>    ^
> /usr/lib/llvm-3.7/include/llvm/Analysis/TargetLibraryInfo.h:784:3: note:   no known conversion for argument 1 from 'llvm::Triple' to 'const llvm::TargetLibraryInfo&'
> /usr/lib/llvm-3.7/include/llvm/Analysis/TargetLibraryInfo.h:781:12: note: llvm::TargetLibraryInfo::TargetLibraryInfo(const llvm::TargetLibraryInfoImpl&)
>    explicit TargetLibraryInfo(const TargetLibraryInfoImpl &Impl) : Impl(&Impl) {}
>             ^
> /usr/lib/llvm-3.7/include/llvm/Analysis/TargetLibraryInfo.h:781:12: note:   no known conversion for argument 1 from 'llvm::Triple' to 'const llvm::TargetLibraryInfoImpl&'
> Makefile:857: recipe for target 'llvm/libclllvm_la-invocation.lo' failed
> make[4]: *** [llvm/libclllvm_la-invocation.lo] Error 1

This bug was first reported by Andy Furniss on the mesa-dev list on 2014-01-24
at 15:06 UTC (see
<http://thread.gmane.org/gmane.comp.video.mesa3d.devel/93649>). This bug is
intended to make it easier for multiple persons to track.

A full build log of the failing build is attached to this report. Let me know,
if you need something else.

-- 
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: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150125/74ede265/attachment.html>


More information about the mesa-dev mailing list