I'm scared of looking at db's code to look for a fix, so I won't do it now (but I will if you don't have time ;) ). The problem is that sys-libs/db-* strip the binaries before portage handle them, providing useless .debug files in /usr/lib/debug when using -ggdb and splitdebug. If instead the stripping is handled by portage, the data will be preserved if people had splitdebug in FEATURES, or simply discarded by portage with the defaults (-nostrip). Thanks, Diego
I've changed the db-4.2.52_p4 ebuild. It should now decide the strip binary doesn't exist, and as such not strip it. Please check whether this works for you too.
Works fine here.
Paul this regressed in 4.3, can you fix the remaining versions so that the binaries aren't stripped?
Should be fixed now for 4.1, 4.2, 4.3 and 4.4