[GHC] #9877: ForeignImport coercion evaluated before typechecking

GHC ghc-devs at haskell.org
Tue Dec 15 15:01:05 UTC 2015


#9877: ForeignImport coercion evaluated before typechecking
-------------------------------------+-------------------------------------
        Reporter:  varosi            |                Owner:
            Type:  bug               |               Status:  infoneeded
        Priority:  normal            |            Milestone:
       Component:  GHC API           |              Version:  7.8.3
      Resolution:                    |             Keywords:
Operating System:  Windows           |         Architecture:  x86_64
 Type of failure:  Compile-time      |  (amd64)
  crash                              |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #8588             |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by thomie):

 * status:  new => infoneeded
 * component:  Compiler => GHC API
 * related:   => #8588


Comment:

 > When I build it directly from Cabal it does not crash.

 So this is most likely a bug in the GHC API. Perhaps Windows only. Perhaps
 already fixed, but we can't be sure without a way to reproduce (without
 relying on Eclipse FP or BuildWrapper).

 As mentioned by the BuildWrapper author in
 https://github.com/JPMoresmau/BuildWrapper/issues/49#issuecomment-67013339:

     What you should do is try to narrow the bug down by writing directly
 the GHC code. In https://ghc.haskell.org/trac/ghc/ticket/9845#no1 you can
 see I did that to expose another bug. The code buildwrapper used to invoke
 GHC is in the GHC module.


 Also note that the BuildWrapper Github page currently says:

     BuildWrapper is currently NOT maintained anymore. Feel free to fork
 and take up maintainership!

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


More information about the ghc-tickets mailing list