Linking error in GHC 6.4.2 snapshot of 21 April (mingw).
simonmarhaskell at gmail.com
Mon Apr 24 06:22:44 EDT 2006
Cyril Schmidt wrote:
> When I downloaded and unpacked the latest GHC snapshot of the STABLE
> branch for Windows (ghc-188.8.131.5260421-i386-unknown-mingw32.tar.gz),
> I got the following error trying to start GHCi:
> ___ ___ _
> / _ \ /\ /\/ __(_)
> / /_\// /_/ / / | | GHC Interactive, version 6.4.2, for Haskell 98.
> / /_\\/ __ / /___| | http://www.haskell.org/ghc/
> \____/\/ /_/\____/|_| Type :? for help.
> Loading package base-1.0 ... linking ... :
> c:/ghc/GHC-64~1.2/HSbase1.o: unknown symbol `_sqrtf'
> : unable to load package `base-1.0'
> The complaint about _sqrtf also shows up when I try to
> compile/link anything with ghc; so the problem is bigger
> than just not being able to use GHCi.
> The GHC is installed in c:\ghc\ghc-6.4.2, the PATH begins with
> LIBRARY_PATH is set to c:\ghc\ghc-6.4.2\gcc-lib
> I know for sure that the 6.4.2 snapshot of a couple of weeks ago
> worked fine, so I wonder what might be wrong with the latest one.
> I would appreciate any hints.
Sigbjorn's candidate installer doesn't have this problem:
It's a bug in 6.4.2, sadly.
More information about the Glasgow-haskell-users