ld: fatal: symbol `__gmpz_abs' is multiply-defined:
dclarke at blastwave.org
Mon Jun 1 15:53:05 CEST 2009
> I cannot follow the various Sun compiler problems, and therefore hope
> you will summarize for me the workarounds that you determine are
> necessary and reasonable.
> Whether a bug should be wrked around is a sticky issue. If it takes a
> #define or two, then it is fine. But changing the actual library code
> is a losing game, since the envelope of compilable, correct code is
> surely empty.
Don't worry about it. I'm just reporting the issue. I have not tried the
latest Studio 12 patches yet. In the past the compiler itself ( acomp or
fpe ) would core dump if you used any optimization options at all. It was
Thus far I have seen libgmp 4.3.1 working well on Sparc but not x86. I
know that things will get nasty on x86 because of some assembly issues.
I'll let you know when I see them.
More information about the gmp-bugs