[GHC] #8960: SpecConstr usage explodes beyond 4GB with GHC 7.8.1 rc 2

GHC ghc-devs at haskell.org
Sun May 18 15:42:37 UTC 2014


#8960: SpecConstr usage explodes beyond 4GB with GHC 7.8.1 rc 2
---------------------------------------+-----------------------------------
        Reporter:  MichalGajda         |            Owner:
            Type:  bug                 |           Status:  new
        Priority:  high                |        Milestone:  7.8.3
       Component:  Compiler            |          Version:  7.8.1-rc2
      Resolution:                      |         Keywords:
Operating System:  Unknown/Multiple    |     Architecture:
 Type of failure:  Compile-time crash  |  Unknown/Multiple
       Test Case:  cabal install hPDB  |       Difficulty:  Unknown
        Blocking:                      |       Blocked By:
                                       |  Related Tickets:  #7068, #7898
---------------------------------------+-----------------------------------

Comment (by George):

 Works for me on 64 bit 7.8.2 on MacOS. I have 12gb RAM but that shouldn't
 matter, the amount of virtual memory would be the limiting factor,
 wouldn't it?

 {{{
  ghc --info
  [("Project name","The Glorious Glasgow Haskell Compilation System")
  ,("GCC extra via C opts"," -fwrapv")
  ,("C compiler command","/usr/local/bin/gcc")
  ,("C compiler flags"," -m64 -fno-stack-protector")
  ,("C compiler link flags"," -m64")
  ,("ld command","/usr/bin/ld")
  ,("ld flags"," -arch x86_64")
  ,("ld supports compact unwind","YES")
  ,("ld supports build-id","NO")
  ,("ld supports filelist","YES")
  ,("ld is GNU ld","NO")
  ,("ar command","/usr/bin/ar")
  ,("ar flags","clqs")
  ,("ar supports at file","NO")
  ,("touch command","touch")
  ,("dllwrap command","/bin/false")
  ,("windres command","/bin/false")
  ,("libtool command","libtool")
  ,("perl command","/usr/bin/perl")
  ,("target os","OSDarwin")
  ,("target arch","ArchX86_64")
  ,("target word size","8")
  ,("target has GNU nonexec stack","False")
  ,("target has .ident directive","True")
  ,("target has subsections via symbols","True")
  ,("Unregisterised","NO")
  ,("LLVM llc command","llc")
  ,("LLVM opt command","opt")
  ,("Project version","7.8.2")
  ,("Booter version","7.6.3")
  ,("Stage","2")
  ,("Build platform","x86_64-apple-darwin")
  ,("Host platform","x86_64-apple-darwin")
  ,("Target platform","x86_64-apple-darwin")
  ,("Have interpreter","YES")
  ,("Object splitting supported","YES")
  ,("Have native code generator","YES")
  ,("Support SMP","YES")
  ,("Tables next to code","YES")
  ,("RTS ways","l debug thr thr_debug thr_l thr_p dyn debug_dyn thr_dyn
 thr_debug_dyn l_dyn thr_l_dyn")
  ,("Support dynamic-too","YES")
  ,("Support parallel --make","YES")
  ,("Dynamic by default","NO")
  ,("GHC Dynamic","YES")
  ,("Leading underscore","YES")
  ,("Debug on","False")
  ,("LibDir","/usr/local/lib/ghc-7.8.2")
  ,("Global Package DB","/usr/local/lib/ghc-7.8.2/package.conf.d")
  ]
 }}}

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


More information about the ghc-tickets mailing list