Ticket #5844 (new bug)
Panic on generating Core code
| Reported by: | JamesFisher | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 7.6.1 |
| Component: | External Core | Version: | 7.4.1 |
| Keywords: | Cc: | jameshfisher@…, eventh@… | |
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | Compile-time crash | Difficulty: | Unknown |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
STEPS TO REPRODUCE
1. Create the file "Panic.hs" with the contents:
module Main where main = print 1
2. Compile with "ghc -fext-core Panic.hs"
EXPECTED BEHAVIOR
Generation of the Core file "Panic.hcr".
ACTUAL BEHAVIOR
$ ghc -fext-core Panic.hs [1 of 1] Compiling Main ( Panic.hs, Panic.o ) ghc: panic! (the 'impossible' happened) (GHC version 7.4.1 for x86_64-unknown-linux): MkExternalCore died: make_lit Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug $
As it states, I am using GHC version 7.4.1 for x86_64 Linux, on an x86-64 Linux box running Ubuntu 11.10 an Linux kernel 3.0.0-14-generic.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

