The power of portage makes Gentoo probably the very best distribution to use for software development. This article is not about the development of portage itself. We will endeavour to collect tips and recipes about using portage's features to help a developer in its work.
Backtraces and symbols for gdb and valgrind
1) Create the file /etc/portage/env/debugsyms.conf.
2) Add a line in /etc/portage/package.env for the packgage you want, e.g.: