|
RE: Problem when compiling with -prof -fasm: msg#00056lang.haskell.glasgow.bugs
> 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> |
|---|---|---|
| Previous by Date: | Problem when compiling with -prof -fasm, Zdenek Dvorak |
|---|---|
| Next by Date: | Re: GHC bug on MacOSX 10.2.6, Wolfgang Thaller |
| Previous by Thread: | Problem when compiling with -prof -fasm, Zdenek Dvorak |
| Next by Thread: | [ ghc-Bugs-753377 ] ghc-6.0: panic on a simple example, SourceForge.net |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |