Opened 9 years ago

Closed 9 years ago

Last modified 7 years ago

#968 closed bug (fixed)

MkExternalCore died: can't handle "foreign label" declarations

Reported by: Samuel Bronson <naesten@…> Owned by:
Priority: normal Milestone:
Component: External Core Version: 6.7
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Test Case:
Blocked By: Blocking:
Related Tickets: Differential Revisions:

Description

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

Change History (4)

comment:1 Changed 9 years ago by simonmar

  • Component changed from Compiler to External Core

comment:2 Changed 9 years ago by samb

  • Resolution set to fixed
  • Status changed from new to closed
  • Version changed from 6.6 to 6.7

comment:3 Changed 7 years ago by simonmar

  • Architecture changed from Unknown to Unknown/Multiple

comment:4 Changed 7 years ago by simonmar

  • Operating System changed from Unknown to Unknown/Multiple
Note: See TracTickets for help on using tickets.