------- Comment #2 from ghazi at gcc dot gnu dot org 2009-10-21 01:48 ------- I would prefer a solution that does not involve linking xgcc and cpp with libgmp since that links in unecessary code and/or yields a runtime penalty for loading the shared library.
It's unusual that we've only just now received this report since gmp has been used since gcc-4.3 (released 1.5 years ago). So I'm curious if something more recently changed to trigger this issue. I.e. did it used to work, and some newer version of either gmp, sun cc, or solaris exposed the problem? Or did it always fail? (Also, you don't mention what version of gmp you were using.) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41771