Although glibc is compiled with it : $ grep glibc /etc/portage/package.env sys-libs/glibc splitdebug the ebuild gives a warning: WARN: postinst Valgrind will not work if glibc does not have debug symbols. To fix this you can add splitdebug to FEATURES in make.conf and remerge glibc. See:
Maybe einfo instead of ewarn? It's difficult to actually check whether -g and splitdebug are enabled.
(In reply to comment #1) > Maybe einfo instead of ewarn? yep - at least would not confuse the user.
(In reply to comment #2) > (In reply to comment #1) > > Maybe einfo instead of ewarn? > yep - at least would not confuse the user. Okay, I did that, but I feel uneasy about it because the unsuspecting user may not look in their logs. If got a feeling I'm going to be reverting this sometime in the near future.