This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
IF the trig funs work THEN this happens
- To: libstdc++ at sourceware dot cygnus dot com
- Subject: IF the trig funs work THEN this happens
- From: Phil Edwards <pedwards at disaster dot jaj dot com>
- Date: Thu, 8 Jun 2000 12:59:01 -0400
Well, if I add the cosf/sinf/sqrtf.lo files to LIBMATHOBJS and
libmath_la_LIBADD targets manually, and then also apply the following patch
(fabs needs to be declared; and "iff" LD_LIBRARY_PATH is set then we need
to prepend LIB_PATH during checking), then everything builds and only two
tests fail:
- 3 97.657 227097 3952 21_strings/ctor_copy_dtor.cc
- 6 99.337 23973 184 21_strings/ctor_copy_dtor.cc
- 7 0.000 548887 8000 27_io/istream_extractor_arith.cc
- 6 0.000 51187 1192 27_io/istream_extractor_arith.cc
Both static and dynamic fail with runtime errors, so we get 134/4 results.
I'm going to go ahead and check in the complex_inserters_extractors patch,
but I won't do the mkcheck.in yet -- opinions?
Phil
Index: mkcheck.in
===================================================================
RCS file: /cvs/gcc/egcs/libstdc++-v3/mkcheck.in,v
retrieving revision 1.11
diff -u -3 -r1.11 mkcheck.in
--- mkcheck.in 2000/06/01 02:55:30 1.11
+++ mkcheck.in 2000/06/08 17:56:31
@@ -65,6 +65,10 @@
LIB_PATH="$PREFIX_DIR/lib"
CXX="$PREFIX_DIR/bin/g++"
fi
+if [ -n "$LD_LIBRARY_PATH" ]; then
+ LD_LIBRARY_PATH=$LIB_PATH:LD_LIBRARY_PATH
+fi
+
# gcc compiler flags
#CXX_FLAG="-fsquangle -fhonor-std -fnew-exceptions -g -O2 -DDEBUG_ASSERT "
Index: testsuite/26_numerics/complex_inserters_extractors.cc
===================================================================
RCS file: /cvs/gcc/egcs/libstdc++-v3/testsuite/26_numerics/complex_inserters_extractors.cc,v
retrieving revision 1.1
diff -u -3 -r1.1 complex_inserters_extractors.cc
--- complex_inserters_extractors.cc 2000/04/21 20:33:34 1.1
+++ complex_inserters_extractors.cc 2000/06/08 17:56:31
@@ -27,6 +27,7 @@
#ifdef DEBUG_ASSERT
#include <assert.h>
#endif
+#include <cmath>
template<typename R>
inline bool flteq(R x, R y)