From patchwork Wed Dec 26 20:09:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 154534 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp6204380ljp; Wed, 26 Dec 2018 12:11:49 -0800 (PST) X-Google-Smtp-Source: ALg8bN7ufxyQMHJNkYuWvqqgowg8agWTi3qCH2lEGmEeO24xOpVnmtOFPCBnpafwHA7gO1LxPPkk X-Received: by 2002:a17:902:5a86:: with SMTP id r6mr20230491pli.301.1545855109049; Wed, 26 Dec 2018 12:11:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545855109; cv=none; d=google.com; s=arc-20160816; b=jUtKWp69iIS/7hKY0RK/aU1CxfwXx/1ufaOe6UAP/Ebra7oiymoxtfhjtF0gcv2DoM yH5DQ2GI/F5U3gkk8juOcGLRbKZ1eMv5OMXHANUKyPREtlKwX0X//8eAAZB5nnqCq3Nr qsMInHwRjYcdJUvQELSQwXEDIzov/grLepndMtOOkbGr2WJ0qYQYd+zX+IzRqn8IntS4 itTmcxUCQMMocSplrnrRRyEo6HNbG/cI/rr075xVH2diJjltcHmYmeXL2aRmF3i0Ym5U r6Z68+GDW6ut2QEE9zcia573p28S4im6ovkrm2EShE8ByfEDmZHZiMd2Szw5YfrqShEc xt6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=iH9CdGzxwcmDXEOT0x0t/L16WRI9XrQ5J/eeHKdfkMQ=; b=i5ytBjIq/Se7s86YJLZnsI1zYi56JTMGEMCYw774ZhU9IEOj2FkqODeTY2PVPG/Yt6 CL8pKfT1bRZtdW4ReIFVcPfHsKWzn+dNBwtGoIBTAWuLIXWc8eb3L77x2A7+CvaX6foO mrKCAzZga91jc6NX7zSEMilpdJMoMvm56WwLRxJsqxRkcAVDvgDhOaOeTDTUx/jaHfdi HcupJKqsHhbysukY0q3mvZseI3brVt7FGhGiP7EP0VQyqoYcJNapeL2Io6akyajLJqok HjYhkpzfmIRWaRSZodvCjnCv5rDevdFKFxr9wayuyZhHj/gHyh5FpPk0/zN/6En4h0Sz 8OcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b="tAA/NCjo"; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id v13si16145558pgn.355.2018.12.26.12.11.48; Wed, 26 Dec 2018 12:11:49 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b="tAA/NCjo"; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from 165.28.230.35.bc.googleusercontent.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 91F3C6C460; Wed, 26 Dec 2018 20:11:09 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com [209.85.210.178]) by mail.openembedded.org (Postfix) with ESMTP id 5ADE06C1BE for ; Wed, 26 Dec 2018 20:10:29 +0000 (UTC) Received: by mail-pf1-f178.google.com with SMTP id u6so8198128pfh.11 for ; Wed, 26 Dec 2018 12:10:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=0PirIaUmrHcHMLFHxt3nnpX4dRi3oQr9JldN64N5m40=; b=tAA/NCjo/ojEJys1lgoFDL7gdo9d+UmM4+8FU++J5qLAXQLXNPfoU4woFhSUhyzSh8 LN9jqzGqGe1S4IZYBTiMp87DAD/eYjmPGvovhvOfi9DIezwgHuXTmUjg2l71JVRRIiMO +KpYX1x65gjFZD6o19tAPX/tYgCOOnbH1Ijp2m69P3QFeAhhGRbBSq7M9oyaQzJbAJB2 LgxKz/nCat21zpVNUD/X0VqXv2iPjnyGY1jgkNokIyhq9nmgvfoFKJoHQJ4gYPK9jZCd TBfX5ZAL4OsmT+xpB9FVobBzDOH60H6oqm+4/MujKO7WFZu+J6lP/eNGOtiyDOoOhZEW egDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=0PirIaUmrHcHMLFHxt3nnpX4dRi3oQr9JldN64N5m40=; b=bfoGNjJuD3L6DSS9JZGGSO/ABNUiruE+mWMmmpBxZ1kn7Tc002hjSHkrEw1P6KZkkm P5lD40mALt/iMq/IVZSHGVSr71dqfYt8ah/AfMlWISVVNQlheviyKWc3Nnlce8Lc5V6M WCyLxTaei0oPrUk+9Ky+lPzSeVicx8afLrRH6DG3f9beH/qAcQQjDPICnZ98vzztherr afIQmOu1/v0Vwe+yX6lPfwfON0s+2CA6jBkm7NlY9qLvcbXqqnekT+KG6VXD6jvkth3U HLRJHI1EknZzIBeM88EyMU0mfoCHs43VL2xs0/DI2k0aA0zFp+SXSuldntbzCgtOtncv KKIw== X-Gm-Message-State: AJcUukeyv8XoYKCIFWJb56MR2NKcVK49hNQ0RUNAGUxRbCmVcHn7plI5 6P/mFWJYlDc44tpiE56wAg8r5v8/80k= X-Received: by 2002:a63:ce50:: with SMTP id r16mr19909154pgi.217.1545855030135; Wed, 26 Dec 2018 12:10:30 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:877f:9499::6e98]) by smtp.gmail.com with ESMTPSA id l3sm60029493pga.92.2018.12.26.12.10.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Dec 2018 12:10:29 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Wed, 26 Dec 2018 12:09:53 -0800 Message-Id: <20181226200954.5267-9-raj.khem@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20181226200954.5267-1-raj.khem@gmail.com> References: <20181226200954.5267-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [OE-core] [PATCH 09/10] ffmpeg: Backport patch to fix build with gcc9 X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- ...cess_template-remove-FF_REG_sp-from-.patch | 31 +++++++++++++++++++ .../recipes-multimedia/ffmpeg/ffmpeg_4.0.2.bb | 1 + 2 files changed, 32 insertions(+) create mode 100644 meta/recipes-multimedia/ffmpeg/ffmpeg/0001-postproc-postprocess_template-remove-FF_REG_sp-from-.patch -- 2.20.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg/0001-postproc-postprocess_template-remove-FF_REG_sp-from-.patch b/meta/recipes-multimedia/ffmpeg/ffmpeg/0001-postproc-postprocess_template-remove-FF_REG_sp-from-.patch new file mode 100644 index 0000000000..83fb4b81af --- /dev/null +++ b/meta/recipes-multimedia/ffmpeg/ffmpeg/0001-postproc-postprocess_template-remove-FF_REG_sp-from-.patch @@ -0,0 +1,31 @@ +From c1cbeb87db4bfc6e281e4254a6c7fdd3854fc9b9 Mon Sep 17 00:00:00 2001 +From: Michael Niedermayer +Date: Thu, 20 Dec 2018 22:40:06 +0100 +Subject: [PATCH] postproc/postprocess_template: remove FF_REG_sp from clobber + list + +Future gcc may no longer support this + +Upstream-Status: Backport [https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/c1cbeb87db4bfc6e281e4254a6c7fdd3854fc9b9] +Tested-by: James Almer +Signed-off-by: Michael Niedermayer +--- + libpostproc/postprocess_template.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/libpostproc/postprocess_template.c b/libpostproc/postprocess_template.c +index 485eb5cfc0..b0adfd168c 100644 +--- a/libpostproc/postprocess_template.c ++++ b/libpostproc/postprocess_template.c +@@ -1317,7 +1317,7 @@ DERING_CORE((%0, %1, 8) ,(%%FF_REGd, %1, 4),%%mm2,%%mm4,%%mm0,%%mm3,%%mm5, + "1: \n\t" + : : "r" (src), "r" ((x86_reg)stride), "m" (c->pQPb), "m"(c->pQPb2), "q"(tmp) + NAMED_CONSTRAINTS_ADD(deringThreshold,b00,b02,b08) +- : "%"FF_REG_a, "%"FF_REG_d, "%"FF_REG_sp ++ : "%"FF_REG_a, "%"FF_REG_d + ); + #else // HAVE_7REGS && (TEMPLATE_PP_MMXEXT || TEMPLATE_PP_3DNOW) + int y; +-- +2.20.1 + diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_4.0.2.bb b/meta/recipes-multimedia/ffmpeg/ffmpeg_4.0.2.bb index 7d1af04047..0c227b7fc9 100644 --- a/meta/recipes-multimedia/ffmpeg/ffmpeg_4.0.2.bb +++ b/meta/recipes-multimedia/ffmpeg/ffmpeg_4.0.2.bb @@ -26,6 +26,7 @@ LIC_FILES_CHKSUM = "file://COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ SRC_URI = "https://www.ffmpeg.org/releases/${BP}.tar.xz \ file://mips64_cpu_detection.patch \ file://CVE-2018-15822.patch \ + file://0001-postproc-postprocess_template-remove-FF_REG_sp-from-.patch \ " SRC_URI[md5sum] = "ae0bfdf809306a212b4f0e6eb8d1c75e" SRC_URI[sha256sum] = "a95c0cc9eb990e94031d2183f2e6e444cc61c99f6f182d1575c433d62afb2f97"