#2871: "Prologue junk?" error when building GHC
---------------------+------------------------------------------------------
Reporter:  Deewiant  |          Owner:          
    Type:  bug       |         Status:  new     
Priority:  normal    |      Component:  Compiler
 Version:  6.10.1    |       Severity:  normal  
Keywords:            |       Testcase:          
      Os:  Windows   |   Architecture:  x86     
---------------------+------------------------------------------------------
 As far as I can tell this is a bug in the Evil Mangler.

 This is on Windows, using MSYS to build. The relevant `make` output,
 compiling the HEAD:
 {{{
 make -C rts
 make[1]: Entering directory `/D/Programming/src/ghc-HEAD/rts'
 d:/Programming/src/ghc-HEAD/ghc/stage1-inplace/ghc  -fvia-C -static
 -I../gmp/gmpbuild
 -I../libffi/build/include -I. -dcmm-lint     -c Apply.cmm -o Apply.o
 Prologue junk?: .globl _stg_ap_0_fast
 _stg_ap_0_fast:
 /APP
  # 9 "C:\Temp\/ghc3572_0/ghc3572_0.hc" 1

 make[1]: *** [Apply.o] Error 9
 make[1]: Leaving directory `/D/Programming/src/ghc-HEAD/rts'
 make: *** [stage1] Error 2
 }}}

 This happens also when building 6.10.1, so it's not a HEAD problem. I
 didn't try other GHC versions.

 `gcc --version`:
 {{{
 gcc.exe (GCC) 4.3.0 20080305 (alpha-testing) mingw-20080502
 }}}

 Attached is a `.raw_s` obtained by running the ghc command with `-keep-
 raw-s-file`.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2871>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to