[GHC] #12875: GHC fails to link all StaticPointers-defining modules of a library in an executable

GHC ghc-devs at haskell.org
Thu Nov 24 08:30:17 UTC 2016


#12875: GHC fails to link all StaticPointers-defining modules of a library in an
executable
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.2.1
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             Keywords:
                                     |  StaticPointers
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 Can you explain a bit more what the problem is?  In the description what
 is `things1`?  In general if a Haskell process deserialises, say from a
 network message, the key of a static pointer, there is no guarantee that
 it'll be in its SPT.

 Also I don't understand the API.  What's unsafe about looking up a static
 pointer?  Surely we shouldn't be exposing low-level details like
 fingerprints?

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


More information about the ghc-tickets mailing list