------- Comment #4 from chris dot hhodges at gmail dot com  2009-10-07 10:23 
-------
(In reply to comment #3)
> Please let us know if you fix this and/or you are still stuck.
> 

Yes. I've got this fixed now!
gcc now fully compiled. 

Many thanks for the pointer to the __gmp_get_memory_functions
error. I couldn't have done it without this info.
http://www.mpfr.org/faq.html#undef_ref1 describes the problem I had and
suggests some solutions.

In short I had two GMP libraries. One in /usr/local/lib, which I had compiled
from source, and one in /usr/lib, which was there from the distro.

Rather than fiddle about with compiler options and library paths I just updated
the gmp symlink in /usr/lib to point to the new library in /usr/local/lib and
then everything worked a treat.

Many thanks, once again.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41601

Reply via email to