[GHC] #14335: Plugins don't work with -fexternal-interpreter

GHC ghc-devs at haskell.org
Tue Feb 27 19:40:38 UTC 2018


#14335: Plugins don't work with -fexternal-interpreter
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.6.1
       Component:  Compiler          |              Version:  8.2.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:  T14335
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Description changed by osa1:

Old description:

> Original description:
>
> ~~It seems that using `{-# ANN #-}` pragmas from a plugin cause GHC to
> crash when run with `-fexternal-interpreter` with
> {{{
> ghc: this operation requires -fno-external-interpreter
> }}}
> It seems that the culprit is likely the use of `wormhole` in
> `convertAnnotationWrapper`.~~
>
> It turns out this is an issue with `ANN`, as suggested by comment:2 and
> comment:11, plugins simply don't work with -fexternal-interpreter.

New description:

 Original description:

 ~~It seems that using `{-# ANN #-}` pragmas from a plugin cause GHC to
 crash when run with `-fexternal-interpreter` with~~
 {{{
 ghc: this operation requires -fno-external-interpreter
 }}}
 ~~It seems that the culprit is likely the use of `wormhole` in
 `convertAnnotationWrapper`.~~

 It turns out this is an issue with `ANN`, as suggested by comment:2 and
 comment:11, plugins simply don't work with -fexternal-interpreter.

--

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


More information about the ghc-tickets mailing list