gmp-4.3.2 and 5.0.1 on i386-apple-darwin10 link-fails cxx tests
marc.glisse at inria.fr
Thu Mar 10 07:44:07 CET 2011
> For gmp-4.3.2 and gmp-5.0.1, I've received reports of the following
> cxx-test link failure on Intel Macs where gmp's config.guess reports:
Hmm, no better than i386? I'd say that's your issue right there.
> Undefined symbols:
> "___sync_fetch_and_add_4", referenced from:
> check_mpq() in t-assign.o
Indeed ___sync_fetch_and_add_4 requires a higher -march setting (I can't
remember exactly if the minimum is 486 or 586, but the default of 686
should be fine).
And the libstdc++ test for this feature wasn't so good in gcc-4.2
More information about the gmp-bugs