Severe problems running the libstdc++ testsuite

Peter Schmid schmid@snake.iap.physik.tu-darmstadt.de
Sun Apr 1 16:15:00 GMT 2001


I cannot run the new dejagnu based libstdc++ testsuite. That is
because of the "proc dg-trim-dirname ..." does not exist message. Maybe I
have to upgrade my copy of dejagnu, but the required version
of expect or dejagnu is not stated in the documentation. 

Running the old testsuite (mkcheck) does not work either, all tests
fail. libtool emits the message: libtool: link: cannot find the library
`/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.1/../../../libstdc++.la'. 
This is really strange, since this is the install directory and the 
copy of the compiled library is located in the
i686-pc-linux-gnu/libstdc++-v3/src/.libs directory. 

Could somebody please fix these problems.

Peter Schmid


Test Run By peter on Sun Apr  1 18:11:14 2001
Native configuration is i686-pc-linux-gnu

		=== libstdc++ tests ===

Schedule of variations:
    unix

Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
Using /home/peter/egcs/gcc/libstdc++-v3/testsuite/config/default.exp as tool-and-target-specific interface file.
Running /home/peter/egcs/gcc/libstdc++-v3/testsuite/libstdc++.tests/tests.exp ...
ERROR: (DejaGnu) proc "dg-trim-dirname /home/peter/egcs/gcc/libstdc++-v3/testsuite /home/peter/egcs/gcc/libstdc++-v3/testsuite/ext" does not exist.
The error code is NONE
The info on the error is:
close: spawn id exp6 not open
    while executing
"close -i exp6"
    invoked from within
"catch "close -i $spawn_id""

		=== libstdc++ Summary ===

/home/peter/egcs/gcc/libstdc++-v3 version 20010301
make[3]: *** [check-DEJAGNU] Error 1
make[3]: Leaving directory `/home/peter/egcs/build/i686-pc-linux-gnu/libstdc++-v3/testsuite'
make[2]: *** [check-am] Error 2
make[2]: Target `check' not remade because of errors.
make[2]: Leaving directory `/home/peter/egcs/build/i686-pc-linux-gnu/libstdc++-v3/testsuite'
make[2]: Entering directory `/home/peter/egcs/build/i686-pc-linux-gnu/libstdc++-v3'
make[2]: Nothing to be done for `check-am'.
make[2]: Leaving directory `/home/peter/egcs/build/i686-pc-linux-gnu/libstdc++-v3'
make[1]: *** [check-recursive] Error 1
make[1]: Target `check' not remade because of errors.
make[1]: Leaving directory `/home/peter/egcs/build/i686-pc-linux-gnu/libstdc++-v3'
make: *** [check-target-libstdc++-v3] Error 2


host: Linux 2.4.3 #35 Sat Mar 31 22:08:25 CEST 2001 i686
compiler: Reading specs from /home/peter/egcs/build/i686-pc-linux-gnu/libstdc++-v3/../../gcc/specs
Configured with: ../gcc/configure --enable-shared --disable-nls --enable-threads=posix --enable-long-long --enable-languages=c,c++,f77,objc
gcc version 3.1 20010401 (experimental)
g++: No input files
compiler flags: -ggdb3 -DDEBUG_ASSERT -ffunction-sections -fdata-sections 
date: 20010401
pass/fail results:  0/112 shared + 0/112 static = 0/224 total

p == pass/fail execution test
     +: pass, -b: build failure, -r: run failure, x: disabled
ctime == time to compile and link
etime == time for executable to run
text == size of the executable text section
data == size of the executable data section
total == size of the executable

p ctime	etime	text	data	total	name	
-b 1	0.000	0	0	17_intro/header_cassert.cc	-static 
-b 1	0.000	0	0	17_intro/header_cassert.cc	 

-b 1	0.000	0	0	17_intro/header_cerrno.cc	-static 
-b 1	0.000	0	0	17_intro/header_cerrno.cc	 

-b 1	0.000	0	0	17_intro/header_ciso646.cc	-static 
-b 1	0.000	0	0	17_intro/header_ciso646.cc	 

-b 1	0.000	0	0	17_intro/header_csetjmp.cc	-static 
-b 1	0.000	0	0	17_intro/header_csetjmp.cc	 

-b 1	0.000	0	0	17_intro/header_cstdarg.cc	-static 
-b 1	0.000	0	0	17_intro/header_cstdarg.cc	 

-b 1	0.000	0	0	17_intro/header_cstddef.cc	-static 
-b 1	0.000	0	0	17_intro/header_cstddef.cc	 

-b 1	0.000	0	0	17_intro/header_cstdio.cc	-static 
-b 1	0.000	0	0	17_intro/header_cstdio.cc	 

-b 1	0.000	0	0	17_intro/header_cstdlib.cc	-static 
-b 1	0.000	0	0	17_intro/header_cstdlib.cc	 

-b 1	0.000	0	0	17_intro/header_cstring.cc	-static 
-b 1	0.000	0	0	17_intro/header_cstring.cc	 

-b 1	0.000	0	0	17_intro/header_ctime.cc	-static 
-b 1	0.000	0	0	17_intro/header_ctime.cc	 

-b 1	0.000	0	0	17_intro/header_cwchar.cc	-static 
-b 1	0.000	0	0	17_intro/header_cwchar.cc	 

-b 1	0.000	0	0	17_intro/header_cwctype.cc	-static 
-b 1	0.000	0	0	17_intro/header_cwctype.cc	 

-b 1	0.000	0	0	17_intro/header_fstream.cc	-static 
-b 1	0.000	0	0	17_intro/header_fstream.cc	 

-b 1	0.000	0	0	17_intro/header_iomanip.cc	-static 
-b 1	0.000	0	0	17_intro/header_iomanip.cc	 

-b 1	0.000	0	0	17_intro/header_ios.cc	-static 
-b 1	0.000	0	0	17_intro/header_ios.cc	 

-b 1	0.000	0	0	17_intro/header_iosfwd.cc	-static 
-b 1	0.000	0	0	17_intro/header_iosfwd.cc	 

-b 1	0.000	0	0	17_intro/header_iostream.cc	-static 
-b 1	0.000	0	0	17_intro/header_iostream.cc	 

-b 1	0.000	0	0	17_intro/header_istream.cc	-static 
-b 1	0.000	0	0	17_intro/header_istream.cc	 

-b 1	0.000	0	0	17_intro/header_ostream.cc	-static 
-b 1	0.000	0	0	17_intro/header_ostream.cc	 

-b 1	0.000	0	0	17_intro/header_sstream.cc	-static 
-b 1	0.000	0	0	17_intro/header_sstream.cc	 

-b 1	0.000	0	0	17_intro/header_streambuf.cc	-static 
-b 1	0.000	0	0	17_intro/header_streambuf.cc	 

-b 1	0.000	0	0	17_intro/headers.cc	-static 
-b 1	0.000	0	0	17_intro/headers.cc	 

-b 1	0.000	0	0	17_intro/headers_c++.cc	-static 
-b 1	0.000	0	0	17_intro/headers_c++.cc	 

-b 1	0.000	0	0	17_intro/headers_c.cc	-static 
-b 1	0.000	0	0	17_intro/headers_c.cc	 

-b 1	0.000	0	0	18_support/numeric_limits.cc	-static 
-b 1	0.000	0	0	18_support/numeric_limits.cc	 

-b 1	0.000	0	0	19_diagnostics/stdexceptions.cc	-static 
-b 1	0.000	0	0	19_diagnostics/stdexceptions.cc	 

-b 1	0.000	0	0	20_util/auto_ptr.cc	-static 
-b 1	0.000	0	0	20_util/auto_ptr.cc	 

-b 2	0.000	0	0	21_strings/append.cc	-static 
-b 1	0.000	0	0	21_strings/append.cc	 

-b 1	0.000	0	0	21_strings/capacity.cc	-static 
-b 1	0.000	0	0	21_strings/capacity.cc	 

-b 1	0.000	0	0	21_strings/char_traits_requirements.cc	-static 
-b 1	0.000	0	0	21_strings/char_traits_requirements.cc	 

-b 1	0.000	0	0	21_strings/char_traits_typedefs.cc	-static 
-b 1	0.000	0	0	21_strings/char_traits_typedefs.cc	 

-b 1	0.000	0	0	21_strings/compare.cc	-static 
-b 1	0.000	0	0	21_strings/compare.cc	 

-b 1	0.000	0	0	21_strings/ctor_copy_dtor.cc	-static 
-b 1	0.000	0	0	21_strings/ctor_copy_dtor.cc	 

-b 1	0.000	0	0	21_strings/element_access.cc	-static 
-b 1	0.000	0	0	21_strings/element_access.cc	 

-b 1	0.000	0	0	21_strings/find.cc	-static 
-b 1	0.000	0	0	21_strings/find.cc	 

-b 1	0.000	0	0	21_strings/insert.cc	-static 
-b 1	0.000	0	0	21_strings/insert.cc	 

-b 1	0.000	0	0	21_strings/inserters_extractors.cc	-static 
-b 1	0.000	0	0	21_strings/inserters_extractors.cc	 

-b 1	0.000	0	0	21_strings/invariants.cc	-static 
-b 1	0.000	0	0	21_strings/invariants.cc	 

-b 1	0.000	0	0	21_strings/nonmember.cc	-static 
-b 1	0.000	0	0	21_strings/nonmember.cc	 

-b 1	0.000	0	0	21_strings/operations.cc	-static 
-b 1	0.000	0	0	21_strings/operations.cc	 

-b 1	0.000	0	0	21_strings/replace.cc	-static 
-b 1	0.000	0	0	21_strings/replace.cc	 

-b 1	0.000	0	0	21_strings/rfind.cc	-static 
-b 1	0.000	0	0	21_strings/rfind.cc	 

-b 1	0.000	0	0	21_strings/substr.cc	-static 
-b 1	0.000	0	0	21_strings/substr.cc	 

-b 1	0.000	0	0	22_locale/codecvt_char_char.cc	-static 
-b 1	0.000	0	0	22_locale/codecvt_char_char.cc	 

-b 1	0.000	0	0	22_locale/codecvt_unicode_char.cc	-static 
-b 1	0.000	0	0	22_locale/codecvt_unicode_char.cc	 

-b 1	0.000	0	0	22_locale/codecvt_unicode_wchar_t.cc	-static 
-b 1	0.000	0	0	22_locale/codecvt_unicode_wchar_t.cc	 

-b 1	0.000	0	0	22_locale/codecvt_wchar_t_char.cc	-static 
-b 1	0.000	0	0	22_locale/codecvt_wchar_t_char.cc	 

-b 1	0.000	0	0	22_locale/ctor_copy_dtor.cc	-static 
-b 1	0.000	0	0	22_locale/ctor_copy_dtor.cc	 

-b 1	0.000	0	0	22_locale/ctype.cc	-static 
-b 1	0.000	0	0	22_locale/ctype.cc	 

-b 1	0.000	0	0	22_locale/ctype_char_members.cc	-static 
-b 1	0.000	0	0	22_locale/ctype_char_members.cc	 

-b 1	0.000	0	0	22_locale/ctype_wchar_t_members.cc	-static 
-b 1	0.000	0	0	22_locale/ctype_wchar_t_members.cc	 

-b 1	0.000	0	0	22_locale/facet.cc	-static 
-b 1	0.000	0	0	22_locale/facet.cc	 

-b 1	0.000	0	0	22_locale/global_templates.cc	-static 
-b 1	0.000	0	0	22_locale/global_templates.cc	 

-b 1	0.000	0	0	22_locale/members.cc	-static 
-b 1	0.000	0	0	22_locale/members.cc	 

-b 1	0.000	0	0	22_locale/numpunct.cc	-static 
-b 1	0.000	0	0	22_locale/numpunct.cc	 

-b 1	0.000	0	0	22_locale/numpunct_byname.cc	-static 
-b 1	0.000	0	0	22_locale/numpunct_byname.cc	 

-b 1	0.000	0	0	22_locale/numpunct_char_members.cc	-static 
-b 1	0.000	0	0	22_locale/numpunct_char_members.cc	 

-b 1	0.000	0	0	22_locale/operators.cc	-static 
-b 1	0.000	0	0	22_locale/operators.cc	 

-b 1	0.000	0	0	22_locale/static_members.cc	-static 
-b 1	0.000	0	0	22_locale/static_members.cc	 

-b 1	0.000	0	0	23_containers/bitset_ctor.cc	-static 
-b 1	0.000	0	0	23_containers/bitset_ctor.cc	 

-b 1	0.000	0	0	23_containers/bitset_shift.cc	-static 
-b 1	0.000	0	0	23_containers/bitset_shift.cc	 

-b 1	0.000	0	0	23_containers/map_operators.cc	-static 
-b 1	0.000	0	0	23_containers/map_operators.cc	 

-b 1	0.000	0	0	23_containers/multiset.cc	-static 
-b 1	0.000	0	0	23_containers/multiset.cc	 

-b 1	0.000	0	0	23_containers/set_operators.cc	-static 
-b 1	0.000	0	0	23_containers/set_operators.cc	 

-b 1	0.000	0	0	23_containers/vector_capacity.cc	-static 
-b 1	0.000	0	0	23_containers/vector_capacity.cc	 

-b 1	0.000	0	0	23_containers/vector_ctor.cc	-static 
-b 1	0.000	0	0	23_containers/vector_ctor.cc	 

-b 1	0.000	0	0	23_containers/vector_element_access.cc	-static 
-b 1	0.000	0	0	23_containers/vector_element_access.cc	 

-b 1	0.000	0	0	23_containers/vector_modifiers.cc	-static 
-b 1	0.000	0	0	23_containers/vector_modifiers.cc	 

-b 1	0.000	0	0	24_iterators/istreambuf_iterator.cc	-static 
-b 1	0.000	0	0	24_iterators/istreambuf_iterator.cc	 

-b 1	0.000	0	0	24_iterators/iterator.cc	-static 
-b 1	0.000	0	0	24_iterators/iterator.cc	 

-b 1	0.000	0	0	25_algorithms/lower_bound.cc	-static 
-b 1	0.000	0	0	25_algorithms/lower_bound.cc	 

-b 1	0.000	0	0	25_algorithms/min_max.cc	-static 
-b 1	0.000	0	0	25_algorithms/min_max.cc	 

-b 1	0.000	0	0	26_numerics/binary_closure.cc	-static 
-b 1	0.000	0	0	26_numerics/binary_closure.cc	 

-b 1	0.000	0	0	26_numerics/buggy_complex.cc	-static 
-b 1	0.000	0	0	26_numerics/buggy_complex.cc	 

-b 1	0.000	0	0	26_numerics/c_math.cc	-static 
-b 1	0.000	0	0	26_numerics/c_math.cc	 

-b 1	0.000	0	0	26_numerics/complex_inserters_extractors.cc	-static 
-b 1	0.000	0	0	26_numerics/complex_inserters_extractors.cc	 

-b 1	0.000	0	0	26_numerics/complex_value.cc	-static 
-b 1	0.000	0	0	26_numerics/complex_value.cc	 

-b 1	0.000	0	0	26_numerics/valarray.cc	-static 
-b 1	0.000	0	0	26_numerics/valarray.cc	 

-b 2	0.000	0	0	27_io/filebuf.cc	-static 
-b 1	0.000	0	0	27_io/filebuf.cc	 

-b 2	0.000	0	0	27_io/filebuf_members.cc	-static 
-b 1	0.000	0	0	27_io/filebuf_members.cc	 

-b 1	0.000	0	0	27_io/fpos.cc	-static 
-b 2	0.000	0	0	27_io/fpos.cc	 

-b 2	0.000	0	0	27_io/ifstream_members.cc	-static 
-b 1	0.000	0	0	27_io/ifstream_members.cc	 

-b 2	0.000	0	0	27_io/ios_base_callbacks.cc	-static 
-b 2	0.000	0	0	27_io/ios_base_callbacks.cc	 

-b 1	0.000	0	0	27_io/ios_base_members_static.cc	-static 
-b 2	0.000	0	0	27_io/ios_base_members_static.cc	 

-b 1	0.000	0	0	27_io/ios_base_storage.cc	-static 
-b 2	0.000	0	0	27_io/ios_base_storage.cc	 

-b 1	0.000	0	0	27_io/ios_ctor.cc	-static 
-b 2	0.000	0	0	27_io/ios_ctor.cc	 

-b 1	0.000	0	0	27_io/ios_manip_basefield.cc	-static 
-b 2	0.000	0	0	27_io/ios_manip_basefield.cc	 

-b 1	0.000	0	0	27_io/ios_manip_fmtflags.cc	-static 
-b 2	0.000	0	0	27_io/ios_manip_fmtflags.cc	 

-b 1	0.000	0	0	27_io/ios_members.cc	-static 
-b 1	0.000	0	0	27_io/ios_members.cc	 

-b 1	0.000	0	0	27_io/istream.cc	-static 
-b 1	0.000	0	0	27_io/istream.cc	 

-b 1	0.000	0	0	27_io/istream_extractor_arith.cc	-static 
-b 1	0.000	0	0	27_io/istream_extractor_arith.cc	 

-b 1	0.000	0	0	27_io/istream_extractor_char.cc	-static 
-b 1	0.000	0	0	27_io/istream_extractor_char.cc	 

-b 2	0.000	0	0	27_io/istream_extractor_other.cc	-static 
-b 1	0.000	0	0	27_io/istream_extractor_other.cc	 

-b 2	0.000	0	0	27_io/istream_manip.cc	-static 
-b 1	0.000	0	0	27_io/istream_manip.cc	 

-b 2	0.000	0	0	27_io/istream_seeks.cc	-static 
-b 2	0.000	0	0	27_io/istream_seeks.cc	 

-b 1	0.000	0	0	27_io/istream_sentry.cc	-static 
-b 1	0.000	0	0	27_io/istream_sentry.cc	 

-b 1	0.000	0	0	27_io/istream_unformatted.cc	-static 
-b 2	0.000	0	0	27_io/istream_unformatted.cc	 

-b 1	0.000	0	0	27_io/istringstream_members.cc	-static 
-b 2	0.000	0	0	27_io/istringstream_members.cc	 

-b 1	0.000	0	0	27_io/narrow_stream_objects.cc	-static 
-b 2	0.000	0	0	27_io/narrow_stream_objects.cc	 

-b 1	0.000	0	0	27_io/ofstream_members.cc	-static 
-b 2	0.000	0	0	27_io/ofstream_members.cc	 

-b 1	0.000	0	0	27_io/ostream.cc	-static 
-b 2	0.000	0	0	27_io/ostream.cc	 

-b 1	0.000	0	0	27_io/ostream_inserter_arith.cc	-static 
-b 2	0.000	0	0	27_io/ostream_inserter_arith.cc	 

-b 1	0.000	0	0	27_io/ostream_inserter_char.cc	-static 
-b 2	0.000	0	0	27_io/ostream_inserter_char.cc	 

-b 1	0.000	0	0	27_io/ostream_inserter_other.cc	-static 
-b 2	0.000	0	0	27_io/ostream_inserter_other.cc	 

-b 1	0.000	0	0	27_io/ostream_manip.cc	-static 
-b 2	0.000	0	0	27_io/ostream_manip.cc	 

-b 1	0.000	0	0	27_io/ostream_seeks.cc	-static 
-b 1	0.000	0	0	27_io/ostream_seeks.cc	 

-b 2	0.000	0	0	27_io/ostream_unformatted.cc	-static 
-b 1	0.000	0	0	27_io/ostream_unformatted.cc	 

-b 2	0.000	0	0	27_io/streambuf.cc	-static 
-b 1	0.000	0	0	27_io/streambuf.cc	 

-b 2	0.000	0	0	27_io/stringbuf.cc	-static 
-b 1	0.000	0	0	27_io/stringbuf.cc	 

-b 2	0.000	0	0	27_io/stringstream.cc	-static 
-b 1	0.000	0	0	27_io/stringstream.cc	 

-b 2	0.000	0	0	27_io/wide_stream_objects.cc	-static 
-b 1	0.000	0	0	27_io/wide_stream_objects.cc	 

-b 2	0.000	0	0	ext/headers.cc	-static 
-b 1	0.000	0	0	ext/headers.cc	 

testrun == 259 seconds


libtool: link: cannot find the library `/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.1/../../../libstdc++.la'

libtool: link: cannot find the library `/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.1/../../../libstdc++.la'

libtool: link: cannot find the library `/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.1/../../../libstdc++.la'

libtool: link: cannot find the library `/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.1/../../../libstdc++.la'




More information about the Libstdc++ mailing list