Hi,

I have been trying out ghc-4.02 for FreeBSD, taken from [1]. I too have
encountered messages like

    hsc: fatal error: evacuate: strange closure type
    EVACUATED object entered!
    Bus error

from the compiler itself. I have got the latter (Bus error) also from
other programs compiled with ghc-4.02. In all cases, increasing the heap
size with the -H flag helped, so it I guess it is a problem with the new
garbage collector.

I also encoutered another small problem resulting in compilation errors
like

    SizingF.hs:9: Could not find valid interface file `Sizing'

which seems to happen whenever an imported module has a name containing
the letter 'z'. From looking in the interface files, it seems that z is
used as some kind of escape character... I managed to work around this
by using symbolic links, e.g.,

    ln -s Sizing.hi Sizzing.hi

/Thomas Hallgren

References

[1]
http://research.microsoft.com/users/t-simonm/ghc/dist/4.02/ghc-4.02-i386-unknown-freebsd2.tar.gz

Reply via email to