Hi Arjan,
the underlying GNU binutils issue which causes this was
fixed some 9 months ago. I've been using a new mingw
binutils snapshot for a while which includes it -- it's
available from
http://www.mingw.org/download.shtml
(look for binutils-2.15.90-20040222.)
You'll still see the warning from GHCi's linker about relocations,
but no need to worry.
hth
--sigbjorn
----- Original Message -----
From: "Arjan van IJzendoorn" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 10, 2004 06:49
Subject: Panic
> Hello GHC people,
>
> I'm having a lot of fun with GHC and wxHaskell, but at one point something
> unwanted happened. I created a version of wxHaskell from source with extra
> GHC options "-prof -auto-all"; I wanted to have a profiling version of
> wxHaskell so I can get a stack trace when my program crashes. The creation
> and installation of that version of wxHaskell went fine. When I tried to
> load my project NetEdit into ghci, I got the message at the end of this
> e-mail. Using ghc (instead of GHCi) gives another message:
>
> src/Common.hs:3:
> Failed to load interface for `Graphics.UI.WX':
> Could not find interface file for `Graphics.UI.WX'
> (use -v to see a list of the files searched for)
>
> Cheers, Arjan
>
> ------------------
>
> C:\dev\netedit\NetEdit>ghci -package wx -lsmilec -ilib\DData:src
src\Main.hs
> ___ ___ _
> / _ \ /\ /\/ __(_)
> / /_\// /_/ / / | | GHC Interactive, version 6.2.1, 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 QuickCheck ... linking ... done.
> Loading package util ... linking ... done.
> Loading package data ... linking ... done.
> Loading package wxcore ... linking ... WARNING: Overflown relocation field
> (# re
> locs found: 30765)
>
> C:/cygwin/usr/local/lib/wxcore0.o: unknown symbol `_CC_LIST'
> ghc.exe: panic! (the `impossible' happened, GHC version 6.2.1):
> can't load package `wxcore'
>
> Please report it as a compiler bug to [EMAIL PROTECTED],
> or http://sourceforge.net/projects/ghc/.
>
_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs