[GHC] #8116: Segfault/panic of 32bit GHCi on Mac

GHC ghc-devs at haskell.org
Wed Aug 14 15:44:42 CEST 2013


#8116: Segfault/panic of 32bit GHCi on Mac
----------------------------------+------------------------------------
        Reporter:  kazu-yamamoto  |            Owner:
            Type:  bug            |           Status:  new
        Priority:  normal         |        Milestone:
       Component:  Compiler       |          Version:  7.6.3
      Resolution:                 |         Keywords:
Operating System:  MacOS X        |     Architecture:  Unknown/Multiple
 Type of failure:  GHCi crash     |       Difficulty:  Unknown
       Test Case:                 |       Blocked By:
        Blocking:                 |  Related Tickets:
----------------------------------+------------------------------------

Comment (by shelarcy):

 Replying to [comment:1 shelarcy]:
 > Second bug is caused by DYNAMIC_GHC_PROGRAMS on Mac OS X platform. I
 reproduced that on 64 bit GHCi, if DYNAMIC_GHC_PROGRAMS = Yes when
 building GHC HEAD.

 It seems that 64 bit GHCi's problem is also fixed in HEAD, now. HEAD's 64
 bit GHCi works fine, if DYNAMIC_GHC_PROGRAMS = Yes.

 {{{
 $ ghc --info [("Project name","The Glorious Glasgow Haskell Compilation
 System")
 (snip)
  ,("Project version","7.7.20130814")
  ,("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")
 (snip)
  ,("Support dynamic-too","YES")
  ,("Dynamic by default","NO")
  ,("GHC Dynamic","YES")
  ,("Leading underscore","YES")
  ,("Debug on","False")
 ,("LibDir","/Library/Frameworks/GHC.framework/Versions/7.7.20130814-x86_64/usr/lib/ghc-7.7.20130814")
  ,("Global Package
 DB","/Library/Frameworks/GHC.framework/Versions/7.7.20130814-x86_64/usr/lib/ghc-7.7.20130814/package.conf.d")
  ]
 }}}

 {{{
 Prelude Data.Complex> ((-2) :+ 0)**(1.5 :+ 0)
 (-5.195736337412959e-16) :+ (-2.82842712474619)
 }}}

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




More information about the ghc-tickets mailing list