Opened 11 years ago

Closed 11 years ago

#41322 closed defect (fixed)

clang-3.3: Undefined symbols testing::internal::PrintTo testing::internal::StringStreamToString testing::internal2::PrintBytesInObjectTo testing::internal::PrintStringTo

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: leopard Cc:
Port: clang-3.3

Description

Building clang-3.3 on Leopard i386 fails:

:info:build Undefined symbols:
:info:build   "testing::internal::PrintTo(unsigned char, std::basic_ostream<char, std::char_traits<char> >*)", referenced from:
:info:build       testing::internal::String testing::internal::FormatForComparisonFailureMessage<char, char>(char const&, char const&)in CharInfoTest.o
:info:build       void testing::internal::DefaultPrintTo<llvm::StringRef>(int, testing::internal::bool_constant<false>, llvm::StringRef const&, std::basic_ostream<char, std::char_traits<char> >*)in SourceManagerTest.o
:info:build   "testing::internal::StringStreamToString(std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >*)", referenced from:
:info:build       testing::AssertionResult::AppendMessage(testing::Message const&)in FileManagerTest.o
:info:build       testing::AssertionResult testing::internal::CmpHelperNE<clang::FileEntry const*, clang::FileEntry const*>(char const*, char const*, clang::FileEntry const* const&, clang::FileEntry const* const&)in FileManagerTest.o
:info:build       testing::AssertionResult testing::internal::CmpHelperNE<clang::FileEntry const*, clang::FileEntry const*>(char const*, char const*, clang::FileEntry const* const&, clang::FileEntry const* const&)in FileManagerTest.o
:info:build       testing::AssertionResult testing::internal::CmpHelperNE<clang::FileEntry const*, clang::FileEntry const*>(char const*, char const*, clang::FileEntry const* const&, clang::FileEntry const* const&)in FileManagerTest.o
:info:build       testing::AssertionResult testing::internal::CmpHelperNE<clang::FileEntry const*, clang::FileEntry const*>(char const*, char const*, clang::FileEntry const* const&, clang::FileEntry const* const&)in FileManagerTest.o
:info:build   "testing::internal2::PrintBytesInObjectTo(unsigned char const*, unsigned long, std::basic_ostream<char, std::char_traits<char> >*)", referenced from:
:info:build       testing::internal::String testing::internal::FormatForComparisonFailureMessage<clang::SourceLocation, clang::SourceLocation>(clang::SourceLocation const&, clang::SourceLocation const&)in SourceManagerTest.o
:info:build   "testing::internal::PrintStringTo(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_ostream<char, std::char_traits<char> >*)", referenced from:
:info:build       testing::AssertionResult testing::internal::CmpHelperEQ<char [5], std::basic_string<char, std::char_traits<char>, std::allocator<char> > >(char const*, char const*, char const (&) [5], std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in SourceManagerTest.o
:info:build       testing::AssertionResult testing::internal::CmpHelperEQ<char [17], std::basic_string<char, std::char_traits<char>, std::allocator<char> > >(char const*, char const*, char const (&) [17], std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in SourceManagerTest.o
:info:build       testing::AssertionResult testing::internal::CmpHelperEQ<char [4], std::basic_string<char, std::char_traits<char>, std::allocator<char> > >(char const*, char const*, char const (&) [4], std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in SourceManagerTest.o
:info:build       testing::AssertionResult testing::internal::CmpHelperEQ<char [2], std::basic_string<char, std::char_traits<char>, std::allocator<char> > >(char const*, char const*, char const (&) [2], std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in SourceManagerTest.o
:info:build ld: symbol(s) not found

Attachments (1)

main.log.bz2 (71.0 KB) - added by ryandesign (Ryan Carsten Schmidt) 11 years ago.

Download all attachments as: .zip

Change History (6)

Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: main.log.bz2 added

comment:1 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Booting up the VM...

comment:2 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Just to add, it's the same on Leopard ppc.

comment:3 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Status: newassigned

I've got all of clang-2.9 through clang-3.4 built and installed on my Leopard VM (universal in all cases).

clang-3.3-3.3_2+analyzer+python27+universal.darwin_9.i386-x86_64.tbz2

Is this still an issue for you on intel or is it just ppc?

comment:4 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

I appear to have been able to install clang-3.3 on Leopard i386 on February 17. I will also try again on Leopard ppc and let you know the result.

clang-3.4 does not build for me on Leopard i386 but the error is different so I'll file a new ticket.

comment:5 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: assignedclosed

Ok, closing as fixed at some point. Thanks.

Note: See TracTickets for help on using tickets.