[GHC] #968: MkExternalCore died: can't handle "foreign label" declarations

GHC trac at galois.com
Thu Oct 26 08:13:54 EDT 2006


#968: MkExternalCore died: can't handle "foreign label" declarations
---------------------------------------------------+------------------------
    Reporter:  Samuel Bronson <naesten at gmail.com>  |       Owner:         
        Type:  bug                                 |      Status:  new    
    Priority:  normal                              |   Milestone:         
   Component:  Compiler                            |     Version:  6.6    
    Severity:  normal                              |    Keywords:         
  Difficulty:  Unknown                             |    Testcase:         
Architecture:  Unknown                             |          Os:  Unknown
---------------------------------------------------+------------------------
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
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/968>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list