From owner-svn-ports-head@freebsd.org Mon Oct 9 09:42:46 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 CACAEE2B3B7; Mon, 9 Oct 2017 09:42:46 +0000 (UTC) (envelope-from danfe@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 623316D3D1; Mon, 9 Oct 2017 09:42:46 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v999gjdp094870; Mon, 9 Oct 2017 09:42:45 GMT (envelope-from danfe@FreeBSD.org) Received: (from danfe@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v999gj7d094869; Mon, 9 Oct 2017 09:42:45 GMT (envelope-from danfe@FreeBSD.org) Message-Id: <201710090942.v999gj7d094869@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: danfe set sender to danfe@FreeBSD.org using -f From: Alexey Dokuchaev Date: Mon, 9 Oct 2017 09:42:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r451589 - head/net-p2p/libtorrent X-SVN-Group: ports-head X-SVN-Commit-Author: danfe X-SVN-Commit-Paths: head/net-p2p/libtorrent X-SVN-Commit-Revision: 451589 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.23 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: Mon, 09 Oct 2017 09:42:47 -0000 Author: danfe Date: Mon Oct 9 09:42:45 2017 New Revision: 451589 URL: https://svnweb.freebsd.org/changeset/ports/451589 Log: Disable instrumentation on 32-bit PowerPC like we already do for i386/gcc to avoid linking errors (e.g., when building dependent `net-p2p/rtorrent' port) and update the comment accordingly. PR: 222799 (modified) Modified: head/net-p2p/libtorrent/Makefile Modified: head/net-p2p/libtorrent/Makefile ============================================================================== --- head/net-p2p/libtorrent/Makefile Mon Oct 9 09:19:47 2017 (r451588) +++ head/net-p2p/libtorrent/Makefile Mon Oct 9 09:42:45 2017 (r451589) @@ -2,7 +2,7 @@ PORTNAME= libtorrent PORTVERSION= 0.13.6 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= net-p2p MASTER_SITES= http://rtorrent.net/downloads/ @@ -39,10 +39,11 @@ KQUEUE_CONFIGURE_WITH= kqueue BROKEN= Does not build with openssl-devel .endif -# Disable amd64 atomic ops on i386 when using gcc -# undefined reference to __sync_add_and_fetch_8 -# undefined reference to __sync_fetch_and_and_8 -.if ${ARCH} == i386 && ${CHOSEN_COMPILER_TYPE} == gcc +# Disable instrumentation, which requires 64-bit atomic ops, on i386 (when +# using gcc) and powerpc to avoid linking errors: +# /usr/local/lib/libtorrent.so: undefined reference to `__sync_add_and_fetch_8' +# /usr/local/lib/libtorrent.so: undefined reference to `__sync_fetch_and_and_8' +.if ${ARCH} == i386 && ${CHOSEN_COMPILER_TYPE} == gcc || ${ARCH} == powerpc CONFIGURE_ARGS+=--disable-instrumentation .endif