Ticket #380 (closed bug: Fixed)
ghc --make panic on fptools/ghc/compiler/Lexer.hs
Description
I am trying to use ghc's lexer in my own project. When
building module that imports Lexer module I am getting
this error:
ghc-6.4: panic! (the `impossible' happened, GHC version
6.4):
expectJust upsweep_mod:old_linkable
My reproduction project(attached) consists of two files:
Main.hs
========>
module Main where
import Lexer
main = putStrLn "hello"
<=========
and Makefile.
You may have to edit Makefile to provide the correct
path to the fptools folder. Running make demonstrates
the error.
I am using ghc-6.4 on gentoo.
Thank you,
Pavel [pavelzolnikov at yahoo dot com]
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

