[patch] Fix pr38262: GCC components unnecessarily link with shared gmp/mpfr

Sebastian Pop sebpop@gmail.com
Fri Dec 5 06:34:00 GMT 2008


Hi,

The attached patch makes the compilers dependent on a unique variable
BACKENDLIBS that includes the flags for GMP, CLooG and PPL.  This
avoids the LIBS variable to contain these libs that are only needed
for the back-end compilers and not for the drivers or preprocessor.
The patch has been regstrapped on an x86_64-linux machine.
Okay for trunk?

Thanks,
Sebastian Pop
--
AMD - GNU Tools




---------- Forwarded message ----------
From:  <spop@gcc13.fsffrance.org>
Date: Wed, Nov 26, 2008 at 6:24 PM
Subject: [regtest] Results for 1273_pr38262_link.diff on
x86_64-unknown-linux-gnu
To: sebpop@gmail.com


(cat /home/spop/state/testing/patched/report
there are no regressions with your patch.
tac)
FAILs with patched version:
(cat /home/spop/state/testing/patched/failed
gcc.sum gcc.dg/tree-prof/bb-reorg.c
gcc.sum gcc.dg/tree-prof/pr34999.c
gcc.sum gcc.dg/vect/no-scevccp-outer-13.c
gcc.sum gcc.dg/vect/no-scevccp-outer-7.c
gcc.sum gcc.dg/vect/vect-67.c
gcc.sum gcc.target/i386/pr34256.c
libmudflap.sum libmudflap.c++/pass41-frag.cxx
libstdc++.sum 22_locale/time_get/get_date/wchar_t/4.cc
tac)
FAILs with pristine version:
(cat /home/spop/state//trunk/142224/failed
gcc.sum gcc.dg/tree-prof/bb-reorg.c
gcc.sum gcc.dg/tree-prof/pr34999.c
gcc.sum gcc.dg/vect/no-scevccp-outer-13.c
gcc.sum gcc.dg/vect/no-scevccp-outer-7.c
gcc.sum gcc.dg/vect/vect-67.c
gcc.sum gcc.target/i386/pr34256.c
libmudflap.sum libmudflap.c++/pass41-frag.cxx
libstdc++.sum 22_locale/time_get/get_date/wchar_t/4.cc
tac)
The files used for the validation of your patch are stored in
/home/spop/state/patched/2008_11_27_00_24_09 on the tester machine.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1273_pr38262_link.diff
Type: text/x-diff
Size: 6295 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20081205/6e7cf757/attachment.bin>


More information about the Gcc-patches mailing list