I tried -ggdb and -g compilation of Chromium what ended in OOM killer killing ld process, RAM 8 GB. It linked with -g when myconf_gn+=" is_component_build=true" was used. But it produces this way more libraries which are not installed in ebuild's install phase, like libbase.so. Could you please think about implementing it in the ebuild?
Seems like we might need to do this to get useful debug builds on common hardware.
Done in https://gitweb.gentoo.org/repo/gentoo.git/commit/www-client/chromium?id=e7b214d802b93e71f715298bcaffc1590541bca6 for M57.
Stable is at M58 now, closing.