After successfully rebuilding the kernel, I decided to leave the
machine compiling the userland overnight. This morning, the build
window was stuck building getpwent.so (ie.. not too far into the
build process).
Most likely, the combination of make(1) malloc()ing ad infinitum and
GCC eventually consumed all available swap space, and the pager
wedged.