Created attachment 436526 [details] build.log Hi, sleuthkit-4.1.3 fails to link with cppunit-1.13.1: errors_test.o: In function `_GLOBAL__sub_I__ZN10ErrorsTest5setUpEv': errors_test.cpp:(.text.startup+0x4f): undefined reference to `CppUnit::TestFactoryRegistry::getRegistry(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' errors_test.o:(.rodata._ZTVN7CppUnit10TestCallerI10ErrorsTestEE[_ZTVN7CppUnit10TestCallerI10ErrorsTestEE]+0x20): undefined reference to `CppUnit::TestCase::getName[abi:cxx11]() const' errors_test.o:(.rodata._ZTVN7CppUnit10TestCallerI10ErrorsTestEE[_ZTVN7CppUnit10TestCallerI10ErrorsTestEE]+0x24): undefined reference to `CppUnit::Test::findTestPath(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, CppUnit::TestPath&) const' errors_test.o:(.rodata._ZTVN7CppUnit10TestCallerI10ErrorsTestEE[_ZTVN7CppUnit10TestCallerI10ErrorsTestEE]+0x2c): undefined reference to `CppUnit::Test::findTest(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const' errors_test.o:(.rodata._ZTVN7CppUnit10TestCallerI10ErrorsTestEE[_ZTVN7CppUnit10TestCallerI10ErrorsTestEE]+0x30): undefined reference to `CppUnit::Test::resolveTestPath(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const' collect2: error: ld returned 1 exit status
Created attachment 436528 [details] environment
Created attachment 436530 [details] emerge --info
Did you recompile cppunit after upgrading to gcc5?
Apparently no, this system is in the process of @world update right now and emerge put sleuthkit before cppunit in the dep tree, since sleuthkit has no ebuild dependency on cppunit. When @world update will be completed (or will fail again even with --keep-going, which is much more likely) I'll report back, though I give 99.99% that this problem comes from C++ abi mismatch. Looks like I read error message without enough care.
Mike, this indeed was C++11 abi mismatch, rebuild of cppunit helps. Bug 585088 should be fixed to reduce risks of such issue for other users.