From owner-svn-ports-all@freebsd.org Thu Jan 26 14:35:01 2017 Return-Path: Delivered-To: svn-ports-all@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 2B93DCC2864; Thu, 26 Jan 2017 14:35:01 +0000 (UTC) (envelope-from jbeich@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 EE93C22C; Thu, 26 Jan 2017 14:35:00 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v0QEZ05O040637; Thu, 26 Jan 2017 14:35:00 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v0QEZ0Tw040636; Thu, 26 Jan 2017 14:35:00 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201701261435.v0QEZ0Tw040636@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Thu, 26 Jan 2017 14:35:00 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r432496 - branches/2017Q1/multimedia/x265 X-SVN-Group: ports-branches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jan 2017 14:35:01 -0000 Author: jbeich Date: Thu Jan 26 14:34:59 2017 New Revision: 432496 URL: https://svnweb.freebsd.org/changeset/ports/432496 Log: MFH: r432495 multimedia/x265: unbreak on aarch64[1] and mips /usr/bin/ld: common/CMakeFiles/common.dir/common.cpp.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against external symbol `__stderrp@@FBSD_1.0' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: common/CMakeFiles/common.dir/common.cpp.o(.text+0x1e0): unresolvable R_AARCH64_ADR_PREL_PG_HI21 relocation against symbol `__stderrp@@FBSD_1.0' /usr/bin/ld: final link failed: Bad value /usr/bin/ld: x265: hidden symbol `__sync_fetch_and_add_4' in /usr/lib/libgcc.a(stdatomic.o) is referenced by DSO /usr/bin/ld: final link failed: Nonrepresentable section on output PR: 216473 [1] Reported by: pkg-fallout Submitted by: mikael.urankar@gmail.com [1] Approved by: portmgr blanket Approved by: ports-secteam blanket Modified: branches/2017Q1/multimedia/x265/Makefile Directory Properties: branches/2017Q1/ (props changed) Modified: branches/2017Q1/multimedia/x265/Makefile ============================================================================== --- branches/2017Q1/multimedia/x265/Makefile Thu Jan 26 14:31:02 2017 (r432495) +++ branches/2017Q1/multimedia/x265/Makefile Thu Jan 26 14:34:59 2017 (r432496) @@ -19,12 +19,13 @@ BUILD_DEPENDS= yasm:devel/yasm USES= cmake pathfix tar:bz2 USE_LDCONFIG= yes CMAKE_ARGS= -DENABLE_TESTS=on -DPLATFORM_LIBS=md +CFLAGS_aarch64= -fPIC +CFLAGS_mips= -DNO_ATOMICS # cannot use lang/gcc +CFLAGS_mips64= -DNO_ATOMICS # cannot use lang/gcc EXTRACT_AFTER_ARGS+= --exclude "md5*" WRKSRC= ${WRKDIR}/multicoreware-${PORTNAME}-1d3b6e448e01/source -BROKEN_mips64= Fails to link: Nonrepresentable section on output - do-test: ${WRKSRC}/test/TestBench