This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Unreviewed C++ patch for PA (HP assembler)
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: jason at redhat dot com (Jason Merrill)
- Cc: gcc-patches at gcc dot gnu dot org, mark at codesourcery dot com, libstdc++ at gcc dot gnu dot org
- Date: Sat, 8 Dec 2001 12:28:02 -0500 (EST)
- Subject: Re: Unreviewed C++ patch for PA (HP assembler)
> > g++.jason/template31.C
> > /usr/ccs/bin/ld: Duplicate symbol "std::__malloc_alloc_template<0>::__malloc_alloc_oom_handler" in files /var/tmp//cc8IHMur.o and /xxx/gnu/gcc-3.1/objdir/hppa2.0w-hp-hpux11.11//libstdc++-v3/src/.libs/libstdc++.a(stl-inst.o)
>
> Try removing the explicit instantiations from the testcase.
Is this revision OK for the main? It fixes the problem on hppa2.0w-hp-hpux11.11
with the HP assembler.
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)
2001-12-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
* g++.old-deja/g++.jason/template31.C: Remove template for class
std::__malloc_alloc_template<0>.
--- template31.C.orig Wed Jul 25 08:06:20 2001
+++ template31.C Tue Dec 4 12:03:43 2001
@@ -37,7 +37,6 @@
std::exit(0);
}
-template class std::__malloc_alloc_template<0>;
#ifndef __USE_MALLOC
template class std::__default_alloc_template<false, 0>;
#endif