protobuf-c 1.0.2-r1 and 1.1.1 doesn't compile with gcc-4.6, gcc-4.9 works fine. Compiler version check in ebuild could fix. Error output follows: /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.4/../../../../lib64/libprotobuf.so: undefined reference to `std::__throw_out_of_range_fmt(char const*, ...)@GLIBCXX_3.4.20' Reproducible: Always Steps to Reproduce: 1. select gcc-4.6.4 profile 2. emerge protobuf-c Actual Results: Compile phase failure. Expected Results: Successful merge.
Michał Górny <mgorny@gentoo.org>, Andreas K. Hüttel <dilfridge@gentoo.org>, # Matthias Maier <tamiko@gentoo.org> (21 May 2017) # Those old versions of GCC are no longer really supported and are not # suitable for use as a system-wide compiler. Using them can result # in build failures (and possible breakage) for many packages. # # If you still use one of these as your system compiler, please upgrade # and switch the compiler ASAP. If you need them for a specific (isolated) # use case, feel free to unmask them on your system. <sys-devel/gcc-4.9