[GHC] #9050: Panic when compiling cmm file together with -outputdir
GHC
ghc-devs at haskell.org
Thu May 1 21:33:53 UTC 2014
#9050: Panic when compiling cmm file together with -outputdir
---------------------------------------+-----------------------------------
Reporter: Yuras | Owner:
Type: bug | Status: patch
Priority: normal | Milestone:
Component: Compiler | Version: 7.8.2
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: Compile-time crash | Unknown/Multiple
Test Case: | Difficulty: Unknown
Blocking: | Blocked By:
| Related Tickets:
---------------------------------------+-----------------------------------
Changes (by Yuras):
* status: new => patch
Comment:
This issue is a bit annoying for me. I'm working with manually written cmm
files, and I'm using -outputdir option a lot.
I tried to replace the `panic` with dummy module, and it works. But I'm a
bit concerned about module name clashes. Instead I removed the code that
forces the thunk, ghc doesn't support compiling external core anyway.
Probably it is better to replace `Module` with `Maybe Module` to be
explicit, but it leads to a huge diff.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9050#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list