[Haskell-cafe] Compiling GHC for AIX5.1L

John Goerzen jgoerzen at complete.org
Wed Sep 29 21:36:32 EDT 2004


Hello,

Following the directions at
http://www.haskell.org/ghc/docs/6.2.1/html/building/sec-porting-ghc.html#UNREGISTERISED-PORTING...

I have a Debian unstable system on i386 as the host machine and an IBM
PowerPC system as the target.  I have configured the files as specified
in the docs.  I am to the "make boot && make" phase in the ghc directory
on the (Linux) host.  All goes well until:

==fptools== make all -r;
 in /home/jgoerzen/no-backup/programs/ghc-6.2.1/ghc/rts
 ------------------------------------------------------------------------
 ../../ghc/compiler/ghc-inplace -optc-O -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 -H16m -O -O2 -static
 -c Adjustor.c -o Adjustor.o
 /tmp/ghc10917.s: Assembler messages:
 /tmp/ghc10917.s:54: Error: no such instruction: `dcbf 0,%eax'
 /tmp/ghc10917.s:55: Error: no such instruction: `sync'
 /tmp/ghc10917.s:56: Error: no such instruction: `icbi 0,%eax'
 /tmp/ghc10917.s:63: Error: no such instruction: `sync'
 /tmp/ghc10917.s:64: Error: no such instruction: `isync'
 make[1]: *** [Adjustor.o] Error 1
 make: *** [all] Error 1

Why it's trying to use PowerPC assembler on an x86 host I don't know.
(I assume that's what's going on here; but I don't really know.)

What is the problem?





More information about the Haskell-Cafe mailing list