Ticket #670 (new bug)

Opened 7 years ago

Last modified 22 months ago

External Core is broken

Reported by: KirstenChevalier Owned by: tim
Priority: normal Milestone: _|_
Component: External Core Version: 6.8.2
Keywords: Cc: ndmitchell@…, chevalier@…
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: GHC rejects valid program Difficulty: Moderate (less than a day)
Test Case: Blocked By:
Blocking: Related Tickets:

Description

$ ghc -fext-core Main.hs
$ ghc -fglasgow-exts Main.hcr
ghc-6.5: panic! (the `impossible' happened, GHC version 6.5):
	tcIfaceGlobal (local): not found:
    Main.main{v rrl}
    []

Please report it as a compiler bug to glasgow-haskell-bugs@haskell.org,
or http://sourceforge.net/projects/ghc/.

Main.hs consists of: main = putStr "Hello world!"

I'll fix this myself if I still have commit access; I just want to have a record of it.

Attachments

update-ghc-version-mentioned-in-the-user-guide_.dpatch Download (15.8 KB) - added by michalt 3 years ago.
Update the GHC version mentioned in the user guide.

Change History

Changed 7 years ago by simonmar

  • component changed from Compiler (Parser) to External Core

Changed 6 years ago by igloo

  • milestone set to 6.6.1

6.6 and HEAD both give:

<no location info>:
    1: Parse error
:
  main :: base:GHC.IOBase.IO base:GHC.Base.Z0T =
    base:System.IO.putStr
    (base:GHC.Base.unpac

Changed 6 years ago by igloo

  • milestone changed from 6.6.1 to 6.8

Aaron Tomb and Tim Chevalier are working on this for 6.8.

Changed 6 years ago by simonmar

  • milestone changed from 6.8 branch to 6.10 branch

Optimistically hoping that we might get external core working in 6.10.

Changed 6 years ago by tim

Optimism is always good. I'll see how Aaron is doing on this. -Tim

Changed 6 years ago by guest

  • cc ndmitchell@… added

Changed 5 years ago by tim

  • cc chevalier@… added
  • owner changed from krc to tim
  • version changed from 6.4.1 to 6.8.2
  • status changed from new to assigned

Here's the state of things: The output path (printing out External Core) should work in the HEAD. I am currently trying to verify that and to update the ext-core documentation.

The input path (reading in External Core) is a difficult problem. Aaron and I are both punting on it, for the immediate future. I would be happy to go into the deep reasons why this is hard, but I think you may know already, and am not sure how important this is to anyone.

I am going to update the GHC manual to reflect that the input path isn't working and there are no immediate plans to fix it.

- Tim

Changed 5 years ago by simonmar

  • architecture changed from Multiple to Unknown/Multiple

Changed 5 years ago by simonmar

  • os changed from Multiple to Unknown/Multiple

Changed 4 years ago by igloo

  • milestone changed from 6.10 branch to 6.12 branch

Changed 4 years ago by simonmar

  • difficulty changed from Moderate (1 day) to Moderate (less than a day)

Changed 3 years ago by igloo

  • milestone changed from 6.12 branch to 6.12.3

Changed 3 years ago by igloo

  • priority changed from low to normal
  • failure set to None/Unknown
  • milestone changed from 6.12.3 to _|_

Changed 3 years ago by michalt

Update the GHC version mentioned in the user guide.

Changed 22 months ago by zzo38

  • failure changed from None/Unknown to GHC rejects valid program

I want to be able to replace the entire front-end, so it could help if you can load external core files produced by the replaced front-end program

Note: See TracTickets for help on using tickets.