------- Comment #5 from ghazi at gcc dot gnu dot org 2009-10-21 19:51 ------- (In reply to comment #3) > > (Also, you don't mention what version of gmp you were using.) > Right, sorry: I've tried this with the latest version, gmp 4.3.1.
Okay I checked gmp source tarballs, and it looks like the SUNPRO clauses defining __GMP_EXTERN_INLINE were added specifically in gmp-4.3.1. I don't see them in gmp-4.2.4 or gmp-4.3.0. Could you please verify bootstrapping gcc with those two versions of gmp plus Sun's cc to see if they work? If it does we should offer it as a workaround for users until we figure out how we want to solve this long-term. Recommending other versions of gmp as a workaround is helpful even if we hack up a patch to GCC, because gcc-4.3 and 4.4 will not see these "fixes" until some months in the future when we do another release. Alternatively we may end up recommending to the gmp maintainer(s) that they fix the problem in their package since that's what's really broken IMHO. Either way, it would be helpful to know whether using other versions of gmp would help. Thanks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41771