It seems I accidentally removed
dev-libs/mpc instead of
media-sound/mpc. Now I can't compile anything (including a replacement
dev-libs/mpc) because in doing so I apparently murdered GCC.
How does one fix something like this?
There's a chance if your current linked library version matches the one in stage3 archives,
Download the current stage3 files, extract it, and copy the libmpc* to /usr/lib
(confirm all needed files with
Then re-emerge dev-libs/mpc with emerge, which will replace the copied libmpc files.
Phew, not so bad after all. Recording here for posterity, and for the next time I do this.