Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Haskell-cafe] some help debugging ghci build on powerpc

0 views
Skip to first unread message

Brian Denheyer

unread,
Nov 22, 2009, 7:23:19 PM11/22/09
to haskel...@haskell.org

I'm trying to build ghc so that ghci will be included under linux power-pc.

The build dies here:

~/ghc6-6.10.4/rts$ /home/briand/ghc6-6.10.4/ghc/stage1-inplace/ghc -optc-O -optc-Wall -optc-W -optc-Wstrict-prototypes -optc-Wmissing-prototypes -optc-Wmissing-declarations -optc-Winline -optc-Waggregate-return -optc-I../includes -optc-I. -optc-Iparallel -optc-Ism -optc-DCOMPILING_RTS -optc-fomit-frame-pointer -optc-DNOSMP -optc-I../gmp/gmpbuild -optc-I../libffi/build/include -optc-fno-strict-aliasing -optc-w -H32m -O -optc-O2 -I../includes -I. -Iparallel -Ism -DCOMPILING_RTS -package-name rts -optc-DNOSMP -static -I../gmp/gmpbuild -I../libffi/build/include -I. -dcmm-lint -c StgCRun.c -o StgCRun.o
/tmp/ghc21791_0/ghc21791_0.s: Assembler messages:

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

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


That relates to this line(s):

StgRun:
.quad .StgRun,.TOC.@tocbase,0
.size StgRun,24
globl StgReturn

It _looks_ like it's grabbing the right stuff from StgCRun.c,
i.e. it's really trying to compile for power pc.

I was hoping that this was a bit of cruft and someone could direct me
to a fix for the assembly portion so I can get a little farther along.

Thanks,

Brian

P.S. Or somebody could also tell me if trying to have the latest ghc
working on power pc is even worth working on.


_______________________________________________
Haskell-Cafe mailing list
Haskel...@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Duncan Coutts

unread,
Nov 29, 2009, 9:35:50 AM11/29/09
to Brian Denheyer, haskel...@haskell.org
On Sun, 2009-11-22 at 16:22 -0800, Brian Denheyer wrote:
> I'm trying to build ghc so that ghci will be included under linux power-pc.
>
> The build dies here:
>
> /tmp/ghc21791_0/ghc21791_0.s: Assembler messages:
>
> /tmp/ghc21791_0/ghc21791_0.s:15:0:
> Error: junk at end of line, first unrecognized character is `@'

> I was hoping that this was a bit of cruft and someone could direct me
> to a fix for the assembly portion so I can get a little farther along.

Make sure it's reported in the ghc trac. If you want to work on it
yourself then ask for guidance on the ghc users mailing list.

Duncan

0 new messages