Re: mismatched interface file ways

2008-03-20 Thread Ian Lynagh
On Tue, Mar 18, 2008 at 04:22:52PM -0400, Dustin DeWeese wrote: > i should also add that the same command is executed whether 'make' is > executed in libraries or libraries/base, so something is either overwriting > Prelude.hi in libraries/Makefile, or maybe an environment variable from > libraries

Re: mismatched interface file ways

2008-03-18 Thread Dustin DeWeese
i should also add that the same command is executed whether 'make' is executed in libraries or libraries/base, so something is either overwriting Prelude.hi in libraries/Makefile, or maybe an environment variable from libraries/Makefile is affecting the compiler. On 3/18/08, Dustin DeWeese <[EMAIL

Re: mismatched interface file ways

2008-03-18 Thread Dustin DeWeese
i started with a clean tree. This is the command line used to build Prelude.hi (from libraries/base): ./../compiler/stage1/ghc-inplace -package-name base-3.0.1.0-hide-all-packages -i -idist/build/autogen -idist/build -i. -Idist/build -Iinclude -#include "HsBase.h" -odir dist/build -hidir dist/bui

Re: mismatched interface file ways

2008-03-17 Thread Ian Lynagh
On Mon, Mar 17, 2008 at 11:28:54AM -0400, Dustin DeWeese wrote: > > So ghc seems to be writing the wrong information to the .hi file... Any > idea why, or what I should look at that could be causing this? Did you start off with a clean tree? What does the command line used to build Prelude.hi l

Re: mismatched interface file ways

2008-03-17 Thread Simon Marlow
ccName.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 s

Re: mismatched interface file ways

2008-03-17 Thread Dustin DeWeese
ARM CPU. > > > Great! > > > > 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: > > > > basicType

Re: mismatched interface file ways

2008-03-17 Thread Ian Lynagh
ls 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

mismatched interface file ways

2008-03-16 Thread Dustin DeWeese
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. Does anyone know what's going on