|
ghc 6.0.1 and Mac OS X 10.2.6 build: msg#00006lang.haskell.glasgow.bugs
Hi, I've built ghc 6.0.1 under OS X 10.2.6 and have a curious problem with ghci. ghc seems to work fine, but ghci give me an error. I should note that I've done the build without Wolfgang's HaskellSupportFramework, by setting the include and library paths in build.mk. This is more compatible with the automated packing scheme of DarwinPorts. This is what I see: bash-2.05a$ ghci ___ ___ _ / _ \ /\ /\/ __(_) / /_\// /_/ / / | | GHC Interactive, version 6.0.1, for Haskell 98. / /_\\/ __ / /___| | http://www.haskell.org/ghc/ \____/\/ /_/\____/|_| Type :? for help. Loading package base ... linking ... /usr/local/lib/ghc-6.0.1/HSbase_cbits.o: unknown symbol `_free' ghc-6.0.1: panic! (the `impossible' happened, GHC version 6.0.1): can't load package `base' Please report it as a compiler bug to glasgow-haskell-bugs@xxxxxxxxxxx, or http://sourceforge.net/projects/ghc/. bash-2.05a$ The error message comes from ghc/rts/Linker.c. Apparently dlsym couldn't find the symbol _free from libSystem. I suspect that doing things this way I have to link HSbase_cbits.o (and its siblings) with -lSystem, Is that correct, or is this a different problem? If it's obscure I have a way I could build a new Framework out of the installed package dependencies, but it's somewhat messy. Thanks. Greg
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: compiler (simplifier) loops, Simon Peyton-Jones |
|---|---|
| Next by Date: | Re: ghc 6.0.1 and Mac OS X 10.2.6 build, Donald Bruce Stewart |
| Previous by Thread: | compiler (simplifier) loops, Iavor Diatchki |
| Next by Thread: | Re: ghc 6.0.1 and Mac OS X 10.2.6 build, Donald Bruce Stewart |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |