I don't know if this is really a bug, or is all OK, but I think it should at least be checked. I've seen in [1], that in order to have lto working, you needs libelf-0.8.12, but instead, it has a dep on >=dev-libs/elfutils-0.143. Is is ok? [1]: http://gcc.gnu.org/wiki/LinkTimeOptimization Reproducible: Always
Yup, it's an alternative for libelf. You can look at gcc's config.log to see it's happy with elfutils :) <snip> checking libelf.h usability... yes checking libelf.h presence... yes checking for libelf.h... yes checking libelf/libelf.h usability... no checking libelf/libelf.h presence... no checking for libelf/libelf.h... no checking libelf/gelf.h usability... no checking libelf/gelf.h presence... no checking for libelf/gelf.h... no checking for the correct version of libelf... yes <snip> Cheers, Kacper Kowalik