GHC crashes when building on 32-bit Linux in a Linode
Trying to build
haskell-src-exts crashes in a 32-bit Linux Linode (under Xen).
GHC 7.0.4 seems ok, but I've tried GHC 7.2.2, 7.4.1 and 7.6.1 and they all either segfault or issue a bad instruction when building. This also happens when building GHC from source.
GHC 7.6.1 crashes more frequently than the others. When run under GDB it usually dies at the same program point (0x093c6263). Running GHC with -v says it's in the 'Tidy Core' stage.
I've tried under the latest Arch, as well as Debian. The Linode has 1GB of real RAM and 4GB of swap, so it shouldn't be running out of memory.
The Linode has been stable otherwise, it runs apache and trac, and has had uptimes of 3 months or more.
Running Ubuntu-32bit under Parallels (using OSX as the host) with the same memory configuration seems fine.