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

GHC ghc-devs at haskell.org
Thu Nov 27 20:42:31 UTC 2014


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

Comment (by JeanPhilippeMoresmau):

 I have a similar problem. Using 7.8.3 on Ubuntu, evaluating an expression
 using the GHC API works if the executable is build with -dynamic, and
 fails with a segFault if it's build statically. Should I create a new
 ticket or modify this one? Since Hackage refuses packages that use the
 -dynamic flag because of a Cabal bug it's annoying (and -dynamic may not
 work on all OSes).

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


More information about the ghc-tickets mailing list