------- Comment #3 from mikpe at it dot uu dot se  2009-12-09 16:07 -------
(In reply to comment #2)
> libmpfr must be a shared object because libmpc relies on hidden, global state
> in libmpfr.  If libmpfr is linked statically with libmpc and with GCC, each
> receives different instances of the global variables.

If that's true then that's a horrible horrible bug in libmpc!

I generally build private static-only gmp and mpfr libs for gcc-4.3 and above
to avoid any interaction with whatever libs the rest of the system may or may
not have.


-- 

mikpe at it dot uu dot se changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mikpe at it dot uu dot se


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

Reply via email to