Alessandro Vernet writes:
> We are trying to compile GHC 2.09 on our Digital UNIX 4.0b systems. We
> had no problem with GHC itself, but rather with the Digital assembler.
> When compiling "huge" files, our assembler crashes with a segmentation
> fault. We could solve this problem by spliting one "huge" Haskell file
> into two files, however this process is somewhat painfull. Had someone
> here already this problem (and possibly solved it)?
>
Hi,
haven't got Digital UNIX 4.0 here, so no first hand experiences to
pass on, I'm afraid. A couple of suggestions that might be of some
help:
- It looks like you're running up against a limit of some sort. If
it's swap/tmp space (unlikely, since ghc operates ok), setting
TMPDIR to something other than the default might help.
- If the .s file was produced with ghc's native code generator (the
default), try going the via C route, i.e., compile with -fvia-C
- GNU as?
--Sigbjorn