[Haskell-cafe] Prologue junk? - compiling
lambdabot:Plugin.Pl.Transform
Ian Lynagh
igloo at earth.li
Thu Mar 29 15:47:57 EDT 2007
On Mon, Mar 26, 2007 at 05:29:39PM +0100, Iain Alexander wrote:
> I'm trying to build lambdabot 4.0 with ghc-6.4.1 (gcc (GCC) 3.4.2 (mingw-
> special)) and Cabal-1.1.6.1 on WinXP SP2. I've got as far as
> Plugin.Pl.Transform.hs, and I get
>
> *** Mangler
> g:\ghc\ghc-6.4.1\perl g:\ghc\ghc-6.4.1\ghc-asm
> C:\DOCUME~1\IAINAL~1\LOCALS~1\Tem
> p\ghc2736.raw_s C:\DOCUME~1\IAINAL~1\LOCALS~1\Temp\ghc2736.s 4
> Prologue junk?: _s7f7_ret:
> xorl %ecx, %ecx
> xorl %eax, %eax
> movl %ecx, 8(%esp)
> movl %eax, 12(%esp)
> /APP
>
> Transform.hs uses
> {-# OPTIONS -fvia-C -O2 -optc-O3 #-}
The mangler probably isn't expecting the sort of output gcc -O3
generates on Windows. I don't think we do any testing at that level of
gcc optimisation.
I'd recommend just using -O2, or lower if necessary, instead.
Thanks
Ian
More information about the Haskell-Cafe
mailing list