[GHC] #10965: GHC Panic on import with 'OPTIONS_GHC -fobject-code -O'
GHC
ghc-devs at haskell.org
Fri Feb 12 02:23:43 UTC 2016
#10965: GHC Panic on import with 'OPTIONS_GHC -fobject-code -O'
---------------------------------+--------------------------------------
Reporter: Orome | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.0.1-rc2
Resolution: | Keywords:
Operating System: MacOS X | Architecture: x86_64 (amd64)
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: #10549 | Differential Rev(s):
Wiki Page: |
---------------------------------+--------------------------------------
Comment (by rwbarton):
I guess the issue is: we can't have an object code module import a byte
code module, since how would we link the object file? And if we allowed
`{-# OPTIONS_GHC -fobject-code #-}`, that could end up happening.
The workaround is of course not to write `{-# OPTIONS_GHC -fobject-code
#-}` since it doesn't work.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10965#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list