|
Bug in 6.0.1: msg#00003lang.haskell.glasgow.bugs
When I load HToolkit 1.2 into GHC 6.0.1 I get the following: --8<---- mettw > ghci -package gio ___ ___ _ / _ \ /\ /\/ __(_) / /_\// /_/ / / | | GHC Interactive, version 6.0.1, for Haskell 98. / /_\\/ __ / /___| | http://www.haskell.org/ghc/ \____/\/ /_/\____/|_| Type :? for help. Loading package port ... linking ... /usr/lib/ghc-6.0.1/HSport.o: unknown symbol `__stginit_GHCziWord_' ghc-6.0.1: panic! (the `impossible' happened, GHC version 6.0.1): can't load package `port' Please report it as a compiler bug to glasgow-haskell-bugs@xxxxxxxxxxx, or http://sourceforge.net/projects/ghc/. --8<---- But by specifying the text package it loads OK --8<---- mettw > ghci -package gio -package text ___ ___ _ / _ \ /\ /\/ __(_) / /_\// /_/ / / | | GHC Interactive, version 6.0.1, for Haskell 98. / /_\\/ __ / /___| | http://www.haskell.org/ghc/ \____/\/ /_/\____/|_| Type :? for help. Loading package base ... linking ... done. Loading package lang ... linking ... done. Loading package text ... linking ... done. Loading package port ... linking ... done. Loading package gio ... linking ... done. Prelude> --8<----- Also, on my Debian Testing system /usr/lib/libpthreads.so is an ld script, but ghci tries to load it as a library. It aborts complaining that /usr/lib/libpthreads.so has an invalid ELF header. To get around the problem I've had to replace the ld script with a symlink to /lib/libpthread.so.0, which will probably cause problems in the future since there are some functions that are only in /usr/lib/libpthread_nonshared.a (Which ld can only reach with the script). -- Matthew Parry - "There now, didn't I tell you to keep a good count? Well, there's an end of the story. God knows there's no going on with it now." - Sancho Panza.
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: strange difference between old and hierachical module names, Simon Peyton-Jones |
|---|---|
| Next by Date: | Slight doc typos, Juanma Barranquero |
| Previous by Thread: | [ ghc-Bugs-832920 ] Missing # from #-} elicits utterly opaque error, SourceForge.net |
| Next by Thread: | RE: Bug in 6.0.1, Simon Marlow |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |