This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
[v3] explicit instantiations for -fno-weak and __mt_alloc
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: libstdc++ at gcc dot gnu dot org
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 4 Mar 2004 12:15:36 -0600
- Subject: [v3] explicit instantiations for -fno-weak and __mt_alloc
- Organization: Red Hat / Chicago
This does not flip the default allocator to __mt_alloc. Instead, it
allows this to happen at some later point without mass testsuite
failures due to missing symbols on systems without support for weak
symbols.
There are some remaining failures.
One set happened between 2004-02-10 and 2004-02-13, and is comprised of:
FAIL: 23_containers/multiset/insert/1.cc execution test
FAIL: 23_containers/multiset/invalidation/2.cc execution test
FAIL: 23_containers/set/invalidation/2.cc execution test
I see these failures on multiple hosts, including 64bit linux.
The other is comprised of these additonal failures on darwin, with the new allocator:
FAIL: 27_io/basic_filebuf/open/char/9507.cc execution test
FAIL: 27_io/basic_istream/extractors_arithmetic/char/01.cc execution test
FAIL: 27_io/basic_istream/extractors_arithmetic/char/02.cc execution test
FAIL: 27_io/basic_istream/extractors_arithmetic/char/03.cc execution test
FAIL: 27_io/basic_istream/extractors_arithmetic/char/06.cc execution test
FAIL: 27_io/basic_istream/extractors_arithmetic/char/07.cc execution test
FAIL: 27_io/basic_istream/extractors_arithmetic/char/08.cc execution test
FAIL: 27_io/basic_istream/extractors_arithmetic/char/09.cc execution test
FAIL: 27_io/basic_istream/extractors_arithmetic/char/10.cc execution test
FAIL: 27_io/basic_istream/extractors_arithmetic/char/11.cc execution test
FAIL: 27_io/basic_istream/extractors_arithmetic/char/12.cc execution test
FAIL: 27_io/basic_istream/extractors_arithmetic/char/13.cc execution test
FAIL: 27_io/basic_stringbuf/imbue/char/1.cc execution test
WARNING: program timed out.
FAIL: 27_io/basic_stringbuf/seekoff/char/1.cc execution test
WARNING: program timed out.
FAIL: 27_io/basic_stringbuf/seekpos/char/1.cc execution test
WARNING: program timed out.
FAIL: 27_io/basic_stringbuf/setbuf/char/1.cc execution test
WARNING: program timed out.
FAIL: 27_io/basic_stringbuf/sputbackc/char/1.cc execution test
WARNING: program timed out.
FAIL: 27_io/basic_stringbuf/sputc/char/1.cc execution test
WARNING: program timed out.
FAIL: 27_io/basic_stringbuf/sputn/char/1.cc execution test
FAIL: 27_io/basic_stringbuf/str/char/1.cc execution test
WARNING: program timed out.
FAIL: 27_io/basic_stringbuf/sungetc/char/1.cc execution test
XPASS: 27_io/fpos/14320-2.cc execution test
FAIL: 27_io/ios_base/callbacks/1.cc execution test
FAIL: 27_io/ios_base/storage/11584.cc execution test
I'm going to give additional details to some Apple folk and plead for
their help. That's the next message, however...
tested x86/linux
tested powerpc-apple-darwin7.2.0
2004-03-04 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/20_util/allocator/1.cc: Provide explicit
instantiations for non-weak systems.
* testsuite/20_util/binders.cc: Same.
* testsuite/20_util/allocator/8230.cc: Same.
* testsuite/20_util/allocator/10378.cc: Same.
* testsuite/22_locale/ctype/is/wchar_t/2.cc: Same.
* testsuite/22_locale/ctype/is/char/2.cc: Same.
* testsuite/thread/pthread7-rope.cc: Same.
* testsuite/thread/pthread6.cc: Same.
* testsuite/thread/pthread5.cc: Same.
* testsuite/thread/pthread4.cc: Same.
* testsuite/thread/pthread1.cc: Same.
* testsuite/ext/rope.cc: Same.
* testsuite/ext/hash_set.cc: Same.
* testsuite/ext/hash_map.cc: Same.
* testsuite/ext/concept_checks.cc: Same.
* testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Same.
* testsuite/25_algorithms/unique/2.cc: Same.
* testsuite/25_algorithms/unique/1.cc: Same.
* testsuite/25_algorithms/rotate.cc: Same.
* testsuite/25_algorithms/min_max.cc: Same.
* testsuite/25_algorithms/equal.cc: Same.
* testsuite/24_iterators/rel_ops.cc: Same.
* testsuite/24_iterators/iterator.cc: Same.
* testsuite/24_iterators/insert_iterator.cc: Same.
* testsuite/24_iterators/front_insert_iterator.cc: Same.
* testsuite/24_iterators/back_insert_iterator.cc: Same.
* testsuite/23_containers/vector/resize/1.cc: Same.
* testsuite/23_containers/vector/modifiers/2.cc: Same.
* testsuite/23_containers/vector/modifiers/1.cc: Same.
* testsuite/23_containers/vector/invalidation/4.cc: Same.
* testsuite/23_containers/vector/invalidation/3.cc: Same.
* testsuite/23_containers/vector/invalidation/2.cc: Same.
* testsuite/23_containers/vector/invalidation/1.cc: Same.
* testsuite/23_containers/vector/element_access/1.cc: Same.
* testsuite/23_containers/vector/cons/6513.cc: Same.
* testsuite/23_containers/vector/cons/3.cc: Same.
* testsuite/23_containers/vector/cons/2.cc: Same.
* testsuite/23_containers/vector/cons/1.cc: Same.
* testsuite/23_containers/vector/capacity/8230.cc: Same.
* testsuite/23_containers/vector/capacity/1.cc: Same.
* testsuite/23_containers/vector/bool/6886.cc: Same.
* testsuite/23_containers/stack/members/7158.cc: Same.
* testsuite/23_containers/set/invalidation/2.cc: Same.
* testsuite/23_containers/set/invalidation/1.cc: Same.
* testsuite/23_containers/queue/members/7157.cc: Same.
* testsuite/23_containers/priority_queue/members/7161.cc: Same.
* testsuite/23_containers/multiset/invalidation/2.cc: Same.
* testsuite/23_containers/multiset/invalidation/2.cc: Same.
* testsuite/23_containers/multiset/insert/1.cc: Same.
* testsuite/23_containers/multimap/invalidation/2.cc: Same.
* testsuite/23_containers/multimap/invalidation/2.cc: Same.
* testsuite/23_containers/map/operators/1.cc: Same.
* testsuite/23_containers/map/invalidation/2.cc: Same.
* testsuite/23_containers/map/invalidation/1.cc: Same.
* testsuite/23_containers/map/insert/1.cc: Same.
* testsuite/23_containers/list/operators/4.cc: Same.
* testsuite/23_containers/list/operators/3.cc: Same.
* testsuite/23_containers/list/operators/2.cc: Same.
* testsuite/23_containers/list/operators/1.cc: Same.
* testsuite/23_containers/list/modifiers/3.cc: Same.
* testsuite/23_containers/list/modifiers/2.cc: Same.
* testsuite/23_containers/list/modifiers/1.cc: Same.
* testsuite/23_containers/list/invalidation/4.cc: Same.
* testsuite/23_containers/list/invalidation/3.cc: Same.
* testsuite/23_containers/list/invalidation/2.cc: Same.
* testsuite/23_containers/list/invalidation/1.cc: Same.
* testsuite/23_containers/list/cons/9.cc: Same.
* testsuite/23_containers/list/cons/8.cc: Same.
* testsuite/23_containers/list/cons/7.cc: Same.
* testsuite/23_containers/list/cons/6.cc: Same.
* testsuite/23_containers/list/cons/5.cc: Same.
* testsuite/23_containers/list/cons/4.cc: Same.
* testsuite/23_containers/list/cons/3.cc: Same.
* testsuite/23_containers/list/cons/2.cc: Same.
* testsuite/23_containers/list/cons/1.cc: Same.
* testsuite/23_containers/list/capacity/1.cc: Same.
* testsuite/23_containers/deque/operators/1.cc: Same.
* testsuite/23_containers/deque/invalidation/4.cc: Same.
* testsuite/23_containers/deque/invalidation/3.cc: Same.
* testsuite/23_containers/deque/invalidation/2.cc: Same.
* testsuite/23_containers/deque/invalidation/1.cc: Same.
* testsuite/23_containers/deque/cons/2.cc: Same.
* testsuite/23_containers/deque/cons/1.cc: Same.
* src/allocator.cc: Add char, wchar_t instantiations
to match extern template declarations in memory.h.