#7510: Immediate seg-fault on 32-bit windows build
---------------------------------+------------------------------------------
    Reporter:  simonpj           |       Owner:  simonmar        
        Type:  bug               |      Status:  new             
    Priority:  highest           |   Milestone:  7.8.1           
   Component:  Compiler          |     Version:  7.6.1           
    Keywords:                    |          Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown    
  Difficulty:  Unknown           |    Testcase:                  
   Blockedby:                    |    Blocking:                  
     Related:                    |  
---------------------------------+------------------------------------------

Comment(by igloo):

 I also tried kludging around it by adding `Opt_RegsGraph` to the default
 DynFlags, but the build then fails with
 {{{
 "inplace/bin/ghc-stage1.exe" -o utils/ghc-pkg/dist-install/build/tmp/ghc-
 pkg -static    -H32m -O -Werror -Wall -H64m -O0        -hide-all-packages
 -i -iutils/ghc-pkg/.  -iutils/ghc-pkg/dist-install/build -iutils/ghc-pkg
 /dist-install/build/autogen  -Iutils/ghc-pkg/dist-install/build -Iutils
 /ghc-pkg/dist-install/build/autogen          -optP-include -optPutils/ghc-
 pkg/dist-install/build/autogen/cabal_macros.h  -package Cabal-1.17.0
 -package base-4.7.0.0 -package bin-package-db-0.0.0.0 -package
 binary-0.5.1.1 -package bytestring-0.10.2.0 -package directory-1.2.0.1
 -package filepath-1.3.0.2 -package process-1.2.0.0    -XHaskell98 -XCPP
 -XForeignFunctionInterface -XNondecreasingIndentation    -no-user-package-
 db -rtsopts            -odir utils/ghc-pkg/dist-install/build -hidir utils
 /ghc-pkg/dist-install/build -stubdir utils/ghc-pkg/dist-install/build
 -hisuf hi -osuf  o -hcsuf hc   utils/ghc-pkg/dist-install/build/Main.o
 utils/ghc-pkg/dist-install/build/Version.o utils/ghc-pkg/dist-
 install/build/CRT_noglob.o
 ghc-stage1.exe: panic! (the 'impossible' happened)
   (GHC version 7.7.20130101 for i386-unknown-mingw32):
         regSpill: out of spill slots!
        regs to spill = 1355
        slots left    = 677

 Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
 }}}

 Aside from fixing the bug, should we look into why we're getting so much
 spilling?

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7510#comment:11>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to