Bugs item #586934, was opened at 2002-07-26 10:32
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=586934&group_id=8032

Category: Compiler
Group: 5.04
Status: Open
Resolution: None
Priority: 5
Submitted By: geoff (snailtalk)
>Assigned to: Simon Marlow (simonmar)
Summary: ghc fail build with gcc 3.1

Initial Comment:
ghc will fail to build with newer gcc if -O is given to
ghc. Comfirmed with gcc 3.1, and most probably the
upcoming 3.2 as well.


Prologue junk?: .globl __stginit_Main
__stginit_Main:
        pushl   %ebp
        movl    %esp, %ebp
        
is the ghc complaint (looks like a function prologue in
ASM). Temporary fix is to compile with -O -fasm.

Note that this also means that you will be unable to
bootstrap ghc from source if you have a newer gcc
installed on your system.

Verified on Linux/x86 only.


----------------------------------------------------------------------

>Comment By: Simon Marlow (simonmar)
Date: 2002-09-02 14:43

Message:
Logged In: YES 
user_id=48280

I've tried to reproduce this and can't.  Could you describe 
*exactly* what you did to cause the error, including:

 - Linux flavour/version
 - what version(s) of gcc are installed, under which names
 - similarly for GHC

Thanks.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=586934&group_id=8032
_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to