[LLVMbugs] [Bug 17966] New: lld build fails when compiling HexagonLinkingContext.cpp

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Nov 17 07:44:52 PST 2013


http://llvm.org/bugs/show_bug.cgi?id=17966

            Bug ID: 17966
           Summary: lld build fails when compiling
                    HexagonLinkingContext.cpp
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: kraiskil at ovi.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Build of llvm+clang+lld with clang3.3 fails on Debian Wheezy
svn version 194914.
(also, Hexagon support is disabled in configuration of this build)

[ 98%] Building CXX object
tools/lld/lib/ReaderWriter/ELF/Hexagon/CMakeFiles/lldHexagonELFTarget.dir/HexagonLinkingContext.cpp.o
In file included from
/home/buildbot/llvm/svn/llvm/tools/lld/lib/ReaderWriter/ELF/Hexagon/HexagonLinkingContext.cpp:11:
In file included from
/home/buildbot/llvm/svn/llvm/tools/lld/lib/ReaderWriter/ELF/Hexagon/HexagonLinkingContext.h:13:
In file included from
/home/buildbot/llvm/svn/llvm/tools/lld/lib/ReaderWriter/ELF/Hexagon/HexagonTargetHandler.h:13:
In file included from
/home/buildbot/llvm/svn/llvm/tools/lld/lib/ReaderWriter/ELF/./DefaultTargetHandler.h:13:
In file included from
/home/buildbot/llvm/svn/llvm/tools/lld/lib/ReaderWriter/ELF/./DefaultLayout.h:14:
In file included from
/home/buildbot/llvm/svn/llvm/tools/lld/lib/ReaderWriter/ELF/./HeaderChunks.h:13:
In file included from
/home/buildbot/llvm/svn/llvm/tools/lld/lib/ReaderWriter/ELF/./SegmentChunks.h:15:
In file included from
/home/buildbot/llvm/svn/llvm/tools/lld/lib/ReaderWriter/ELF/./SectionChunks.h:19:
In file included from
/home/buildbot/llvm/svn/llvm/tools/lld/include/lld/Core/Parallel.h:28:
In file included from
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../../include/c++/4.6/condition_variable:38:
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../../include/c++/4.6/chrono:535:6:
error: no matching
      constructor for initialization of 'duration' (aka
'std::chrono::duration<long long,
      std::ratio<1, 1000000> >')
          : __d(__t.time_since_epoch())
            ^   ~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../../include/c++/4.6/condition_variable:106:42:
note: in
      instantiation of function template specialization
      'std::chrono::time_point<std::chrono::system_clock,
std::chrono::duration<long long,
      std::ratio<1, 1000000> > >::time_point<std::chrono::duration<long long,
std::ratio<1,
      1000000000> > >' requested here
        const __clock_t::time_point __s_atime = __s_entry + __delta;
                                                ^
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../../include/c++/4.6/chrono:234:12:
note: candidate
      constructor not viable: no known conversion from 'duration<[...],
ratio<[...], 1000000000>>'
      to 'const duration<[...], ratio<[...], 1000000>>' for 1st argument
        constexpr duration(const duration&) = default;
                  ^
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../../include/c++/4.6/chrono:240:23:
note: candidate
      template ignored: couldn't infer template argument ''
          constexpr explicit duration(const _Rep2& __rep)
                             ^
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../../include/c++/4.6/chrono:247:14:
note: candidate
      template ignored: couldn't infer template argument ''
          constexpr duration(const duration<_Rep2, _Period2>& __d)
                    ^
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../../include/c++/4.6/chrono:232:12:
note: candidate
      constructor not viable: requires 0 arguments, but 1 was provided
        constexpr duration() : __r() { }
                  ^
1 error generated.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20131117/831e34b9/attachment.html>


More information about the llvm-bugs mailing list