Please help me : libstdc++-v3 doesn't compile with GCC-2.95.2on Sparc-Solaris 2.6
Maurizio Loreti
loreti@pd.infn.it
Fri Jan 19 05:29:00 GMT 2001
On Fri, 19 Jan 2001, Phil Edwards wrote:
> Yikes. Are there any web pages or documents on the GCC site which still
> say 2000? If so, that needs to be fixed; please let us know.
Not that I know of; it's only in my memory :-)
> That's what some of the developers do. :-)
>
> More seriously: it depends on what you need, versus what risk is acceptable.
>
> If you need a completely stable and unchanging environment, then you need
> to use GCC 2.95.2 and the library that went with it, or any of the new
> library snapshots up though (IIRC) 2.90.7.
2.90.8
> If you need a more standard-conforming environment and are willing to put
> up with some oddities, then use some snapshots.
> ...
> There are lots of possibilities. (Including using the sources you have
> right now and configuring for i586.)
Thanks; that works indeed. Well, sort of :-) I got 7 runtime errors from
"make check", namely:
static shared test
------------------------------------------------------------------------
+ + 17_intro/header_ciso646.cc
+ + 17_intro/header_cstdio.cc
+ + 17_intro/header_cstdlib.cc
+ + 17_intro/header_cstring.cc
+ + 17_intro/header_ctime.cc
+ + 17_intro/header_cwchar.cc
+ + 17_intro/header_cwctype.cc
+ + 17_intro/header_fstream.cc
+ + 17_intro/header_iomanip.cc
+ + 17_intro/header_ios.cc
+ + 17_intro/header_iosfwd.cc
+ + 17_intro/header_iostream.cc
+ + 17_intro/header_istream.cc
+ + 17_intro/header_ostream.cc
+ + 17_intro/headers.cc
+ + 17_intro/headers_c.cc
+ + 17_intro/headers_c++.cc
+ + 17_intro/header_sstream.cc
+ + 17_intro/header_streambuf.cc
+ + 18_support/numeric_limits.cc
+ + 20_util/auto_ptr.cc
-r + 21_strings/append.cc
+ + 21_strings/capacity.cc
+ + 21_strings/char_traits.cc
+ + 21_strings/compare.cc
-r + 21_strings/ctor_copy_dtor.cc
-r + 21_strings/element_access.cc
+ + 21_strings/find.cc
-r + 21_strings/insert.cc
+ + 21_strings/inserters_extractors.cc
+ + 21_strings/invariants.cc
+ + 21_strings/nonmember.cc
+ + 21_strings/operations.cc
+ + 21_strings/replace.cc
+ + 21_strings/rfind.cc
-r + 21_strings/substr.cc
+ + 22_locale/codecvt_char_char.cc
+ + 22_locale/codecvt_unicode_char.cc
+ + 22_locale/codecvt_unicode_wchar_t.cc
+ + 22_locale/codecvt_wchar_t_char.cc
+ + 22_locale/ctor_copy_dtor.cc
+ + 22_locale/ctype.cc
+ + 22_locale/ctype_char_members.cc
+ + 22_locale/ctype_wchar_t_members.cc
+ + 22_locale/facet.cc
+ + 22_locale/global_templates.cc
+ + 22_locale/operators.cc
+ + 22_locale/static_members.cc
-r + 23_containers/bitset_ctor.cc
+ + 23_containers/bitset_shift.cc
-b -b 23_containers/map_operators.cc
+ + 23_containers/multiset.cc
-b -b 23_containers/set_operators.cc
+ + 23_containers/vector_capacity.cc
+ + 23_containers/vector_ctor.cc
-r + 23_containers/vector_element_access.cc
+ + 23_containers/vector_modifiers.cc
+ + 24_iterators/istreambuf_iterator.cc
+ + 24_iterators/iterator.cc
+ + 25_algorithms/lower_bound.cc
+ + 25_algorithms/min_max.cc
+ + 26_numerics/binary_closure.cc
+ + 26_numerics/buggy_complex.cc
+ + 26_numerics/c_math.cc
+ + 26_numerics/complex_inserters_extractors.cc
+ + 26_numerics/complex_value.cc
+ + 26_numerics/valarray.cc
+ + 27_io/filebuf.cc
+ + 27_io/filebuf_members.cc
+ + 27_io/fpos.cc
+ + 27_io/ifstream_members.cc
+ + 27_io/ios_base_callbacks.cc
+ + 27_io/ios_base_members_static.cc
+ + 27_io/ios_base_storage.cc
+ + 27_io/ios_ctor.cc
+ + 27_io/ios_manip_basefield.cc
+ + 27_io/ios_manip_fmtflags.cc
-r + 27_io/ios_members.cc
+ + 27_io/istream.cc
+ + 27_io/istream_extractor_arith.cc
+ + 27_io/istream_extractor_char.cc
+ + 27_io/istream_extractor_other.cc
+ + 27_io/istream_manip.cc
+ + 27_io/istream_seeks.cc
+ + 27_io/istream_sentry.cc
+ + 27_io/istream_unformatted.cc
+ + 27_io/istringstream_members.cc
+ + 27_io/narrow_stream_objects.cc
+ + 27_io/ofstream_members.cc
+ + 27_io/ostream.cc
+ + 27_io/ostream_inserter_arith.cc
+ + 27_io/ostream_inserter_char.cc
+ + 27_io/ostream_inserter_other.cc
+ + 27_io/ostream_manip.cc
+ + 27_io/ostream_seeks.cc
+ + 27_io/ostream_unformatted.cc
+ + 27_io/streambuf.cc
+ + 27_io/stringbuf.cc
+ + 27_io/stringstream.cc
+ + 27_io/wide_stream_objects.cc
+ + ext/headers.cc
testrun == 1297 seconds
> Usually the library works with any given GCC snapshot. The most recent
> snapshot (on the 15th) had a serious bug. The previous snapshot probably
> was fine. The bug was fixed on the 16th, so the next snapshot that will
> be created on the 21st should also be fine.
Well, not. 20010108 did not compile my sources because of an
incompatibility between <fstream> and <vector> (now corrected).
Thank you for the invaluable help! And, of course, many many thanks for
your efforts and the efforts of the other readers of the mailing list,
that contribute so much to the most known jewel of the free software.
--
Maurizio Loreti http://www.pd.infn.it/~loreti/mlo.html
Univ. of Padova, Dept. of Physics - Padova, Italy loreti@pd.infn.it
More information about the Libstdc++
mailing list