3 new fails with builtin patch

Benjamin Kosnik bkoz@redhat.com
Sat Mar 30 01:09:00 GMT 2002


I now see these when doing 'make check' after:

2002-03-28  Roger Sayle  <roger@eyesopen.com>

	* include/c_std/std_cmath.h:  To prevent problems overloading
	g++ builtins, use the double variants from the global namespace
	before defining float and long double variants in std::.


FAIL: 26_numerics/complex_value.cc (test for excess errors)
WARNING: 26_numerics/complex_value.cc compilation failed to produce executable
FAIL: 26_numerics/valarray.cc (test for excess errors)
WARNING: 26_numerics/valarray.cc compilation failed to produce executable
FAIL: 27_io/ostream_inserter_arith.cc (test for excess errors)
WARNING: 27_io/ostream_inserter_arith.cc compilation failed to produce executable

Looks like this for both x86/powerpc.
http://gcc.gnu.org/ml/gcc-testresults/2002-03/msg00794.html

/tmp/ccDQjeZL.o: In function `double std::abs<double>(std::complex<double> const&)':
/mnt/hd/bliss/src.gcc/libstdc++-v3/testsuite/testsuite_hooks.h:84: undefined reference to `std::abs(double)'
/tmp/ccDQjeZL.o: In function `std::complex<double> std::polar<double>(double const&, double const&)':
/mnt/hd/bliss/src.gcc/libstdc++-v3/testsuite/testsuite_hooks.h:93: undefined reference to `std::abs(double)'
collect2: ld returned 1 exit status
compiler exited with status 1
output is:



More information about the Libstdc++ mailing list