Created attachment 761732 [details] build.log of the failing emerge When rebuilding dev-util/oprofile-1.4.0 I'm getting a configuration error saying `configure: error: liberty library not found` I'm using LTO overlay, but I think this problem is not affected by it.
Created attachment 761733 [details] emerge --info dev-util/oprofile
ecking for cplus_demangle in -liberty... no configure: error: liberty library not found !!! Please attach the following file when seeking support: !!! /tmp/portage/dev-util/oprofile-1.4.0/work/oprofile-1.4.0/config.log
Created attachment 761780 [details] config.log Ok, so after looking at this file (thanks for the hint :) ) I've noticed that the problem actually is caused by LTO (different GCC version between dev-util/oprofile and sys-libs/binutils-libs). I fixed it by rebuilding binutils-libs.
Thanks for the follow up!