To be precise, I ran the following and can use --disable-profiling with ghc-7.6.3 now.
I spoke too early.
Weird problem, running `cabal install --disable-profiling -j1` works, but using a higher number of cores I get the same error during cabal configure. Here is what I did.
$ ghc -V
The Glorious Glasgow Haskell Compilation System, version 7.6.3