Executables using GHC API require dynamic linking in GHC 7.7

2013-09-27 Thread Christiaan Baaij
Dear all, It seems that executables that use the GHC API require to be dynamically linked on GHC 7.7. At least in the case that an GHC API function has to perform linking. Statically linked executable SEGFAULT when a GHC API function tries to do linking. I build 'haddock' from source by doing

Re: Executables using GHC API require dynamic linking in GHC 7.7

2013-09-27 Thread Carter Schonwald
Hey Christian, did you build ghc and libs I both Dylib and static ways? TH uses ghci, and ghci on OS X and a few other platforms uses the system dylinker, so it may be that you've only built certain libs the static way, but ghci requires the dynamic way as of 7.7 Please let me know if that helps.