[GHC] #7655: 7.6.2 Segmentation Fault/Bus Error in large exponentation

GHC ghc-devs at haskell.org
Sun Apr 12 07:41:17 UTC 2015


#7655: 7.6.2 Segmentation Fault/Bus Error in large exponentation
-------------------------------+-----------------------------------------
        Reporter:  Doug310     |                   Owner:
            Type:  bug         |                  Status:  infoneeded
        Priority:  normal      |               Milestone:  7.12.1
       Component:  GHCi        |                 Version:  7.8.1-rc1
      Resolution:              |                Keywords:  exponentiation
Operating System:  MacOS X     |            Architecture:  x86_64 (amd64)
 Type of failure:  GHCi crash  |               Test Case:
      Blocked By:              |                Blocking:
 Related Tickets:              |  Differential Revisions:
-------------------------------+-----------------------------------------

Comment (by hvr):

 Replying to [comment:39 rwbarton]:
 > hvr: So, what is the status of the in-tree GMP tarball now that 7.10.1
 uses integer-gmp 1.*? Specifically where does the GMP library come from on
 OS X? Do we ship it as part of the binary distribution?

 Well, afaik, the official GHC bindist for OSX is configured to use the in-
 tree GMP, which for 7.10 is still at GMP 5.0.4 (and we can't upgrade the
 in-tree GMP till we make the switch to an externally fetched  GMP tarball,
 but sadly Phab:D339 wasn't ready in time for 7.10 and still isn't...)



 You can btw easily find out which GMP version (and whether it was the
 intree or the system libgmp) `integer-gmp` was configured against by
 looking at the installed `<HsIntegerGmp.h>` header.

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


More information about the ghc-tickets mailing list