It's one of those days...

Nicolas Frisby nicolas.frisby at gmail.com
Thu Aug 22 16:23:49 CEST 2013


Hi Ben. I get similar linker errors, also on Mac OS X.

Adding

SplitObjs          = NO

DYNAMIC_BY_DEFAULT   = NO
DYNAMIC_GHC_PROGRAMS = NO

to my build.mk avoids the problem for me — I haven't narrowed it further
than that.


On Thu, Aug 22, 2013 at 7:48 AM, Ben Lippmeier <benl at ouroborus.net> wrote:

>
> From a fresh ghc-head checkout.
>
>
> On OSX Lion
> ------------------------------------------------
> $ ./sync-all get
> ...
> == libraries/dph: running git config --local core.ignorecase true
> == running git config --local core.ignorecase true
> == running git submodule init
> == running git submodule update
> error: Failed connect to git.haskell.org:3128; Operation timed out while
> accessing
> http://git.haskell.org/packages/Cabal.git/info/refs?service=git-upload-pack
> fatal: HTTP request failed
> Unable to fetch in submodule path 'libraries/Cabal'
> git failed: 256 at ./sync-all line 119.
> ------------------------------------------------
>
>
> On OSX Snow Leopard
> ------------------------------------------------
> $ make
> ...
> ===--- building final phase
> make -r --no-print-directory -f ghc.mk phase=final all
> 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
> ...
> TysWiredIn Unify UniqFM UniqSet UniqSupply Unique Util Var VarEnv VarSet"
> make[1]: *** [compiler/stage2/dll-split.stamp] Segmentation fault
> make: *** [all] Error 2
> ------------------------------------------------
>
>
> On Debian
> ------------------------------------------------
> $ inplace/bin/ghc-stage2 --make ~/tmp/Hello.hs -fforce-recomp
> ...
> (.data+0x0): undefined reference to `r5Iv_closure'
> /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'
> /home/benl/devel/ghc/ghc-head/libraries/base/dist-install/build/libHSbase-4.7.0.0.a(PSQ__40.o):
> In function `S82I_srt':
> (.data+0x0): undefined reference to `rjV_closure'
> /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'
> /home/benl/devel/ghc/ghc-head/libraries/base/dist-install/build/libHSbase-4.7.0.0.a(PSQ__42.o):
> In function `S83p_srt':
> ------------------------------------------------
>
>
> I'm sure it's my fault, but I don't have any more computers...
>
> Ben.
>
>
>
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://www.haskell.org/mailman/listinfo/ghc-devs
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20130822/518c5515/attachment.htm>


More information about the ghc-devs mailing list