From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by mail.openembedded.org (Postfix) with ESMTP id EFDBF7316D for ; Mon, 19 Dec 2016 10:33:19 +0000 (UTC) Received: by mail-wm0-f67.google.com with SMTP id g23so17804176wme.1 for ; Mon, 19 Dec 2016 02:33:21 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:mime-version:content-transfer-encoding; bh=j5fLH4J2+NlxHbn/i2mkIs2I3uU1/9WSYq+hTnDdtIM=; b=i4Iuc8xqUUuLRPIjR/PGMa0bd0lX9aU6Kx/AIPwA7dVYwxVf+tEtUW7kZTCfNdeSyu SM8LX31/LFYM/GJbfkDkoxEnmfw1U0zSWn/FlWjSLtwqZJThffnRrAT/s6xu3AB+Ce4/ CKY6duHDfYGgem0gPUmx0i1MFqxom1+dtUYJhFUqKFxzc4Xyhr3urhVslYKHCYWUHIEQ A5WUoDuv+UlYRI41yzPpVoMFG7gXSRsNXgJ51NigYz5eLMM+VnmROsqCPSPrFRviQ+Tp Iq1W7KR1+UDwoEJZVdkg2A2ZN3EkauGdsKNGoSbrxAbjwpMiErKHXdkAf81KbdkVMyXp bMwg== X-Gm-Message-State: AIkVDXJlreLI1dOySOvtniQlItPmEzxRI7V8HTjaehXmxE5c1IY7p0/1XOPGB0yfBe95CA== X-Received: by 10.28.48.145 with SMTP id w139mr13698067wmw.113.1482143600230; Mon, 19 Dec 2016 02:33:20 -0800 (PST) Received: from tfsielt31850 ([77.107.218.170]) by smtp.gmail.com with ESMTPSA id di9sm19969840wjc.37.2016.12.19.02.33.19 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 19 Dec 2016 02:33:19 -0800 (PST) Message-ID: <1482143598.27847.17.camel@andred.net> From: =?ISO-8859-1?Q?Andr=E9?= Draszik To: openembedded-core@lists.openembedded.org Date: Mon, 19 Dec 2016 10:33:18 +0000 In-Reply-To: <20161219063957.18716-7-raj.khem@gmail.com> References: <20161219063957.18716-1-raj.khem@gmail.com> <20161219063957.18716-7-raj.khem@gmail.com> X-Mailer: Evolution 3.22.2-1 Mime-Version: 1.0 Subject: Re: [V2 07/10] x264: Fix build on mips architectures 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: , X-List-Received-Date: Mon, 19 Dec 2016 10:33:20 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit On Sun, 2016-12-18 at 22:39 -0800, Khem Raj wrote: > Disable asm to fix > > > You specified a pre-MSA CPU in your CFLAGS. > > If you really want to run on such a CPU, configure with --disable-asm. > > Signed-off-by: Khem Raj > --- >  meta/recipes-multimedia/x264/x264_git.bb | 2 ++ >  1 file changed, 2 insertions(+) > > diff --git a/meta/recipes-multimedia/x264/x264_git.bb b/meta/recipes- > multimedia/x264/x264_git.bb > index e790681ad3..240a19661f 100644 > --- a/meta/recipes-multimedia/x264/x264_git.bb > +++ b/meta/recipes-multimedia/x264/x264_git.bb > @@ -23,6 +23,8 @@ inherit lib_package pkgconfig perlnative >  X264_DISABLE_ASM = "" >  X264_DISABLE_ASM_armv4 = "--disable-asm" >  X264_DISABLE_ASM_armv5 = "--disable-asm" > +X264_DISABLE_ASM_mips = "--disable-asm" > +X264_DISABLE_ASM_mipsel = "--disable-asm" I think you can use _mipsarch these days, which covers all MIPS. Equally, mips32r5 and later have MSA, so I think the override should be: X264_DISABLE_ASM_mipsarch = "--disable-asm" X264_DISABLE_ASM_mipsarchr6 = "" or just X264_DISABLE_ASM_mipsarch = "${@bb.utils.contains("AVAILTUNES", "mips32r6", "", "--disable-asm", d)}" not sure, and completely untested. Cheers, Andre'