[GHC] #14481: Mutually dependent modules with orphan instances causes missing symbols with single-shot compilation

GHC ghc-devs at haskell.org
Fri Nov 17 22:07:55 UTC 2017


#14481: Mutually dependent modules with orphan instances causes missing symbols
with single-shot compilation
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:  (none)
            Type:  bug               |               Status:  closed
        Priority:  normal            |            Milestone:  8.4.1
       Component:  Compiler (Type    |              Version:  8.2.1
  checker)                           |
      Resolution:  invalid           |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by bgamari):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 Ahh, never mind; this is actually fine.

 The bug is actually one in the GHC build system (or perhaps GHC's `-M`
 mode). We need to ensure that we always compile a module's `hs-boot` file
 before its associated source file.

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


More information about the ghc-tickets mailing list