I/O manager: relying solely upon kqueue is not a safe way to go

Kazu Yamamoto ( 山本和彦 ) kazu at iij.ad.jp
Sun Mar 24 12:40:34 CET 2013


Hi Ian,

>> tmp/ghc63821_0/ghc63821_1.split__2.s:unknown:missing indirect symbols for section (__DATA,__la_sym_ptr2)
> 
> I believe I've fixed this now; please let me know if you still have
> problems.

Build finished on Mac and "ghc" works if executed inplace:

----
% ./inplace/bin/ghc-stage2 --interactive       
GHCi, version 7.7.20130323: http://www.haskell.org/ghc/  :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
[Prelude]
> 
----

And "otool -L ghc-stage2" says that all necessary libraries are linked.

However, "make install" fails:

----
Installing library in /ghc-head/lib/ghc-7.7.20130323/haskell2010-1.1.1.0
"/ghc-head/lib/ghc-7.7.20130323/bin/ghc-pkg" --force --global-package-db "/ghc-head/lib/ghc-7.7.20130323/package.conf.d" update rts/package.conf.install
dyld: Library not loaded: @loader_path/../terminfo-0.3.2.5/libHSterminfo-0.3.2.5-ghc7.7.20130323.dylib
  Referenced from: /ghc-head/lib/ghc-7.7.20130323/bin/ghc-pkg
  Reason: image not found
make[1]: *** [install_packages] Trace/BPT trap: 5
make: *** [install] Error 2
----

When I executed the installed "ghci", the following error was displayed.

----
dyld: Library not loaded: @loader_path/../haskeline-0.7.0.4/libHShaskeline-0.7.0.4-ghc7.7.20130323.dylib
  Referenced from: /ghc-head/lib/ghc-7.7.20130323/bin/ghc
  Reason: image not found
zsh: trace trap  ghci
----

--Kazu



More information about the ghc-devs mailing list