From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6D952138334 for ; Wed, 7 Aug 2019 18:49:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6FCD8E0864; Wed, 7 Aug 2019 18:49:48 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 49B90E0864 for ; Wed, 7 Aug 2019 18:49:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CE6213494A4 for ; Wed, 7 Aug 2019 18:49:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E18236FF for ; Wed, 7 Aug 2019 18:49:44 +0000 (UTC) From: "Georgy Yakovlev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Georgy Yakovlev" Message-ID: <1565203743.73388d195c967accd3e9e7330a546bd9a81401da.gyakovlev@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libvpx/files/, media-libs/libvpx/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/libvpx/files/libvpx-1.8.0-ppc64le-disable-vsx.patch media-libs/libvpx/libvpx-1.8.0-r1.ebuild media-libs/libvpx/libvpx-1.8.0.ebuild X-VCS-Directories: media-libs/libvpx/ media-libs/libvpx/files/ X-VCS-Committer: gyakovlev X-VCS-Committer-Name: Georgy Yakovlev X-VCS-Revision: 73388d195c967accd3e9e7330a546bd9a81401da X-VCS-Branch: master Date: Wed, 7 Aug 2019 18:49:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0197c7b6-67fa-4858-9f67-451b6619c0df X-Archives-Hash: 94960ddb3e4b1ca12fe81158173823eb commit: 73388d195c967accd3e9e7330a546bd9a81401da Author: Georgy Yakovlev gentoo org> AuthorDate: Wed Aug 7 18:44:36 2019 +0000 Commit: Georgy Yakovlev gentoo org> CommitDate: Wed Aug 7 18:49:03 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73388d19 media-libs/libvpx: add ppc64le patch for 1.8.0 Closes: https://bugs.gentoo.org/688138 Acked-by: Mike Gilbert gentoo.org> Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Georgy Yakovlev gentoo.org> .../files/libvpx-1.8.0-ppc64le-disable-vsx.patch | 28 ++++++++++++++++++++++ media-libs/libvpx/libvpx-1.8.0-r1.ebuild | 1 + media-libs/libvpx/libvpx-1.8.0.ebuild | 1 + 3 files changed, 30 insertions(+) diff --git a/media-libs/libvpx/files/libvpx-1.8.0-ppc64le-disable-vsx.patch b/media-libs/libvpx/files/libvpx-1.8.0-ppc64le-disable-vsx.patch new file mode 100644 index 00000000000..5c6a36ca867 --- /dev/null +++ b/media-libs/libvpx/files/libvpx-1.8.0-ppc64le-disable-vsx.patch @@ -0,0 +1,28 @@ +From 7bf48f92e884fc01c28a4652ea0883b28744519d Mon Sep 17 00:00:00 2001 +From: Johann +Date: Mon, 10 Jun 2019 14:35:03 -0700 +Subject: [PATCH] ppc: disable vsx optimizations with hbd + +vsx optimizations do not support 32 bit tran_low_t values. + +BUG=webm:1563 + +Change-Id: I9e6348078f6e4855acfd381133eb840a435b7f81 +--- + +diff --git a/build/make/configure.sh b/build/make/configure.sh +index e950353..4a874f1 100644 +--- a/build/make/configure.sh ++++ b/build/make/configure.sh +@@ -1239,7 +1239,10 @@ + ppc64le*) + link_with_cc=gcc + setup_gnu_toolchain +- check_gcc_machine_option "vsx" ++ # Only enable vsx optimizations when vp9_highbitdepth is not enabled. ++ # https://bugs.chromium.org/p/webm/issues/detail?id=1538 ++ enabled vp9_highbitdepth || check_gcc_machine_option "vsx" ++ enabled vsx || RTCD_OPTIONS="${RTCD_OPTIONS}--disable-vsx " + if [ -n "${tune_cpu}" ]; then + case ${tune_cpu} in + power?) diff --git a/media-libs/libvpx/libvpx-1.8.0-r1.ebuild b/media-libs/libvpx/libvpx-1.8.0-r1.ebuild index b75c00c5ca4..c45449b70d2 100644 --- a/media-libs/libvpx/libvpx-1.8.0-r1.ebuild +++ b/media-libs/libvpx/libvpx-1.8.0-r1.ebuild @@ -42,6 +42,7 @@ DEPEND="abi_x86_32? ( dev-lang/yasm ) PATCHES=( "${FILESDIR}/libvpx-1.3.0-sparc-configure.patch" # 501010 + "${FILESDIR}/libvpx-1.8.0-ppc64le-disable-vsx.patch" #688138 ) src_configure() { diff --git a/media-libs/libvpx/libvpx-1.8.0.ebuild b/media-libs/libvpx/libvpx-1.8.0.ebuild index 73214ce5133..cc1164e1ea8 100644 --- a/media-libs/libvpx/libvpx-1.8.0.ebuild +++ b/media-libs/libvpx/libvpx-1.8.0.ebuild @@ -46,6 +46,7 @@ DEPEND="abi_x86_32? ( dev-lang/yasm ) PATCHES=( "${FILESDIR}/libvpx-1.3.0-sparc-configure.patch" # 501010 + "${FILESDIR}/libvpx-1.8.0-ppc64le-disable-vsx.patch" #688138 ) src_configure() {