[Bug bootstrap/38262] New: [4.4 regression] GCC components unnecessarily link with shared gmp/mpfr

2008-11-25 Thread ghazi at gcc dot gnu dot org
As noted here: http://gcc.gnu.org/ml/gcc/2008-11/msg00234.html various components of GCC (xgcc, gcov, etc) are linking unnecessarily with gmp/mpfr. I believe we only need to do that for executables linked against libbackend.a (like cc1). The result is exposed when gmp/mpfr are shared libraries

Re: [Bug bootstrap/38262] New: [4.4 regression] GCC components unnecessarily link with shared gmp/mpfr

2008-11-25 Thread Sebastian Pop
Here is a patch from Dwarak for fixing this. He will send this to review on gcc-patches@ list. Sebastian Pop -- AMD - GNU Tools --- Makefile.in 2008-10-23 10:33:51.274495000 -0500 +++ Makefile.in.fix 2008-11-19 16:11:55.80298 -0600 @@ -903,8 +903,9 @@ BUILD_LIBDEPS=3D $(BUILD_LIBIBERTY)