ghc6.6 on ps3 - compile error in StgCRun

Tristan Allwood tora at zonetora.co.uk
Fri Apr 20 12:45:33 EDT 2007


Hi,

I'm trying to build ghc-6.6 on a sony ps3, but have hit a problem:

------------------------------------------------------------------------
== make all -r;
 in /home/tora/ghc/ghc-6.6/rts
------------------------------------------------------------------------
../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 -optc-DNOSMP -optc-fno-strict-aliasing -H16m -O -optc-O2 -optc-DNOSMP -static -I. -#include HCIncludes.h -fvia-C -dcmm-lint     -c StgCRun.c -o StgCRun.o
/tmp/ghc12557_0/ghc12557_0.s: Assembler messages:

/tmp/ghc12557_0/ghc12557_0.s:12:0:
     Error: junk at end of line, first unrecognized character is `@'

/tmp/ghc12557_0/ghc12557_0.s:16:0:
     Error: junk at end of line, first unrecognized character is `@'
make[1]: *** [StgCRun.o] Error 1
make: *** [stage1] Error 1


The ps3 is running YDL, and to bootstrap the ghc build I managed to install a
powerpc ghc6.6 on the system (downloaded a deb from
http://packages.debian.org/cgi-bin/download.pl?arch=powerpc&file=pool%2Fmain%2Fg%2Fghc6%2Fghc6_6.6-3_powerpc.deb&md5sum=f8f23c269deeb0e6a513f8b5bb94801d&arch=powerpc&type=main
then alien'ed it to get an rpm which seems to work - though ghci is
non-functioning)

The sources I'm trying to build are the standard ghc
http://www.haskell.org/ghc/dist/6.6/ghc-6.6-src.tar.bz2 (and extralibs)

>uname -a
Linux ebony 2.6.16-20061110.ydl.2ps3 #1 SMP Tue Dec 5 12:35:42 EST 2006 ppc64 ppc64 ppc64 GNU/Linux


Any tips / pointers / advice greatfully recieved;

TIA,

Tristan Allwood


More information about the Glasgow-haskell-users mailing list