[GHC] #3604: Use of template-haskell is broken with shared libraries

GHC trac at galois.com
Thu Nov 5 07:10:41 EST 2009


#3604: Use of template-haskell is broken with shared libraries
---------------------------------+------------------------------------------
    Reporter:  guest             |        Owner:  igloo           
        Type:  merge             |       Status:  new             
    Priority:  high              |    Milestone:  6.12.1          
   Component:  Compiler          |      Version:  6.12.1 RC1      
    Severity:  normal            |   Resolution:                  
    Keywords:                    |   Difficulty:  Unknown         
    Testcase:                    |           Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |  
---------------------------------+------------------------------------------
Changes (by simonmar):

  * owner:  => igloo
  * type:  bug => merge

Comment:

 Fixed:

 {{{
 Wed Nov  4 08:30:39 PST 2009  Simon Marlow <marlowsd at gmail.com>
   * #3604: treat TH with -dynamic in the same way as -prof
 }}}

 It's not entirely satisfactory because you have to compile two ways, just
 like with `-prof`.  Cabal handles this behind the scenes.  I'm not sure
 it's possible to fix it properly: even if GHC were dynamically linked,
 then we'd be in the same situation for static object files.

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


More information about the Glasgow-haskell-bugs mailing list