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

GHC ghc-devs
Wed Oct 2 20:01:11 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):

 Replying to [comment:2 simonmar]:
 > I expect there's a decision being made about whether to link dynamically
 based on `DYNAMIC_GHC_PROGRAMS` rather than whether the program was
 compiled with `-dynamic` or not.
 The `haddock` executables referred to in the bug report are built using a
 `cabal install`; they do not refer to a `haddock` executable build during
 a `make` in the `ghc` build-tree.
 I'm not building `haddock` during my build of `ghc` (ref. the
 `HADDOCK_DOCS=NO` in my `build.mk`).
 And I assume the `DYNAMIC_GHC_PROGRAMS` has no effect on the dynamic-
 linking decision made by `cabal`.

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



More information about the ghc-tickets mailing list