[GHC] #8180: Template Haskell now requires -dynamic or -dynamic-too
GHC
ghc-devs at haskell.org
Tue Oct 15 08:06:57 UTC 2013
#8180: Template Haskell now requires -dynamic or -dynamic-too
-------------------------------------+------------------------------------
Reporter: goldfire | Owner:
Type: bug | Status: new
Priority: highest | Milestone: 7.8.1
Component: Compiler | Version: 7.7
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture: Unknown/Multiple
Type of failure: None/Unknown | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
-------------------------------------+------------------------------------
Comment (by simonmar):
Here's a straw man proposal:
* In `--make` mode, if any modules require `TemplateHaskell`, then we
switch on `-dynamic-too` automatically, if GHC is dynamically-linked and
we're compiling statically
* Make `-dynamic-too` work with `-o`, by using some sensible convention
for object file names
* Document this behavior in the release notes and User's Guide
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8180#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list