[Haskell-cafe] Building Plaftorm 2010 2 on 64bit Linux

Christian Maeder Christian.Maeder at dfki.de
Tue Feb 8 14:26:03 CET 2011


There seems to be confusion about 32bit and 64bit assembly.
Can you compile and link without optimization?

C.

Am 08.02.2011 13:33, schrieb Dušan Kolář:
> Well, it helped, but not getting output anyway:
> 
> /tmp/ghc32376_0/ghc32376_0.s: Assembler messages:
> 
> /tmp/ghc32376_0/ghc32376_0.s:35:0:
>      Error: bad register name `%rbp)'
> 
> /tmp/ghc32376_0/ghc32376_0.s:36:0:  Error: bad register name `%r15'
> 
> /tmp/ghc32376_0/ghc32376_0.s:38:0:  Error: bad register name `%r12'
> 
> /tmp/ghc32376_0/ghc32376_0.s:39:0:
>      Error: bad register name `%r13)'
> 
> /tmp/ghc32376_0/ghc32376_0.s:41:0:
>      Error: bad register name `%r12)'
> 
> /tmp/ghc32376_0/ghc32376_0.s:42:0:  Error: bad register name `%rbx'
> 
> 
> ... and many other similar lines
> 
> 
> Is my installation of gcc broken? :-O



More information about the Haskell-Cafe mailing list