If it is in fact a gcc upgrade that's necessary, that version of gcc (3.3 20030304) seems to be the latest one that's available from http://developer.apple.com for 10.3. There are some more recent downloads (Xcode Tools 2.1 and 2.2) for MacOS 10.4, but I don't know if you want to shell out more money for 10.4.
I suppose you could email the maintainer of Math::GMP about it. Then again, I figure he must have already seen the bug report on rt.cpan.org ....
Update: I poked around on the tests for Math::GMP, and found at least this one instance of gcc (3.3.3 FreeBSD 20031106) that's about the same age as the one on the Mac, and it passed. Interestingly enough, there's this case that passed, but using gcc 3.0.3. Although it's Solaris, my feeling is that it's not the version of gcc that's the problem ...
Update 2: I also think it couldn't be miscompiling libgmp, as I did a make check (as emphasized on the download site), and I still got the same thing. However, looking at the website, I see something else. This is from the GNU MP Bignum library (libgmp) site:
|
GMP is very often miscompiled! We are seeing ever increasing
problems with mis-compilations of the GMP code. Please never use your newly
compiled libgmp.a or libgmp.so without first running make check. If it doesn't
complete without errors, don't trust the library, and please report this as a bug to
the gmp-bugs@swox.com list, so that we can investigate it and make sure the bug
is indeed in the compiler. (The compilers that cause problems are HP's
unbundled compilers and GCC, in particular Apple's GCC releases. It has come
to the point where a compiler should be assumed to miscompile GMP.)
|
I think that last note about 'Apple's gcc releases may be the answer... it seems that make check may find no problems, when there actually really are. I dunno, maybe post something on their forum, asking when it might be fixed..
-- Burvil
In reply to Re: Math::GMP won't install on Darwin
by bowei_99
in thread Math::GMP won't install on Darwin
by jkeenan1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |