Dustin DeWeese wrote:
I'm working on a registerised port of GHC 6.8.2 to an ARM CPU.  After making 
the changes needed (listed in the 'Porting GHC' wiki page), I am trying to 
compile GHC.

The build fails while compiling the stage 2 compiler with this error message:

basicTypes/OccName.lhs-boot:1:0:
    Bad interface file: 
/home/dusty/deb-src2/ghc6-6.8.2/libraries/base/dist/build/Prelude.hi
        mismatched interface file ways: expected , found u

I am pretty sure that Prelude is registerised because ghc-asm prints out some 
diagnostics while compiling it.

Sounds strange, I can't tell exactly what the problem is. You can try 'hexdump -C' on the interface file - right at the start is the magic number '0x1face' followed by an offset to the dictionary and then the version number and way.

Cheers,
        Simon


_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to