Error compiling ghc-0.8.1 in Red Hat Linux 7.0

José Romildo Malaquias romildo at urano.iceb.ufop.br
Fri Oct 6 04:26:02 EDT 2000


Hello.

When trying to rebuild the GHC rpms distributed by Manuel
M. T. Chakravarty, I got some errors:

-------------------------
[...]
../driver/ghc-inplace -I../includes -I. -Iparallel -optc-Wall  -optc-W -optc-Wst
rict-prototypes  -optc-Wmissing-prototypes  -optc-Wmissing-declarations -optc-Wi
nline -optc-Waggregate-return -optc-Wpointer-arith -optc-Wbad-function-cast -O2 
-optc-DCOMPILING_RTS -static    -c Exception.hc -o Exception.o -osuf o
Prologue junk?: .globl blockAsyncExceptionszh_fast
blockAsyncExceptionszh_fast:
        subl    $12, %esp
        
make[2]: *** [Exception.o] Error 255
make[1]: *** [all] Error 1
make: *** [all] Error 1
-------------------------

Then I have tried the older GCC compiler (kgcc, which is really
egcs-2.91.66) distributed by Red Hat in order to compile the
Linux kernel (as the default GCC, 2.96, is not suitable for that),
with no success:

-------------------------
[...]
------------------------------------------------------------------------
==fptools== make all - --no-print-directory -r;
 in /home/romildo/rpms/BUILD/fptools/ghc/compiler
------------------------------------------------------------------------
/usr/bin/ghc -cpp -fglasgow-exts -Rghc-timing -I. -IcodeGen -InativeGen -Iparser -iutils:basicTypes:types:hsSyn:prelude:rename:typecheck:deSugar:coreSyn:specialise:simplCore:stranal:stgSyn:simplStg:codeGen:absCSyn:main:profiling:parser:usageSP:cprAnalysis:javaGen:nativeGen -recomp -O  -fvia-C -monly-3-regs -optC-funfolding-interface-threshold7  -c utils/PrimPacked.lhs -o utils/PrimPacked.o -osuf o
<<ghc: 86981288 bytes, 121 GCs, 2462146/4853388 avg/max bytes residency (4 samples), 12M in use, 0.09 INIT (3.03 elapsed), 3.13 MUT (4.48 elapsed), 1.74 GC (2.18 elapsed) :ghc>>
Prologue junk?: .globl __init_PrimPacked
__init_PrimPacked:
        subl    $12, %esp
        
make[2]: *** [utils/PrimPacked.o] Error 255
make[1]: *** [all] Error 1
make: *** [all] Error 1
-------------------------

Any hints?

Romildo
-- 
Prof. José Romildo Malaquias <romildo at iceb.ufop.br>
Departamento de Computação
Universidade Federal de Ouro Preto
Brasil




More information about the Glasgow-haskell-bugs mailing list