ghc fail build with gcc 3.1
|Reported by:||snailtalk||Owned by:||simonmar|
|Type of failure:||Test Case:|
|Related Tickets:||Differential Revisions:|
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.
Change History (9)
Note: See TracTickets for help on using tickets.