With both gcc6 and gcc9, GCC seems to attempt some optimization in googletest consumers using __floatunsidf, which breaks with our compiler-rt because we compile libgcc.a with -fvisibility=hidden.
gtest_unittest results in always_inline failures, e.g.:
/usr/obj/usr/src/mips.mips/tmp/usr/include/c++/v1/ostream: In member function 'virtual void AssertionResultTest_CanSt reamOstreamManipulators_Test::TestBody()': /usr/obj/usr/src/mips.mips/tmp/usr/include/c++/v1/ostream:1004:1: error: inlining failed in call to always_inline 'st d::__1::basic_ostream<_CharT, _Traits>& std::__1::endl(std::__1::basic_ostream<_CharT, _Traits>&) [with _CharT = char ; _Traits = std::__1::char_traits<char>]': indirect function call with a yet undetermined callee endl(basic_ostream<_CharT, _Traits>& __os) ^~~~ /usr/obj/usr/src/mips.mips/tmp/usr/include/c++/v1/ostream:196:24: note: called from here { return __pf(*this); }
I've scoped the exclusion down to current versions of gcc used to build so we naturally re-evaluate it with the next version (though I'd suspect it won't change there).