[GHC] #3843: Merge plugins into HEAD

GHC cvs-ghc at haskell.org
Wed Jun 29 20:42:01 CEST 2011


#3843: Merge plugins into HEAD
---------------------------------+------------------------------------------
    Reporter:  dreixel           |        Owner:  simonpj     
        Type:  task              |       Status:  new         
    Priority:  normal            |    Milestone:  7.2.1       
   Component:  Compiler          |      Version:  6.13        
    Keywords:                    |     Testcase:              
   Blockedby:                    |   Difficulty:              
          Os:  Unknown/Multiple  |     Blocking:              
Architecture:  Unknown/Multiple  |      Failure:  None/Unknown
---------------------------------+------------------------------------------

Comment(by batterseapower):

 I had to change the flags to "-fplugin Mod" and "-fplugin-arg Mod:foo-bar"
 - i.e. with a manifest space between the -f bit and the actual argument.
 This is because -fplugin-arg=Mod:foo-bar was being parsed as a plugin
 whose module name was literally -arg=Mod:foo-bar.

 Furthermore, my supercompilation plugin dies with a panic about static
 flags on OS X, which makes me suspect that there are still linking issues
 to be resolved before plugins will work properly.. I'm about to experiment
 with this, stay tuned.

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



More information about the Glasgow-haskell-bugs mailing list