From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23260 invoked by alias); 4 Dec 2001 17:18:30 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 23109 invoked from network); 4 Dec 2001 17:18:19 -0000 Received: from unknown (HELO hiauly1.hia.nrc.ca) (132.246.100.193) by sources.redhat.com with SMTP; 4 Dec 2001 17:18:19 -0000 Received: from hiauly1.hia.nrc.ca (localhost [127.0.0.1]) by hiauly1.hia.nrc.ca (8.12.0.Beta16/8.12.0.Beta16) with ESMTP id fB4HIB7c001794; Tue, 4 Dec 2001 12:18:11 -0500 (EST) Received: (from dave@localhost) by hiauly1.hia.nrc.ca (8.12.0.Beta16/8.12.0.Beta16) id fB4HIAPY001793; Tue, 4 Dec 2001 12:18:10 -0500 (EST) Message-Id: <200112041718.fB4HIAPY001793@hiauly1.hia.nrc.ca> Subject: Re: Unreviewed C++ patch for PA (HP assembler) To: jason@redhat.com (Jason Merrill) Date: Tue, 04 Dec 2001 09:18:00 -0000 From: "John David Anglin" Cc: gcc-patches@gcc.gnu.org, mark@codesourcery.com, libstdc++@gcc.gnu.org In-Reply-To: from "Jason Merrill" at Dec 4, 2001 10:58:47 am X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SW-Source: 2001-12/txt/msg00354.txt.bz2 > > 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. That does the trick. 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 * 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; #endif