[Trimmed the References header, original message referred
 to articles in another thread]

Meurig Sage writes:
> 
> The earlier problem I had with ArrBase disappeared when I used
> -monly-2-regs. Thanks. But I've got another problem now...
> 
> When trying to compile a concurrent profiled version of ghc-2.04 on
> i386-unknown-solaris2, I came across the problem below.
> 
> Cheers
>   Meurig
> 
> ../../ghc/driver/ghc -recomp -cpp -fglasgow-exts -fvia-C -Rghc-timing
> -split-objs -odir required/System -hisuf mr_hi -prof -concurrent -prof
> -GPrelude   -c required/System.lhs -o required/System.mr_o -osuf mr_o
> ghc: WARNING: splitting objects when profiling will *BREAK* if any
> _scc_s are present!
> <<ghc: 99427912 bytes, 53 GCs, 0/1031440 avg/max bytes residency (2
> samples), 0.
> 00 INIT (0.01 elapsed), 4.64 MUT (4.78 elapsed), 0.88 GC (0.97 elapsed)
> :ghc>>
> Module version unchanged at 1
> /tmp/ghc27506.hc:2682: parse error before `case'
> /tmp/ghc27506.hc:2687: parse error before `='
 ...

Hmm..looks ominous, but I'm not able to reproduce this locally.
Could you wipe out all the .mr_o files and try to re-make libHS_mr.a ?
(Just want to make sure this is not a cosmic ray kind of bug).

If you're seeing the same thing, compile required/System.mr_o 
with -keep-hc-file-too and get back to me (don't post the .hc
file, it's too big).

Thanks,

--Sigbjorn

Reply via email to