Some of GMP's internal functions are declared in such a way that GCC 3.4.0 cannot compile them. Specifically, the way in which the regparm macros are used causes `conflicting type' errors for those functions. Adding REGPARM_ATTR(1) to these functions' definitions fixes this. Reproducible: Always Steps to Reproduce:
Created attachment 30721 [details, diff] Patch to fix compilation with GCC 3.4
*** Bug 50386 has been marked as a duplicate of this bug. ***
Note: GMP 4.1.3 is fine as-is, so this can probably be disregarded now, as anyone using GCC 3.4 is likely to be using ~x86 anyway.
Since the new GMP seems to have fixed this, I'm setting this bug to RESOLVED FIXED. If anyone has any objections to that, I'll reopen it.