[Haskell-cafe] Cabal LD errors

Gregory Collins greg at gregorycollins.net
Sun Aug 1 21:45:05 EDT 2010


wren ng thornton <wren at freegeek.org> writes:

> So I'm getting some weird linking errors from cabal-install when doing `cabal
> configure && cabal build`
>
> ld warning: atom sorting error for
> _postazm0zi2zi0_DataziMonoidziOrdziArgmax_Max_closure_tbl and
> _postazm0zi2zi0_DataziMonoidziOrdziArgmax_Min_closure_tbl in
> dist/build/Data/Monoid/Ord/Argmax.o
>
> ld warning: atom sorting error for
> _postazm0zi2zi0_DataziMonoidziOrdziArgmax_Max_closure_tbl and
> _postazm0zi2zi0_DataziMonoidziOrdziArgmax_Min_closure_tbl in
> dist/build/Data/Monoid/Ord/Argmax.o
>
> But cabal doesn't quit with an error code or anything. Doing `ghc --make
> Data/Monoid/Ord/Argmax.hs` works just fine without warnings. Anyone know what
> could cause them, or how to fix it?

If this is on OSX, my understanding is that these messages are harmless.

http://hackage.haskell.org/trac/ghc/ticket/2578

Apparently this has been fixed for 6.12, if you have a later version and
it's still happening it's a regression and you should re-open the
ticket.

Cheers,

G
-- 
Gregory Collins <greg at gregorycollins.net>


More information about the Haskell-Cafe mailing list