https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67728

--- Comment #24 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
Created attachment 38101
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38101&action=edit
possible patch

Hi,

this is a patch that fixes the check-mpc issue and
fixes gmp-6.1.0 in-tree

The reason for the mpc check problem is that mpfr
changed the place where the libmpfr.la is around.

It was moved from mpfr/.lib to mpfr/src/.lib
and of course, we override LDFLAGS with "-static-libstdc++ -static-libgcc"
while mpc would normally use LDFLAGS="-L.../gcc-build/./gmp/.libs
-L.../gcc-build/./mpfr/.libs -static-libstdc++ -static-libgcc"

That used to work because we also add mpfr/.libs to the
LD_LIBRARY_PATH but we have foggot to ad mpfr/src/.lib
which my patch does, to fix the check-mpc make target.


Bernd.

Reply via email to