Hello,

I'm running a 64 bit linux box and I'm getting errors like this whilst
compiling:


/usr/lib/ghc-6.12.1/include/ghcplatform.h:12:0:

     warning: "BUILD_ARCH" redefined

In file included from compiler/./HsVersions.h:18,


>                  from compiler/stage1/build/CmmLex.hs:16:0:


It seems that both i386_REGS and x86_64_REGS are defined...

I tried commenting out one of the #ifdef blocks, but then I end up with the
following error:

/tmp/ghc15345_0/ghc15345_0.s: Assembler messages:


> /tmp/ghc15345_0/ghc15345_0.s:6373:0:

     Error: suffix or operands invalid for `push'

make[2]: *** [libraries/base/dist-install/build/GHC/Base.o] Error 1



Any ideas? GHC used to build fine, but I upgraded my os from 32 bit last
week and it hasn't been happy since. I could downgrade again, but if there's
a better solution then I'd be grateful.

Thanks,

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

Reply via email to