From patchwork Tue Jan 13 14:57:59 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Wakely X-Patchwork-Id: 428434 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 928201400DE for ; Wed, 14 Jan 2015 01:58:16 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; q=dns; s= default; b=kZb1USt1DWDc3cG2o2c67BLXxMq7Ii+oer7mOkVQ0uvU/IQcuEZmP N1QcK6hbkIvqMjcBuPqxrgkkNl8rQN3Yu/vsQee9KqJaKeS0Pbiqc/CSDYvY3B9P pOpV+QvM/lMIYAupAEdnpAdW6vqnaJU+GUCyEimuHPVD3YAmkBDPgw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; s= default; bh=wEnqD8yuJg7A50Ikf/eVLlHCIZA=; b=KvkHBd6Dk/bVWlHRCMfm 8ykOFSV6gaklUpoJakLP72nzcZM3wvAUsO1E6UzIbek35emknrGHlEH6se/nrp14 b/PxxRlj1E0e9i/D27iXSUCutP3b64PmBgfnR6iGsVIQhODuWHuLiTGC2ylztpXU 3aSnDLJQP8r3tCh6bkiHkFQ= Received: (qmail 4834 invoked by alias); 13 Jan 2015 14:58:08 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 4811 invoked by uid 89); 13 Jan 2015 14:58:07 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL, BAYES_00, SPF_HELO_PASS, SPF_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Tue, 13 Jan 2015 14:58:06 +0000 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t0DEw4EC022396 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 13 Jan 2015 09:58:05 -0500 Received: from localhost (ovpn-116-142.ams2.redhat.com [10.36.116.142]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t0DEw3Va002860; Tue, 13 Jan 2015 09:58:04 -0500 Date: Tue, 13 Jan 2015 14:57:59 +0000 From: Jonathan Wakely To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: [patch] libstdc++/64571 export fstream functions using new std::string Message-ID: <20150113145759.GW3360@redhat.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) The existing tests for these functions are compile-only so didn't catch that I forgot to export these new symbols. I'll add a better test next week. Tested x86_64-linux, committed to trunk. commit d428e75af04d995451a917ef7c9caed6b8cee737 Author: Jonathan Wakely Date: Tue Jan 13 14:27:34 2015 +0000 PR libstdc++/64571 * config/abi/pre/gnu.ver: Export fstream functions using new string. diff --git a/libstdc++-v3/config/abi/pre/gnu.ver b/libstdc++-v3/config/abi/pre/gnu.ver index 7bb65e9..700da18 100644 --- a/libstdc++-v3/config/abi/pre/gnu.ver +++ b/libstdc++-v3/config/abi/pre/gnu.ver @@ -1648,6 +1648,13 @@ GLIBCXX_3.4.21 { _ZStlsI[cw]St11char_traitsI[cw]ESaI[cw]EERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_string*; _ZStrsI[cw]St11char_traitsI[cw]ESaI[cw]EERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_string*; + # fstream functions taking ABI-tagged std::string + _ZNSt13basic_filebufI[cw]St11char_traitsI[cw]EE4openERKNSt7__cxx1112basic_string*; + _ZNSt13basic_fstreamI[cw]St11char_traitsI[cw]EEC1ERKNSt7__cxx1112basic_string*; + _ZNSt13basic_fstreamI[cw]St11char_traitsI[cw]EE4openERKNSt7__cxx1112basic_string*; + _ZNSt14basic_[io]fstreamI[cw]St11char_traitsI[cw]EEC1ERKNSt7__cxx1112basic_string*; + _ZNSt14basic_[io]fstreamI[cw]St11char_traitsI[cw]EE4openERKNSt7__cxx1112basic_string*; + # std::locale::name() returning new std::string _ZNKSt6locale4nameB5cxx11Ev;