On Wed, Apr 27, 2011 at 9:46 PM, Albert Y. C. Lai <trebla@vex.net> wrote:
Perhaps the linker ran out of memory.

I don't think so.  In my experience, when gnu ld crashes from out of memory it gets a segfault, which translates to error code 9, (or was it 11?), and then cabal will print ExitFailure 9 (or was it 11?).

Similarly, ExitFailure 127 means cabal couldn't find an executable it needed to run.

Jason