[GHC] #9381: Implement rdynamic

#9381: Implement rdynamic -------------------------------------+------------------------------------- Reporter: facundo.dominguez | Owner: Type: feature request | facundo.dominguez Priority: normal | Status: new Component: Compiler | Milestone: Keywords: | Version: 7.8.2 Architecture: Unknown/Multiple | Operating System: Difficulty: Unknown | Unknown/Multiple Blocked By: | Type of failure: Related Tickets: 7015 | None/Unknown | Test Case: | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Currently ghc ignores the `-rdynamic` flag. With a small effort it can be used as a synonym of `-optl -rdynamic` in linux and `-optl -export-all-symbols` in windows/mingw32. In other platforms, similar translations must be possible to get the symbols of an executable exported. This feature would improve usability of an upcoming implementation of #7015. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9381 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9381: Implement -rdynamic -------------------------------------+------------------------------------- Reporter: | Owner: facundo.dominguez facundo.dominguez | Status: new Type: feature | Milestone: request | Version: 7.8.2 Priority: normal | Keywords: Component: Compiler | Architecture: Unknown/Multiple Resolution: | Difficulty: Unknown Operating System: | Blocked By: Unknown/Multiple | Related Tickets: 7015 Type of failure: | None/Unknown | Test Case: | Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9381#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9381: Implement -rdynamic -------------------------------------+------------------------------------- Reporter: | Owner: facundo.dominguez facundo.dominguez | Status: new Type: feature | Milestone: request | Version: 7.8.2 Priority: normal | Keywords: Component: Compiler | Architecture: Unknown/Multiple Resolution: | Difficulty: Unknown Operating System: | Blocked By: Unknown/Multiple | Related Tickets: 7015 Type of failure: | None/Unknown | Test Case: | Blocking: | Differential Revisions: Phab:D102 | -------------------------------------+------------------------------------- Changes (by facundo.dominguez): * differential: => Phab:D102 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9381#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9381: Implement -rdynamic -------------------------------------+------------------------------------- Reporter: | Owner: facundo.dominguez facundo.dominguez | Status: new Type: feature | Milestone: request | Version: Priority: normal | Keywords: Component: Compiler | Architecture: Unknown/Multiple Resolution: | Difficulty: Unknown Operating System: | Blocked By: Unknown/Multiple | Related Tickets: 7015 Type of failure: | None/Unknown | Test Case: | Blocking: | Differential Revisions: Phab:D102 | -------------------------------------+------------------------------------- Changes (by facundo.dominguez): * version: 7.8.2 => -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9381#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9381: Implement -rdynamic -------------------------------------+------------------------------------- Reporter: | Owner: facundo.dominguez facundo.dominguez | Status: patch Type: feature | Milestone: request | Version: Priority: normal | Keywords: Component: Compiler | Architecture: Unknown/Multiple Resolution: | Difficulty: Unknown Operating System: | Blocked By: Unknown/Multiple | Related Tickets: 7015 Type of failure: | None/Unknown | Test Case: | Blocking: | Differential Revisions: Phab:D102 | -------------------------------------+------------------------------------- Changes (by facundo.dominguez): * status: new => patch -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9381#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9381: Implement -rdynamic
-------------------------------------+-------------------------------------
Reporter: | Owner: facundo.dominguez
facundo.dominguez | Status: patch
Type: feature | Milestone:
request | Version:
Priority: normal | Keywords:
Component: Compiler | Architecture: Unknown/Multiple
Resolution: | Difficulty: Unknown
Operating System: | Blocked By:
Unknown/Multiple | Related Tickets: 7015
Type of failure: |
None/Unknown |
Test Case: |
Blocking: |
Differential Revisions: Phab:D102 |
-------------------------------------+-------------------------------------
Comment (by Austin Seipp

#9381: Implement -rdynamic -------------------------------------+------------------------------------- Reporter: | Owner: facundo.dominguez facundo.dominguez | Status: closed Type: feature | Milestone: 7.10.1 request | Version: Priority: normal | Keywords: Component: Compiler | Architecture: Unknown/Multiple Resolution: fixed | Difficulty: Unknown Operating System: | Blocked By: Unknown/Multiple | Related Tickets: #7015 Type of failure: | None/Unknown | Test Case: | Blocking: | Differential Revisions: Phab:D102 | -------------------------------------+------------------------------------- Changes (by thoughtpolice): * status: patch => closed * resolution: => fixed * related: 7015 => #7015 * milestone: => 7.10.1 Comment: Merged, thanks! -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9381#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9381: Implement -rdynamic -------------------------------------+------------------------------------- Reporter: | Owner: facundo.dominguez | Status: new Type: feature request | Milestone: 7.10.1 Priority: normal | Version: Component: Compiler | Keywords: Resolution: | Architecture: Operating System: Windows | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #7015 | Differential Revisions: Phab:D102 -------------------------------------+------------------------------------- Changes (by thomie): * owner: facundo.dominguez => * resolution: fixed => * status: closed => new * os: Unknown/Multiple => Windows Comment: This test is failing on Windows 64 bit. {{{ =====> rdynamic(normal) 50 of 71 [0, 0, 0] cd . && "D:/home/thomie/ghc-master/inplace/bin/ghc-stage2.exe" -o rdynamic rdynamic.hs -fforce-recomp -dcore-lint -dcmm-lint -dno-debug- output -no-user-package-db -rtsopts -fno-warn-tabs -fno-ghci-history -rdynamic -package ghc -v > rdynamic.comp.stderr 2>&1 cd . && ./rdynamic rdynamic.run.stdout 2> rdynamic.run.stderr Wrong exit code (expected 0 , actual 160 ) Stdout: Stderr: *** unexpected failure for rdynamic(normal) }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9381#comment:7 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9381: Implement -rdynamic
-------------------------------------+-------------------------------------
Reporter: | Owner:
facundo.dominguez | Status: new
Type: feature request | Milestone: 7.10.1
Priority: normal | Version:
Component: Compiler | Keywords:
Resolution: | Architecture:
Operating System: Windows | Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: #7015 | Differential Revisions: Phab:D102
-------------------------------------+-------------------------------------
Comment (by Thomas Miedema

#9381: Implement -rdynamic -------------------------------------+------------------------------------- Reporter: | Owner: Phyx- facundo.dominguez | Type: feature request | Status: new Priority: normal | Milestone: 7.10.1 Component: Compiler | Version: Resolution: | Keywords: Operating System: Windows | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #7015 | Differential Revisions: Phab:D102 -------------------------------------+------------------------------------- Changes (by Phyx-): * owner: => Phyx- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9381#comment:9 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9381: Implement -rdynamic -------------------------------------+------------------------------------- Reporter: | Owner: Phyx- facundo.dominguez | Type: feature request | Status: new Priority: normal | Milestone: 7.12.1 Component: Compiler | Version: Resolution: | Keywords: Operating System: Windows | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #7015 | Differential Revisions: Phab:D102 -------------------------------------+------------------------------------- Changes (by Phyx-): * milestone: 7.10.1 => 7.12.1 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9381#comment:10 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9381: Implement -rdynamic -------------------------------------+------------------------------------- Reporter: | Owner: Phyx- facundo.dominguez | Type: feature request | Status: patch Priority: normal | Milestone: 7.12.1 Component: Compiler | Version: Resolution: | Keywords: Operating System: Windows | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #7015 | Differential Revisions: Phab:D1149 -------------------------------------+------------------------------------- Changes (by Phyx-): * status: new => patch * differential: Phab:D102 => Phab:D1149 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9381#comment:11 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9381: Implement -rdynamic
-------------------------------------+-------------------------------------
Reporter: | Owner: Phyx-
facundo.dominguez |
Type: feature request | Status: patch
Priority: normal | Milestone: 7.12.1
Component: Compiler | Version:
Resolution: | Keywords:
Operating System: Windows | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: #7015 | Differential Revisions: Phab:D1149
-------------------------------------+-------------------------------------
Comment (by Ben Gamari

#9381: Implement -rdynamic -------------------------------------+------------------------------------- Reporter: | Owner: Phyx- facundo.dominguez | Type: feature request | Status: closed Priority: normal | Milestone: 7.12.1 Component: Compiler | Version: Resolution: fixed | Keywords: Operating System: Windows | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #7015 | Differential Revisions: Phab:D1149 -------------------------------------+------------------------------------- Changes (by Phyx-): * status: patch => closed * resolution: => fixed -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9381#comment:13 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC