The normal/profiling/concurrent versions of 2.08 compiled far too
smoothly, so I was looking for new installation challenges. ;-)
Alas, compiling with mg and mp added to GhcLibWays didn't work:
* During the compilation of the _mg-versions of the libs the
assembler mangler complains about 5500 times. It's totally
unclear to me what it means: bug/warning/error? Example:
-----------------------------------------------------------------------------------
rm -f ghc/PrelBase.mg_o ; if [ ! -d ghc/PrelBase ]; then mkdir ghc/PrelBase; else find
ghc/PrelBase -name '*.mg_o' -print | xargs rm
-f __rm_food ; fi
../../ghc/driver/ghc -O -H32m -recomp -cpp -fglasgow-exts -fvia-C -Rghc-timing -O
-H32m -split-objs -odir ghc/PrelBase -hisuf mg_hi -
gransim -H12m -c ghc/PrelBase.lhs -o ghc/PrelBase.mg_o -osuf mg_o
ghc: ignoring heap-size-setting option (-H12m)...not the largest seen
ghc: ignoring heap-size-setting option (-H12m)...not the largest seen
Warning: GENERATE_SPECS pre-processing pragma ignored:
{-# GENERATE_SPECS subtract
a{Int#,Double#,Int,Double,Complex(Double#),Complex(Double)} #-}
Warning: GENERATE_SPECS pre-processing pragma ignored:
{-# GENERATE_SPECS (.) a b c #-}
Warning: GENERATE_SPECS pre-processing pragma ignored:
{-# GENERATE_SPECS data a :: Lift a #-}
Warning: GENERATE_SPECS pre-processing pragma ignored:
{-# GENERATE_SPECS showList__ a #-}
NOTE: Simplifier still going after 4 iterations; bailing out.
NOTE: Simplifier still going after 4 iterations; bailing out.
<<ghc: 439854400 bytes, 56 GCs, 6503680/7080932 avg/max bytes residency (5 samples),
0.03 INIT (0.00 elapsed), 20.98 MUT (21.49 elaps
ed), 12.25 GC (12.46 elapsed) :ghc>>
ghc: module version changed to 1; reason: no old .hi file
still has jump to fast entry point:
.globl PrelBase_ZdZe_entry
PrelBase_ZdZe_entry:
movl CurrentProc,%eax
movl CurrentTime(,%eax,4),%eax
cmpl %eax,EndOfTimeSlice
jbe .L960
cmpl %eax,TimeOfNextEvent
ja .L957
cmpl $0,TimeOfNextEvent
je .L957
cmpl $0,IgnoreEvents
jne .L957
.L960:
pushl $0
call Yield_wrapper
addl $4,%esp
.L957:
leal 4(%edi),%eax
cmpl %eax,68(%ebx)
jae .L962
movl $PrelBase_ZdZe_closure,%esi
movl $UpdatePAP,%ecx
jmp *%ecx
.align 16
.L962:
movl (%edi),%esi
addl $4,%edi
movl RTSflags+184,%eax
leal (%eax,%eax,4),%eax
movl RTSflags+188,%ecx
movl %ecx,%edx
addl %ecx,%edx
addl %edx,%eax
addl RTSflags+192,%eax
movl CurrentTSO,%edx
addl %eax,76(%edx)
movl CurrentProc,%edx
addl %eax,CurrentTime(,%edx,4)
movl $PrelBase_ZdZe_fast1,%ecx
jmp *%ecx
-----------------------------------------------------------------------------------
* The parallel version of the libs can't be compiled because
ghc/lib/glaExts/Foreign.lhs contains lots of
#ifndef__PARALLEL_HASKELL__ lines. Therefore, some exports
are missing later (e.g. for PackedString).
Any help appreciated.
--
Sven Panne Tel.: +49/89/2178-2235
LMU, Institut fuer Informatik FAX : +49/89/2178-2211
LFE Programmier- und Modellierungssprachen Oettingenstr. 67
mailto:[EMAIL PROTECTED] D-80538 Muenchen
http://www.pms.informatik.uni-muenchen.de/mitarbeiter/panne