[GHC] #8180: Template Haskell now requires -dynamic or -dynamic-too

GHC ghc-devs
Fri Oct 11 14:25:13 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 simonpj):

 Just to understand, 7.6.3 would link `THSplice.o` when compiling `Main.h`,
 right?  But 7.8 will not?  So you have to compile `THSplice` with
 `dynamic-too` in order to create `THSplice.dyn_o`?

 So what is the Right Thing here?
  * Be able to link `THSplice.o`?
  * Produce a better error message?
 or what?

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



More information about the ghc-tickets mailing list