feature request: enable core file generation for better debugging
A few issues that were found during package builds were not debuggable until a core file was generated. Since some of the failures are transient or depend on race conditions, I think it would be prudent to generate core files during build runs.
This could increase disk space requirements moderately but shouldn't be overly critical considering some of the build sizes in our tree (Firefox at nearly 40 GB on ppc64, I think LLVM and WebKit are both >20 GB as well).
While we obviously can't set sysctls like kernel.core_pattern
to make it easy to find, it would be nice to document that we should use kernel.core_pattern=core.%p
at bare minimum inc are there are multiple crashing processes.
Enabling cores should be as simple as ulimit -c unlimited
in the subshell that launches abuild.