[GHC] #13786: GHC panic with "cabal repl" / "stack repl" on GHC 8.0.2 and 7.8.3

GHC ghc-devs at haskell.org
Mon Jun 5 16:16:22 UTC 2017


#13786: GHC panic with "cabal repl" / "stack repl" on GHC 8.0.2 and 7.8.3
-------------------------------------+-------------------------------------
        Reporter:  ppelleti          |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  GHCi              |              Version:  8.0.2
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  crash or panic                     |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by bgamari):

 For the record, I played around with the GHC command line for a bit and
 got close to getting it to build with the following link order,
 {{{
 api/tmr_strerror.o
 api/tmr_param.o
 api/hex_bytes.o
 api/serial_transport_posix.o
 api/serial_reader_l3.o
 api/serial_reader.o
 api/tm_reader_async.o
 api/tm_reader.o
 api/tmr_utils.o
 glue/glue.o
 api/osdep_posix.o
 }}}
 Unfortunately this also doesn't quite work since `isSecureAccessEnabled`
 is defined in `serial_reader` but used in both `serial_reader_l3` and
 `serial_reader`, whereas the latter appears to have dependencies on
 `serial_reader_l3`, creating a circular dependency.

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


More information about the ghc-tickets mailing list