gmp port upgrade to 4.2.2?

Vincent Lefevre vincent-opdarw at
Thu Sep 13 16:40:30 PDT 2007

On 2007-09-13 15:06:13 -0500, Ryan Schmidt wrote:
> I am on 32-bit Intel and I have gmp 4.2.1_4 installed, as a dependency of 
> gcc42. I have no idea how to test whether it's working properly. Well, I 
> could run "port test" I guess.

I think that most problems are build failure, but "port test" is
important, as many compilers miscompile GMP.

> I could try the upgrade on Intel and if it works I'll post a patch
> and someone on PowerPC can try it.

I can try on PowerPC.

> I made a ticket:


>> BTW, it would be nice to have a universal 32/64 build, but I haven't
>> had the time to try yet.
> I don't believe we have any provisions in base for universal 32/64 builds. 
> If that would be nice, then we should do it in base, shouldn't we?

Yes, but even if it is in base, I'm not sure that this will work
without change with GMP, as GMP tries to build as 64-bit by default
(for efficiency reasons, even if this is not the default ABI).

Vincent Lefèvre <vincent at> - Web: <>
100% accessible validated (X)HTML - Blog: <>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)

More information about the macports-dev mailing list