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

--- Comment #23 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
Hi,

I tried this combination in-tree:

gmp -> gmp-6.1.0
mpfr -> mpfr-3.1.3
mpc -> mpc-1.0.3
isl -> isl-1.15

While I can now reproduce the original problem,
I noticed another anomaly:
make check-mpc fails because it does not resolve -lmpfr

make check-mpc
[...]
libtool: link: ( cd ".libs" && rm -f "libmpc-tests.la" && ln -s
"../libmpc-tests.la" "libmpc-tests.la" )
gcc -DHAVE_CONFIG_H -I. -I../../../gcc-trunk/mpc/tests -I.. 
-I../../../gcc-trunk/mpc/src -I/home/ed/gnu/gcc-build/./gmp
-I/home/ed/gnu/gcc-trunk/mpfr/src   -g -O2 -MT tabs.o -MD -MP -MF
.deps/tabs.Tpo -c -o tabs.o ../../../gcc-trunk/mpc/tests/tabs.c
mv -f .deps/tabs.Tpo .deps/tabs.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc  -g -O2 -no-install
-static-libstdc++ -static-libgcc  -o tabs tabs.o libmpc-tests.la
../src/libmpc.la -lmpfr -lgmp -lm 
libtool: link: gcc -g -O2 -static-libstdc++ -static-libgcc -o tabs tabs.o 
./.libs/libmpc-tests.a ../src/.libs/libmpc.a -lmpfr
/home/ed/gnu/gcc-build/./gmp/.libs/libgmp.a -lm
/usr/bin/ld: cannot find -lmpfr
collect2: error: ld returned 1 exit status
make[3]: *** [tabs] Error 1
make[3]: Leaving directory `/home/ed/gnu/gcc-build/mpc/tests'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/home/ed/gnu/gcc-build/mpc/tests'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/home/ed/gnu/gcc-build/mpc'
make: *** [check-mpc] Error 2

Reply via email to