[GHC] #14708: GHC panics when linking with an archive and using an annotation
GHC
ghc-devs at haskell.org
Thu Apr 12 16:37:49 UTC 2018
#14708: GHC panics when linking with an archive and using an annotation
-------------------------------------+-------------------------------------
Reporter: tchajed | Owner: (none)
Type: bug | Status: closed
Priority: normal | Milestone:
Component: Compiler | Version: 8.2.2
Resolution: duplicate | Keywords:
Operating System: Unknown/Multiple | Architecture: x86_64
Type of failure: Compile-time | (amd64)
crash or panic | Test Case:
Blocked By: | Blocking:
Related Tickets: #9438 | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Changes (by RyanGlScott):
* status: new => closed
* resolution: => duplicate
Comment:
Note that the `ANN` is not critical to reproduce this bug. You can just as
well remove it and instead load `app.hs` with `ghci` to trigger the bug as
well:
{{{
$ ghci -ladd -L. app.hs
GHCi, version 8.4.1: http://www.haskell.org/ghc/ :? for help
ghc: panic! (the 'impossible' happened)
(GHC version 8.4.1 for x86_64-unknown-linux):
Loading archives not supported
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
}}}
In other words, the key sticking point is not the use of `ANN`, but rather
loading archives in interpreted code in general. Therefore, this is a
duplicate of #9438, so closing.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14708#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list