[GHC] #9382: Have rts/Linker.c lookupSymbol find symbols in the process executable.

GHC ghc-devs at haskell.org
Wed Jul 30 14:14:13 UTC 2014


#9382: Have rts/Linker.c lookupSymbol find symbols in the process executable.
-------------------------------------+-------------------------------------
       Reporter:  facundo.dominguez  |                   Owner:
           Type:  bug                |  facundo.dominguez
       Priority:  normal             |                  Status:  new
      Component:  Compiler           |               Milestone:
       Keywords:                     |                 Version:
   Architecture:  Unknown/Multiple   |        Operating System:  Windows
     Difficulty:  Unknown            |         Type of failure:
     Blocked By:                     |  None/Unknown
Related Tickets:  #9381 #7015        |               Test Case:
                                     |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------
 In windows, the function `lookupSymbol` in `Linker.c` does not look for
 symbols exported in the executable. Thus, when a program is linked with
 `-optl -export-all-symbols`, the function `lookupSymbol` still fails to
 find them.

 Fixing this would improve the usability of `-rdynamic` (#9381) and an
 upcoming implementation for #7015.

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


More information about the ghc-tickets mailing list