GHC bug on MacOSX 10.2.6

Wolfgang Thaller wolfgang.thaller at gmx.net
Thu Jun 12 11:39:37 EDT 2003


> [orff:tools/hc/dev] atze% ghci -package data
>    ___         ___ _
>   / _ \ /\  /\/ __(_)
>  / /_\// /_/ / /  | |      GHC Interactive, version 6.0, for Haskell 
> 98.
> / /_\\/ __  / /___| |      http://www.haskell.org/ghc/
> \____/\/ /_/\____/|_|      Type :? for help.
>
> Loading package base ... linking ... done.
> Loading package haskell98 ... linking ... done.
> Loading package lang ... linking ... done.
> Loading package concurrent ... linking ... done.
> Loading package readline ... linking ... done.
> Loading package unix ... linking ... done.
> Loading package posix ... linking ... done.
> Loading package util ... linking ...
> /usr/local/lib/ghc-6.0/HSutil.o: unknown symbol 
> `___stginit_SystemziConsoleziReadline_'
> ghc-6.0: panic! (the `impossible' happened, GHC version 6.0):
>         can't load package `util'

Thanks for the report, sorry for the late reaction, summer term is 
slowly reaching it's climax.
It's a filename case sensitivity problem:
On MacOS, HSreadline.o, the ghci version of GHC's readline library, is 
overwritten by HsReadline.o, object file for the C-file "HsReadline.c", 
which contains some glue code.

Question to "the bosses": should I rename HsReadline.c to 
HsReadline_cbits.c by cvs-removing it and then cvs-adding it? Do I just 
have to do that separately for the HEAD and STABLE branches?

Cheers,

Wolfgang




More information about the Glasgow-haskell-bugs mailing list