cmake doesn't cooperate with GCC-5.1 and LTO. I am using git binutils (9999) and I want to recompile my KF5 with it, but cmake is getting in the way. So I am pretty much stuck here with a non-working cmake. Reproducible: Always Steps to Reproduce: 1. emerge cmake 2. 3. Actual Results: /var/tmp/portage/dev-util/cmake-3.2.2/temp/ccary0lH.ltrans14.ltrans.o:<artificial>:function cmGlobalGenerator::WriteSummary(cmTarget*): error: undefined reference to 'Json::Value::Value(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' I am trying to recompile everything with json in it's name with no success. For example dev-libs/jsoncpp-0.10.2 rants about cmake and stuff when linking. In another report more about this.
Created attachment 402898 [details] build.log
Created attachment 402900 [details] emerge --info
It's probably an ABI issue - try rebuilding with USE="internal-jsoncpp".
(In reply to Michael Palimaka (kensington) from comment #3) > It's probably an ABI issue - try rebuilding with USE="internal-jsoncpp". Yep cmake emerged fine. =dev-libs/jsoncpp-0.10.2 too. Let's find out what about KF5.