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

Christian Maeder Christian.Maeder at dfki.de
Tue Feb 8 16:48:48 CET 2011


What does "gcc -v" say?

Maybe you have to install the 32Bit ghc-6.12.3 that can work together
with your gcc.

Christian

Am 08.02.2011 15:05, schrieb Kolar Dusan:
> No :-(
> 
> D.
> 
> 
>> 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
>>
> 
> 
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe



More information about the Haskell-Cafe mailing list