[ ghc-Bugs-586934 ] ghc fail build with gcc 3.1

noreply at sourceforge.net noreply at sourceforge.net
Fri Jul 26 06:32:09 EDT 2002


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: Nobody/Anonymous (nobody)
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.


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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=586934&group_id=8032



More information about the Glasgow-haskell-bugs mailing list