[GHC] #9351: add ability to version symbols .c for packages with C code

GHC ghc-devs at haskell.org
Mon Jun 15 21:05:57 UTC 2015


#9351: add ability to version symbols .c for packages with C code
-------------------------------------+-------------------------------------
        Reporter:  slyfox            |                   Owner:
            Type:  feature request   |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  Compiler          |                 Version:  7.8.3
      Resolution:                    |                Keywords:  backpack
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  None/Unknown      |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:                    |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by ezyang):

 duncan: the problem with a more magic approach is that mangling the
 symbols could break uses of `dlopen` in the compiled objects, since you
 have no idea if a string is referring to a specific symbol.

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


More information about the ghc-tickets mailing list