Thanks for the report, the native code generator fails to handle
a primop. We'll track this one down, but as a temporary solution,
try compiling the module with -fvia-C
--Sigbjorn
S.D.Mechveliani writes:
> Hellow,
>
> ftp.botik.ru/pub/local/Mechveliani/docon/1.06/
>
> contains the test for ghc: it is a large computer algebra system.
>
> The test is Makefile to compile this system correct.
> It works under linux-i386-unknown, but i doubt how it will do
> on other platforms.
> In particular, Marc van Dongen <[EMAIL PROTECTED]>
> writes:
>
> > I am in the process of installing doCon ...
> > after successfully having compiled IParse.hsa and OPTab_.hs the
> > compilation of DPrelude.hs fails with a misterious:
>
> > [snip]
> > nativeGen/MachCode.lhs:1017: Non-exhaustive patterns in case
> > ...
> > make: *** [source/DPrelude.o] Error 1
>
> > I've tried to find a directory nativeGen and a file MachCode but
> > can't find them. Do you have any suggestions on how to solve this?
>
>
> nativeGen/MachCode.lhs
> is, probably, of ghc system. Looks like a ghc bug.
>
> Marc, DoCon provides hi files only for ghc-2.10, 2.08.
> If you have other version, then this Makefile may not go as it is.
> Also consult sometimes [EMAIL PROTECTED]
> ..users@..
>
> ------------------
> Sergey Mechveliani
> [EMAIL PROTECTED]