From owner-svn-ports-head@freebsd.org Tue Dec 19 18:06:31 2017 Return-Path: Delivered-To: svn-ports-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 2CF48E94916; Tue, 19 Dec 2017 18:06:31 +0000 (UTC) (envelope-from emaste@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 ECE9838EE; Tue, 19 Dec 2017 18:06:30 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vBJI6T3x040433; Tue, 19 Dec 2017 18:06:29 GMT (envelope-from emaste@FreeBSD.org) Received: (from emaste@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vBJI6TQb040432; Tue, 19 Dec 2017 18:06:29 GMT (envelope-from emaste@FreeBSD.org) Message-Id: <201712191806.vBJI6TQb040432@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: emaste set sender to emaste@FreeBSD.org using -f From: Ed Maste Date: Tue, 19 Dec 2017 18:06:29 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r456743 - head/devel/libunwind X-SVN-Group: ports-head X-SVN-Commit-Author: emaste X-SVN-Commit-Paths: head/devel/libunwind X-SVN-Commit-Revision: 456743 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Dec 2017 18:06:31 -0000 Author: emaste (src committer) Date: Tue Dec 19 18:06:29 2017 New Revision: 456743 URL: https://svnweb.freebsd.org/changeset/ports/456743 Log: devel/libunwind: set LLD_UNSAFE libunwind.so has symbols with ELF protected visibility which various test applications could preempt. Both GNU gold and LLVM's lld fail to link this case, with errors like lld: /usr/bin/ld: error: cannot preempt symbol: _ULx86_64_init_local >>> defined in ../src/.libs/libunwind.so >>> referenced by Lperf-trace.c >>> Lperf-trace.o:(main) gold: /usr/local/bin/ld.gold: error: Gperf-simple.o: cannot make copy relocation for protected symbol '_Ux86_64_local_addr_space', defined in ../src/.libs/libunwind-x86_64.so For now prevent libunwind from linking with lld. More information can be found in libunwind upstream issue 58 https://github.com/libunwind/libunwind/issues/58 PR: 219524 Approved by: portmgr (LLD_UNSAFE blanket) Sponsored by: The FreeBSD Foundation Modified: head/devel/libunwind/Makefile Modified: head/devel/libunwind/Makefile ============================================================================== --- head/devel/libunwind/Makefile Tue Dec 19 18:01:43 2017 (r456742) +++ head/devel/libunwind/Makefile Tue Dec 19 18:06:29 2017 (r456743) @@ -25,6 +25,7 @@ GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USE_LDCONFIG= yes USES= libtool pathfix pkgconfig +LLD_UNSAFE= yes PLIST_SUB= ARCH=${ARCH:S|i386|x86|:S|amd64|x86_64|}