[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 00:01:45 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 facundo.dominguez):
Perhaps it is possible to stop the linker from removing modules from the
final executable when they use the `StaticPointers` language extension.
That failing, the simplest solution could be to document that the module
defining static pointers needs to be imported transitively into the main
module of an executable supposed to find them.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12875#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list