<div dir="ltr">Hi Ben. I get similar linker errors, also on Mac OS X.<div><br></div><div>Adding</div><div><br></div><div><div>SplitObjs = NO</div><div><br></div><div>DYNAMIC_BY_DEFAULT = NO</div><div>DYNAMIC_GHC_PROGRAMS = NO</div>
</div><div><br></div><div>to my <a href="http://build.mk">build.mk</a> avoids the problem for me — I haven't narrowed it further than that.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Aug 22, 2013 at 7:48 AM, Ben Lippmeier <span dir="ltr"><<a href="mailto:benl@ouroborus.net" target="_blank">benl@ouroborus.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
>From a fresh ghc-head checkout.<br>
<br>
<br>
On OSX Lion<br>
------------------------------------------------<br>
$ ./sync-all get<br>
...<br>
== libraries/dph: running git config --local core.ignorecase true<br>
== running git config --local core.ignorecase true<br>
== running git submodule init<br>
== running git submodule update<br>
error: Failed connect to <a href="http://git.haskell.org:3128" target="_blank">git.haskell.org:3128</a>; Operation timed out while accessing <a href="http://git.haskell.org/packages/Cabal.git/info/refs?service=git-upload-pack" target="_blank">http://git.haskell.org/packages/Cabal.git/info/refs?service=git-upload-pack</a><br>
fatal: HTTP request failed<br>
Unable to fetch in submodule path 'libraries/Cabal'<br>
git failed: 256 at ./sync-all line 119.<br>
------------------------------------------------<br>
<br>
<br>
On OSX Snow Leopard<br>
------------------------------------------------<br>
$ make<br>
...<br>
===--- building final phase<br>
make -r --no-print-directory -f <a href="http://ghc.mk" target="_blank">ghc.mk</a> phase=final all<br>
inplace/bin/dll-split compiler/stage2/build/.depend-v-dyn.haskell "DynFlags" "Annotations Avail Bag BasicTypes Binary Bitmap BlockId BreakArray BufWrite ByteCodeAsm ByteCodeInstr ByteCodeItbls ByteCodeLink CLabel Class CmdLineParser Cmm CmmCallConv CmmExpr CmmInfo CmmMachOp CmmNode CmmType CmmUtils CoAxiom CodeGen.Platform CodeGen.Platform.ARM CodeGen.Platform.NoRegs CodeGen.Platform.PPC<br>
...<br>
TysWiredIn Unify UniqFM UniqSet UniqSupply Unique Util Var VarEnv VarSet"<br>
make[1]: *** [compiler/stage2/dll-split.stamp] Segmentation fault<br>
make: *** [all] Error 2<br>
------------------------------------------------<br>
<br>
<br>
On Debian<br>
------------------------------------------------<br>
$ inplace/bin/ghc-stage2 --make ~/tmp/Hello.hs -fforce-recomp<br>
...<br>
(.data+0x0): undefined reference to `r5Iv_closure'<br>
/home/benl/devel/ghc/ghc-head/libraries/base/dist-install/build/libHSbase-4.7.0.0.a(PSQ__40.o):(.text+0x85): undefined reference to `rjV_info'<br>
/home/benl/devel/ghc/ghc-head/libraries/base/dist-install/build/libHSbase-4.7.0.0.a(PSQ__40.o): In function `S82I_srt':<br>
(.data+0x0): undefined reference to `rjV_closure'<br>
/home/benl/devel/ghc/ghc-head/libraries/base/dist-install/build/libHSbase-4.7.0.0.a(PSQ__42.o):(.text+0x85): undefined reference to `rjV_info'<br>
/home/benl/devel/ghc/ghc-head/libraries/base/dist-install/build/libHSbase-4.7.0.0.a(PSQ__42.o): In function `S83p_srt':<br>
------------------------------------------------<br>
<br>
<br>
I'm sure it's my fault, but I don't have any more computers...<br>
<br>
Ben.<br>
<br>
<br>
<br>
_______________________________________________<br>
ghc-devs mailing list<br>
<a href="mailto:ghc-devs@haskell.org">ghc-devs@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/ghc-devs" target="_blank">http://www.haskell.org/mailman/listinfo/ghc-devs</a><br>
</blockquote></div><br></div>