logo       

RE: Problem when compiling with -prof -fasm: msg#00056

lang.haskell.glasgow.bugs

Subject: RE: Problem when compiling with -prof -fasm


> when compiling anything with -prof -fasm, I get the following
> response:
>
> ghc-6.0: panic! (the `impossible' happened, GHC version 6.0):
> AbsCStixGen.gencode
> CC_DECLARE(CGI_CAFs_cc,"CAF","CGI",CC_IS_CAF,);
>
> Please report it as a compiler bug to
> glasgow-haskell-bugs@xxxxxxxxxxx,
> or http://sourceforge.net/projects/ghc/.

Using -prof with -fasm is not supported. The error message is clearly
bogus, though - I'll see what I can do about it.

> (without -fasm I get
>
> Prologue junk?: .globl __stginit_CGI
> .type __stginit_CGI,@function
> __stginit_CGI:
> pushl %ebp
> movl %esp, %ebp
>
> instead, which is probably caused by non-supported version of
> gas or gcc?)

You probably have a version of gcc that isn't supported by the version
of GHC you have installed. We usually recommend gcc 2.95, but later
versions may work depending on your version of GHC.

Cheers,
SImon


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise