ld: fatal: symbol `__gmpz_abs' is multiply-defined:
Marc Glisse
marc.glisse at normalesup.org
Sun May 31 03:31:30 CEST 2009
On Sun, 31 May 2009, Marc Glisse wrote:
> "inline": should work (and be even better at avoiding duplicates), works on
> x86, but fails on x64 (I reported it as a bug to Sun, we'll see if they
> agree)
Hmm, I should have mentionned that this bug only manifests if you compile
gmp without any optimization. The most basic level of optimization (-xO1)
is enough to hide it, so using "inline" (which is better than "static
inline") shouldn't hurt too many people. Still, "static inline" looks like
the safe option.
--
Marc Glisse
More information about the gmp-bugs
mailing list