From owner-svn-ports-head@freebsd.org Wed Sep 5 14:15:29 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D9194FF15E6; Wed, 5 Sep 2018 14:15:29 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8BDFA82C2A; Wed, 5 Sep 2018 14:15:29 +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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 82ACF26EBC; Wed, 5 Sep 2018 14:15:29 +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 w85EFTAL058446; Wed, 5 Sep 2018 14:15:29 GMT (envelope-from emaste@FreeBSD.org) Received: (from emaste@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w85EFTY6058445; Wed, 5 Sep 2018 14:15:29 GMT (envelope-from emaste@FreeBSD.org) Message-Id: <201809051415.w85EFTY6058445@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: emaste set sender to emaste@FreeBSD.org using -f From: Ed Maste Date: Wed, 5 Sep 2018 14:15:29 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r479024 - head/multimedia/libx264 X-SVN-Group: ports-head X-SVN-Commit-Author: emaste X-SVN-Commit-Paths: head/multimedia/libx264 X-SVN-Commit-Revision: 479024 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.27 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: Wed, 05 Sep 2018 14:15:30 -0000 Author: emaste (src committer) Date: Wed Sep 5 14:15:28 2018 New Revision: 479024 URL: https://svnweb.freebsd.org/changeset/ports/479024 Log: multimedia/libx264: set LLD_UNSAFE for i386 and armv7 libx264 has relocations against readonly segment(s) and lld exits with an error suggesting recompiling with -fPIC. As this may introduce a performance impact, for now just fall back to GNU ld.bfd. PR: 230214 Approved by: koobs (maintainer) MFH: 2018Q3 Modified: head/multimedia/libx264/Makefile Modified: head/multimedia/libx264/Makefile ============================================================================== --- head/multimedia/libx264/Makefile Wed Sep 5 14:07:19 2018 (r479023) +++ head/multimedia/libx264/Makefile Wed Sep 5 14:15:28 2018 (r479024) @@ -13,6 +13,10 @@ PLIST= ${.CURDIR}/pkg-plist LIB_DEPENDS= # USES= pathfix +.if ${ARCH} == "i386" || ${ARCH} == "armv7" +# PR230214 port has relocations against read-only segment (.text) +LLD_UNSAFE= yes +.endif OPTIONS_DEFINE= ASM OPENCL OPTIONS_DEFAULT= ASM OPENCL