[Original post was to [EMAIL PROTECTED]]

"Girard Milmeister" <[EMAIL PROTECTED]> wrote,

> I get the following compile error:
> 
> (My configuration is Linux kernel 2.4.0-test1, gcc 2.91.66 and
> ghc 4.06 installed)
> 
> PWD = /home/gemi/fptools/ghc/lib/std
> ------------------------------------------------------------------------
> rm -f PrelBase.o ; if [ ! -d PrelBase ]; then mkdir PrelBase; else 
> /usr/bin/find PrelBase -name '*.o' -print | xargs rm -f __rm_food ; fi ;
> ../../driver/ghc-inplace -recomp -cpp -fglasgow-exts -fvia-C -Rghc-timing -O 
> -package-name std -static -split-objs  -H12m  -c PrelBase.lhs -o PrelBase.o 
> -osuf o
> <<ghc: 114644880 bytes, 17 GCs, 1047207/1890108 avg/max bytes residency (4 
> samples), 13M in use, 0.01 INIT (0.00 elapsed), 2.68 MUT (3.04 elapsed), 0.75 
> GC (0.84 elapsed) :ghc>>
> Epilogue junk?: 
>       popl %edx
> .Lfe364:
>       .size    c3Ix_ret,.Lfe364-c3Ix_ret
> .globl PrelBase_zdwgcdInt_info
> .section      .rodata
>       .align 4
>       .type    PrelBase_zdwgcdInt_info,@object
>       .size    PrelBase_zdwgcdInt_info,12
> 
> make[3]: *** [PrelBase.o] Error 255
> make[2]: *** [all] Error 1
> make[1]: *** [all] Error 1
> make: *** [all] Error 1

Very strange.  I had not problems at all with the same
configuration (except that I run a different kernel, but
that shouldn't make a difference in this case).  More
precisely, I used

  Redhat's egcs-1.1.2-24 rpm, where gcc -v says

   Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs
   gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)

  My GHC 4.06 rpm (ie, the same that you get from the GHC
    4.06 download page at haskell.org).

Manuel

Reply via email to