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

#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

#9382: Have rts/Linker.c lookupSymbol find symbols in the process executable. -------------------------------------+------------------------------------- Reporter: | Owner: facundo.dominguez facundo.dominguez | Status: new Type: bug | Milestone: Priority: normal | Version: Component: Compiler | Keywords: Resolution: | Architecture: Unknown/Multiple Operating System: Windows | Difficulty: Unknown Type of failure: | Blocked By: None/Unknown | Related Tickets: #9381 #7015 Test Case: | Blocking: | Differential Revisions: Phab:D103 | -------------------------------------+------------------------------------- Changes (by facundo.dominguez): * differential: => Phab:D103 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9382#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9382: Have rts/Linker.c lookupSymbol find symbols in the process executable. -------------------------------------+------------------------------------- Reporter: | Owner: facundo.dominguez facundo.dominguez | Status: patch Type: bug | Milestone: Priority: normal | Version: Component: Compiler | Keywords: Resolution: | Architecture: Unknown/Multiple Operating System: Windows | Difficulty: Unknown Type of failure: | Blocked By: None/Unknown | Related Tickets: #9381 #7015 Test Case: | Blocking: | Differential Revisions: Phab:D103 | -------------------------------------+------------------------------------- Changes (by facundo.dominguez): * status: new => patch -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9382#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9382: Have rts/Linker.c lookupSymbol find symbols in the process executable.
-------------------------------------+-------------------------------------
Reporter: | Owner: facundo.dominguez
facundo.dominguez | Status: patch
Type: bug | Milestone:
Priority: normal | Version:
Component: Compiler | Keywords:
Resolution: | Architecture: Unknown/Multiple
Operating System: Windows | Difficulty: Unknown
Type of failure: | Blocked By:
None/Unknown | Related Tickets: #9381 #7015
Test Case: |
Blocking: |
Differential Revisions: Phab:D103 |
-------------------------------------+-------------------------------------
Comment (by Austin Seipp

#9382: Have rts/Linker.c lookupSymbol find symbols in the process executable. -------------------------------------+------------------------------------- Reporter: | Owner: facundo.dominguez facundo.dominguez | Status: closed Type: bug | Milestone: 7.10.1 Priority: normal | Version: Component: Compiler | Keywords: Resolution: fixed | Architecture: Unknown/Multiple Operating System: Windows | Difficulty: Unknown Type of failure: | Blocked By: None/Unknown | Related Tickets: #9381 #7015 Test Case: | Blocking: | Differential Revisions: Phab:D103 | -------------------------------------+------------------------------------- Changes (by thoughtpolice): * status: patch => closed * resolution: => fixed * milestone: => 7.10.1 Comment: Merged, thanks. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9382#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC