[LLVMbugs] [Bug 11466] New: Build failed for LLVM 3.0

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Dec 1 17:58:00 PST 2011


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

             Bug #: 11466
           Summary: Build failed for LLVM 3.0
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: spamdaemon at comcast.net
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


I just downloaded llvm-3.0. After unzipping it (with and without clang), I
typed "configure --prefix=/local/llvm-3.0" and then "make -j8"

Build fails here:

In file included from
/pub/llvm-3.0.src/utils/unittest/googletest/include/gtest/gtest.h:57:0,
                 from InstructionsTest.cpp:16:
/pub/llvm-3.0.src/utils/unittest/googletest/include/gtest/internal/gtest-internal.h:
In instantiation of ‘const bool testing::internal::ImplicitlyConvertible<const
llvm::Use&, long long int>::value’:
/pub/llvm-3.0.src/utils/unittest/googletest/include/gtest/gtest-printers.h:201:3:
  instantiated from ‘std::basic_ostream<_CharT, _Traits>&
testing::internal2::operator<<(std::basic_ostream<_CharT, _Traits>&, const T&)
[with Char = char, CharTraits = std::char_traits<char>, T = llvm::Use]’
/pub/llvm-3.0.src/utils/unittest/googletest/include/gtest/gtest-printers.h:245:3:
  instantiated from ‘void testing_internal::DefaultPrintNonContainerTo(const
T&, std::ostream*) [with T = llvm::Use, std::ostream =
std::basic_ostream<char>]’
/pub/llvm-3.0.src/utils/unittest/googletest/include/gtest/gtest-printers.h:338:3:
  instantiated from ‘void
testing::internal::DefaultPrintTo(testing::internal::IsNotContainer,
testing::internal::false_type, const T&, std::ostream*) [with T = llvm::Use,
testing::internal::IsNotContainer = char, testing::internal::false_type =
testing::internal::bool_constant<false>, std::ostream =
std::basic_ostream<char>]’
/pub/llvm-3.0.src/utils/unittest/googletest/include/gtest/gtest-printers.h:376:3:
  instantiated from ‘void testing::internal::PrintTo(const T&, std::ostream*)
[with T = llvm::Use, std::ostream = std::basic_ostream<char>]’
/pub/llvm-3.0.src/utils/unittest/googletest/include/gtest/gtest-printers.h:600:5:
  instantiated from ‘static void
testing::internal::UniversalPrinter<T>::Print(const T&, std::ostream*) [with T
= llvm::Use, std::ostream = std::basic_ostream<char>]’
/pub/llvm-3.0.src/utils/unittest/googletest/include/gtest/gtest-printers.h:697:3:
  instantiated from ‘void testing::internal::UniversalPrint(const T&,
std::ostream*) [with T = llvm::Use, std::ostream = std::basic_ostream<char>]’
/pub/llvm-3.0.src/utils/unittest/googletest/include/gtest/gtest-printers.h:678:3:
  instantiated from ‘void testing::internal::UniversalTersePrint(const T&,
std::ostream*) [with T = llvm::Use, std::ostream = std::basic_ostream<char>]’
/pub/llvm-3.0.src/utils/unittest/googletest/include/gtest/gtest-printers.h:790:3:
  instantiated from ‘std::string testing::PrintToString(const T&) [with T =
llvm::Use, std::string = std::basic_string<char>]’
/pub/llvm-3.0.src/utils/unittest/googletest/include/gtest/gtest.h:1301:40:  
instantiated from ‘testing::internal::String
testing::internal::FormatForComparisonFailureMessage(const T1&, const T2&)
[with T1 = llvm::Use, T2 = llvm::Constant*]’
/pub/llvm-3.0.src/utils/unittest/googletest/include/gtest/gtest.h:1330:25:  
instantiated from ‘testing::AssertionResult
testing::internal::CmpHelperEQ(const char*, const char*, const T1&, const T2&)
[with T1 = llvm::Constant*, T2 = llvm::Use]’
/pub/llvm-3.0.src/utils/unittest/googletest/include/gtest/gtest.h:1355:30:  
instantiated from ‘static testing::AssertionResult
testing::internal::EqHelper<lhs_is_null_literal>::Compare(const char*, const
char*, const T1&, const T2&) [with T1 = llvm::Constant*, T2 = llvm::Use, bool
lhs_is_null_literal = false]’
InstructionsTest.cpp:35:3:   instantiated from here
/pub/llvm-3.0.src/include/llvm/Use.h:69:3: error: ‘llvm::Use::Use(const
llvm::Use&)’ is private
/pub/llvm-3.0.src/utils/unittest/googletest/include/gtest/internal/gtest-internal.h:910:60:
error: within this context
/pub/llvm-3.0.src/include/llvm/Use.h:72:3: error: ‘llvm::Use::~Use()’ is
private
/pub/llvm-3.0.src/utils/unittest/googletest/include/gtest/internal/gtest-internal.h:910:60:
error: within this context
/bin/rm: cannot remove
`/pub/llvm-3.0.src/unittests/VMCore/Release/InstructionsTest.d.tmp': No such
file or directory
make[2]: *** [/pub/llvm-3.0.src/unittests/VMCore/Release/InstructionsTest.o]
Error 1

-- 
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