From owner-svn-src-head@freebsd.org Fri Nov 3 12:53:00 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 90A8EE518C1; Fri, 3 Nov 2017 12:53:00 +0000 (UTC) (envelope-from arichardson@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5DEE93FA9; Fri, 3 Nov 2017 12:53:00 +0000 (UTC) (envelope-from arichardson@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vA3CqxDf047091; Fri, 3 Nov 2017 12:52:59 GMT (envelope-from arichardson@FreeBSD.org) Received: (from arichardson@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vA3Cqxim047090; Fri, 3 Nov 2017 12:52:59 GMT (envelope-from arichardson@FreeBSD.org) Message-Id: <201711031252.vA3Cqxim047090@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: arichardson set sender to arichardson@FreeBSD.org using -f From: Alex Richardson Date: Fri, 3 Nov 2017 12:52:59 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r325356 - head/lib/libcxxrt X-SVN-Group: head X-SVN-Commit-Author: arichardson X-SVN-Commit-Paths: head/lib/libcxxrt X-SVN-Commit-Revision: 325356 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Nov 2017 12:53:00 -0000 Author: arichardson Date: Fri Nov 3 12:52:59 2017 New Revision: 325356 URL: https://svnweb.freebsd.org/changeset/base/325356 Log: Export std::get_new_handler() from libcxxrt.so When trying to build world for MIPS64 with clang I was getting linker errors because of a missing reference to std::get_new_handler(). It turns out std::get_new_handler() was not listed in Version.map so it was marked as a local symbol in libcxxrt.so. Reviewed by: theraven, brooks (mentor), emaste Approved by: trasz Obtained from: CheriBSD Differential Revision: https://reviews.freebsd.org/D11925 Modified: head/lib/libcxxrt/Version.map Modified: head/lib/libcxxrt/Version.map ============================================================================== --- head/lib/libcxxrt/Version.map Fri Nov 3 11:33:13 2017 (r325355) +++ head/lib/libcxxrt/Version.map Fri Nov 3 12:52:59 2017 (r325356) @@ -377,9 +377,15 @@ GLIBCXX_3.4.9 { }; } GLIBCXX_3.4; +GLIBCXX_3.4.20 { + extern "C++" { + "std::get_new_handler()"; + }; +} GLIBCXX_3.4.9; + GLIBCXX_3.4.22 { extern "C++" { "std::uncaught_exceptions()"; }; -} GLIBCXX_3.4.9; +} GLIBCXX_3.4.20;