> I get the following compile error:
> 
> (My configuration is Linux kernel 2.4.0-test1, gcc 2.91.66 and
> ghc 4.06 installed)

I suggest upgrading your gcc; we use 2.95.2 here without any problems.
Alternatively, a workaround for the short term is this patch to
fptools/ghc/driver/ghc-asm.lprl:

*** ghc-asm.lprl 2000/06/29 13:18:09 1.44.2.1
--- ghc-asm.lprl 2000/07/11 08:41:38
***************
*** 711,716 ****
--- 711,717 ----
        $e =~ s/^\tret\n//;
        $e =~ s/^\tpopl \%edi\n//;
        $e =~ s/^\tpopl \%esi\n//;
+       $e =~ s/^\tpopl \%edx\n//;
        $e =~ s/^\tpopl \%ecx\n//;
        $e =~ s/^\taddl \$\d+,\%esp\n//;
        $e =~ s/^\tsubl \$-\d+,\%esp\n//;

Cheers,
        Simon

Reply via email to