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

GHC ghc-devs
Fri Oct 11 10:40:56 UTC 2013


#8376: Static Executable + GHC API (+ Dynamic Linking?) gives Segfault
----------------------------------+----------------------------------
        Reporter:  darchon        |            Owner:  simonmar
            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 simonmar):

 I made it so that the GHC package will work when linked into both static
 and dynamic programs.  This is really a lie, because the RTS linker
 doesn't work on all platforms (64-bit Windows, and probably Mac OS X), so
 there's still more to do: we have to explicitly fail if the platform
 doesn't support static linking.

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



More information about the ghc-tickets mailing list