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



             Bug #: 56207

           Summary: 'make check-mpc' fails to build tests

    Classification: Unclassified

           Product: gcc

           Version: 4.8.0

            Status: UNCONFIRMED

          Severity: normal

          Priority: P3

         Component: testsuite

        AssignedTo: unassig...@gcc.gnu.org

        ReportedBy: si...@pushface.org





This is with r195682, on Mac OS X 12.2.1.



I have the SVN source tree in $source, and I have GMP 5.1.0, MPFR 3.1.1, and

MPC 1.0.1 symlinked to $source/gmp, mpfr and mpc respectively.



Having built the compiler in $build (a parallel directory), make check-gmp and

make check-mpfr run successfully.



However, make check-mpc fails to build with



/bin/sh ../libtool --tag=CC   --mode=link gcc  -g -O2 -no-install  -o tabs

tabs.o libmpc-tests.la ../src/libmpc.la -lmpfr -lgmp 

libtool: link: warning: `-no-install' is ignored for x86_64-apple-darwin12

libtool: link: warning: assuming `-no-fast-install' instead

libtool: link: gcc -g -O2 -o tabs tabs.o  ./.libs/libmpc-tests.a

../src/.libs/libmpc.a -lmpfr

/Users/simon/tmp/gcc-build-195682-patched/./gmp/.libs/libgmp.a

ld: library not found for -lmpfr



If I cd $build/mpc/test and make check, it runs successfully.



I believe that the problem is that the LDFLAGS set in $build/mpc/test/Makefile

is being overridden.

Reply via email to