[LLVMbugs] [Bug 12861] New: Building of lld fails

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu May 17 04:01:58 PDT 2012


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

             Bug #: 12861
           Summary: Building of lld fails
           Product: new-bugs
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: gkrosl at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Building of lld (LLVM linker) fails with following error:


In file included from
/Volumes/Dev/LLVM/llvm/tools/lld/tools/lld-core/lld-core.cpp:12:
In file included from
/Volumes/Dev/LLVM/llvm/tools/lld/include/lld/Core/NativeReader.h:13:
In file included from
/Volumes/Dev/LLVM/llvm/tools/lld/include/lld/Core/File.h:18:
In file included from /Volumes/Dev/LLVM/llvm/include/llvm/ADT/StringRef.h:18:
/usr/include/c++/v1/string:1952:10: error: overload resolution selected
implicitly-deleted copy assignment operator
    __r_ = _STD::move(__str.__r_);
         ^
/usr/include/c++/v1/string:1942:9: note: in instantiation of member function
'std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> >::__move_assign' requested
      here
        __move_assign(__str, true_type());
        ^
/usr/include/c++/v1/string:1961:5: note: in instantiation of member function
'std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> >::__move_assign' requested
      here
    __move_assign(__str, integral_constant<bool,
    ^
/Volumes/Dev/LLVM/llvm/include/llvm/Support/CommandLine.h:882:11: note: in
instantiation of member function 'std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char>
      >::operator=' requested here
    Value = Arg.str();
          ^
/usr/include/c++/v1/memory:1941:5: note: copy assignment operator is implicitly
deleted because '__compressed_pair<std::__1::basic_string<char,
std::__1::char_traits<char>,
      std::__1::allocator<char>>::__rep, std::__1::allocator<char> >' has a
user-declared move constructor
    __compressed_pair(__compressed_pair&& __p)
    ^
1 warning and 1 error generated.
make[2]: *** [tools/lld/tools/lld-core/CMakeFiles/lld-core.dir/lld-core.cpp.o]
Error 1
make[1]: *** [tools/lld/tools/lld-core/CMakeFiles/lld-core.dir/all] Error 2
make: *** [all] Error 2

OS X 10.7.3
Clang 3.2 from trunk

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list