On 2021.02.12 14:49, Walter Dnes wrote:
64-bit Gentoo on a new 12-core machine. The build fails in the compile phase. Switching makeopts from -j4 to -j1 didn't help. Build log is attached.
The error seems to be at linking:
/usr/lib/gcc/x86_64-pc-linux-gnu/7.5.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libjsoncpp.so: undefined reference to `std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()@GLIBCXX_3.4.26'
/usr/lib64/libjsoncpp.so belongs to dev-libs/jsoncpp. cmake depends on >=dev-libs/jsoncpp-1.9.2-r2:0=
I have 1.9.4 installed. (1.9.3 is the only other one I see in Portage.) Is it possible you have an older version, and the dep needs to be updated?
Also, might it be related to gcc version? I'm currently using 10.2.0-r5 ~amd64.
Jack

