MkExternalCore died: can't handle "foreign label" declarations
I ran into this when trying to build the whole libraries with -fext-core
:
== make way=p all;
PWD = /home/samb/ghc-patched/libraries/readline
------------------------------------------------------------------------
../../compiler/ghc-inplace -H32m -O -fasm -W -fno-warn-unused-matches -fwarn-unused-imports -Iinclude -package-name readline-1.0 -O -dcore-lint -W -fno-warn-unused-matches -fwarn-unused-imports -fext-core -package base -fgenerics -hisuf p_hi -hcsuf p_hc -osuf p_o -prof -c System/Console/Readline.hs -o System/Console/Readline.p_o -ohi System/Console/Readline.p_hi
System/Console/Readline.hsc:458:17:
Warning: Defined but not used: data constructor `KeymapTag'
DsForeign: why is there an unsafeCoerce here?
(many of that last line)
NOTE: Simplifier still going after 4 iterations; bailing out.
NOTE: Simplifier still going after 4 iterations; bailing out.
WARNING: file stranal/DmdAnal.lhs line 436 ds{v X2Ku} [lid]
(many similar lines with different variable names)
ghc-6.5: panic! (the 'impossible' happened)
(GHC version 6.5 for i386-unknown-linux):
MkExternalCore died: can't handle "foreign label" declarations
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
Trac metadata
Trac field | Value |
---|---|
Version | 6.6 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | Unknown |
Architecture | Unknown |