Hi !

I have installed binary package ghc6_6.6.1-2_ia64.deb
on machine with Itanium-processor.
But there is drawback in this installation

runhaskell Setup.hs configure --ghc --prefix=/home/serdyuk/docon209/docon/source/inst
ghc-6.6.1: not built for interactive use


So I have tried to build GHC from the sources ghc-6.6.1-src.tar.bz2 based on previous binary installation
with configure as

./configure --prefix=/home/serdyuk/GlasgowHaskell-6.6.1 --with-gmp-includes=/opt/libgmp/include --with-gmp-libraries=/opt/libgmp/lib --target=ia64-suse-linux --host=ia64-suse-linux


But make failed with

../compiler/ghc-inplace -optc-O -optc-G0 -optc-Wall -optc-W -optc-Wstrict-prototypes -optc-Wmissing-prototypes -optc-Wmissing-declarations -optc-Winline -optc-Waggregate-return -optc-Wbad-function-cast -optc-I../includes -optc-I. -optc-Iparallel -optc-DCOMPILING_RTS -optc-fomit-frame-pointer -optc-DNOSMP -optc-I/opt/libgmp/include -optc-fno-strict-aliasing -H16m -O -optc-O2 -optc-DNOSMP -static -I/opt/libgmp/include -I. -#include HCIncludes.h -fvia-C -dcmm-lint -c Stats.c -o Stats.o ../compiler/ghc-inplace -optc-O -optc-G0 -optc-Wall -optc-W -optc-Wstrict-prototypes -optc-Wmissing-prototypes -optc-Wmissing-declarations -optc-Winline -optc-Waggregate-return -optc-Wbad-function-cast -optc-I../includes -optc-I. -optc-Iparallel -optc-DCOMPILING_RTS -optc-fomit-frame-pointer -optc-DNOSMP -optc-I/opt/libgmp/include -optc-fno-strict-aliasing -H16m -O -optc-O2 -optc-DNOSMP -static -I/opt/libgmp/include -I. -#include HCIncludes.h -fvia-C -dcmm-lint -c StgCRun.c -o StgCRun.o
/tmp/ghc12430_0/ghc12430_0.s: Assembler messages:

/tmp/ghc12430_0/ghc12430_0.s:51:0:
     Error: Operand 1 of `mov' should be a general register
make[1]: *** [StgCRun.o] Error 1
make: *** [stage1] Error 1


My Linux system is

Linux al 2.6.5-7.191-sn2 #1 SMP Tue Jun 28 14:58:56 UTC 2005 ia64 ia64 ia64 GNU/Linux

and processor is

vendor     : GenuineIntel
arch       : IA-64
family     : Itanium 2
model      : 2
revision   : 1
archrev    : 0
features   : branchlong
cpu number : 0
cpu regs   : 4
cpu MHz    : 1500.000000
itc MHz    : 1500.000000
BogoMIPS   : 2214.59
siblings   : 1


I need help to build workable GHC on Itanium-machine.

Yury.

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to