ghc --make panic on fptools/ghc/compiler/Lexer.hs
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]
Trac metadata
| Trac field | Value |
|---|---|
| Version | 6.4 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | ResolvedFixed |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |