> On two different FreeBSD machines (4.5, 4.8) stage2 of -HEAD 
> built with 6.0 (and 5.04.3 IIRC)
> can't compile anything:
> 
> ==fptools== gmake all -r;
>  in /usr/home/vs/fptools/ghc/compiler
> --------------------------------------------------------------
> ----------
> ../../ghc/compiler/stage2/ghc-inplace -H32m -O0 -W 
> -fno-warn-unused-matches -fwarn-unused-imports -lbfd -liberty 
>  -istage3/utils  -istage3/basicTypes  -istage3/types  
> -istage3/hsSyn  -istage3/prelude  -istage3/rename  
> -istage3/typecheck  -istage3/deSugar  -istage3/coreSyn  
> -istage3/specialise  -istage3/simplCore  -istage3/stranal  
> -istage3/stgSyn  -istage3/simplStg  -istage3/codeGen  
> -istage3/absCSyn  -istage3/main  -istage3/profiling  
> -istage3/parser  -istage3/cprAnalysis  -istage3/compMan  
> -istage3/ndpFlatten  -istage3/cbits  -istage3/nativeGen  
> -istage3/ghci -DGHCI -package haskell-src -package unix 
> -package readline  -cpp -fglasgow-exts -Rghc-timing -I. 
> -IcodeGen -InativeGen -Iparser -recomp -Rghc-timing -DDEBUG  
> -H16M '-#include "hschooks.h"'    -c utils/PrimPacked.lhs -o 
> stage3/utils/PrimPacked.o  -ohi stage3/utils/PrimPacked.hi
> gmake[1]: *** [stage3/utils/PrimPacked.o] Bus error
> 
> With -v:
> ...
> *** Checking old interface for PrimPacked:
> *** Parser:
> *** Renamer/typechecker:
> Segmentation fault
> 
> Program received signal SIGBUS, Bus error.
> 0x28f5323b in ?? ()
> (gdb) bt
> #0  0x28f5323b in ?? ()
> #1  0xc4b1 in ?? ()
> #2  0x881e300 in s7SG_ret ()
> #3  0x708b04c5 in ?? ()
> Error accessing memory address 0x8304468b: Bad address.

Bizarre, I just did a 3-stage bootstrap on my 4.8-STABLE box without
problems.  Ok, we need to get more details:  

  - what GhcHcOpts were used in stages 1 & 2
  - what GhcLibHcOpts?
  - do you have a different gcc installed from default?
  - anything else I should know?

Cheers,
        Simon
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to