[GHC] #8376: Static Executable + GHC API (+ Dynamic Linking?) gives Segfault

GHC ghc-devs
Wed Oct 2 21:42:40 UTC 2013


#8376: Static Executable + GHC API (+ Dynamic Linking?) gives Segfault
----------------------------------+----------------------------------
        Reporter:  darchon        |            Owner:
            Type:  bug            |           Status:  new
        Priority:  highest        |        Milestone:  7.8.1
       Component:  Compiler       |          Version:  7.7
      Resolution:                 |         Keywords:
Operating System:  MacOS X        |     Architecture:  x86_64 (amd64)
 Type of failure:  Runtime crash  |       Difficulty:  Unknown
       Test Case:                 |       Blocked By:
        Blocking:                 |  Related Tickets:
----------------------------------+----------------------------------

Comment (by darchon):

 I want to point out that this bug will affect very _few_ users of GHC, at
 least initially. The reason: `haddock` will normally be build using
 dynamic-linking in the normal build/distribution process of GHC; and the
 dynamically-linked version shows no problems.

 Only if a user reinstalls `haddock`, e.g. doing a `cabal install haddock
 --reinstall`, will he encounter the described bug. That is because static-
 linking is (currently) the default for all executables built using
 `cabal`.

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



More information about the ghc-tickets mailing list