From patchwork Fri Dec 6 01:32:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 180907 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp198035ile; Thu, 5 Dec 2019 17:33:33 -0800 (PST) X-Google-Smtp-Source: APXvYqz2KK+RCaenKeglMm5L7BkaAHVcVVJrzo4UUuyUZvrZY7bWkRGvBZXGso1X6zU0SSkUnLLe X-Received: by 2002:a62:2a14:: with SMTP id q20mr12028879pfq.148.1575596013002; Thu, 05 Dec 2019 17:33:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575596012; cv=none; d=google.com; s=arc-20160816; b=dpd/qeptd2s99re+KdFgekS/3HvYZkJryUJjc4laGjC38erbadgM25gx3OrB+rUFtK E9yPQGwjnVhuKev8EgVtiLvDOno6KDePAatLeBOkcBFPeZ2qIGT+xC6m3PlpvUwJBS4u qHqC9EkIA61mxTt2HiERqLPdBdOAWLeGDr4H3ynsk8Cj8Qmmk3F/p2LDl/iATYSDmiYe K++l1PB5ieOUULaZKTKEBxXl52gS12SwLDNIrNP0Q3hoKNoPT4zNqCpn3ZDMiPYtcBC/ M3eYgT5/3+p0N5eqqD9aeExdfBQ0TaAFPr4hCI30df0/FCgCL6gyKPfLJqvSRh6UorE5 Onxg== 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:message-id:date:to:from:dkim-signature:delivered-to; bh=9gvhmk8EoxZi9SRJqajCgTlZ0jaMUrbML4GSl8rqbUY=; b=SZW0cgcPaCJgNs0ID4zo8Vstg0Rkz2txcavp1pHfLcgiyIpwgZ3V5N39MCwKDF974K 1JlK6vDizpRCR27Fn6+Fmi1fpeLz9apmdQ+cuBhcIkVL3JKiZAaVVOw6Ejr2sL26t6hw LTevFzh/echJargFPLp+n9Ru2CkfinDMTulreOvH0kx4Vr2ZFuG+EKwLzPcs6CXDf+QE lbhZciz8YfyNs/OUNCWfdQNHTnnCccn9fbEhy53oHb11piWoIocFTjOR2FAF5SXmv0UD njfGSwC5xYshktCqm/V9oU2GJ+YRPlFarTJawlvdUA494tM3FrDrjO9WkGu92DUfv5qE sSEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=HThgxWUw; 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 44si9501040pla.140.2019.12.05.17.33.32; Thu, 05 Dec 2019 17:33:32 -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=HThgxWUw; 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 ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 0B5977FA88; Fri, 6 Dec 2019 01:33:30 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pj1-f65.google.com (mail-pj1-f65.google.com [209.85.216.65]) by mail.openembedded.org (Postfix) with ESMTP id F3F687FA47 for ; Fri, 6 Dec 2019 01:32:47 +0000 (UTC) Received: by mail-pj1-f65.google.com with SMTP id l4so2026985pjt.5 for ; Thu, 05 Dec 2019 17:32:49 -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:mime-version :content-transfer-encoding; bh=1K/jDz3tRz4WjyXDMyBG123VzCK7yw8lIwGJ78kfY6s=; b=HThgxWUw9k2waJlif97tV7aB7E+cxAERrQ5OWpoqJskHgxCcgej8qgFWmIEtI10EUy pNUGvp5ofrWzsoZkGCgG9kqD0mHvIZO1DNUvjGQ7R8jLUXFLqe4ojYjShGnqzRX/V/9T RjashkKhSJkRfd+OjOwROd91LE93AWcYhJ1x5SC7uZwrQDgbdinuUuQlFBQe7tfdKu5W 5yjgSpj2R4Uu7H2xI4vQuchqrb14gU78SFDiQ/z/JCLFRumdzxrODeJScdJW80KZ9IZ0 0XrLJmo7gdeSVeY9bx6755LG1OMh6o9vjbtUpJ4ujcEr6BnYVNnzpbd1jqdG0FUYRrDJ NjTQ== 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:mime-version :content-transfer-encoding; bh=1K/jDz3tRz4WjyXDMyBG123VzCK7yw8lIwGJ78kfY6s=; b=QyUmc4kn0jvyV2H8Qa8JR4wo0kqWAXn+SQsY2wpqHQC5G1aPecwzqi/brAWkQ0wDLr bD2/dvJoNPcnUG9RRh4hLi8FCBoeGvaQw43lkprl+CkJ3eImm29wXzEITwmGvU7tNh6J Xm+/c/7uXPTbJ8d2WjBHsW/29Wi3a4ctwgyHOJMmuGkgOWQuCZH8JAQCPr6lbE9Ru3bd jz2OWZr6B0Pgc5LHAlhJaBJNOR9uBgn6cCGyUyCU3OwrnsCj+D+4MfYEZtWTXiNKOyt9 MWBXRXz08oIl6pRoy37u9HbbTVUT8LtjY8AVQrOaDC9GiqIGgY7TAysXPz2CuxVs4rkz 0gJA== X-Gm-Message-State: APjAAAWb6ewT/Jy+R+NlNpaYh9NTEIRKZpqeWkAF5zsIlQiRwPprU9YI S8tqCzUZTZp5p9xtQ/eri/cXnOKkwtM= X-Received: by 2002:a17:902:a5c8:: with SMTP id t8mr11069807plq.86.1575595967740; Thu, 05 Dec 2019 17:32:47 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:8500:1c20::2797]) by smtp.gmail.com with ESMTPSA id o8sm936360pjo.7.2019.12.05.17.32.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Dec 2019 17:32:47 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Thu, 5 Dec 2019 17:32:36 -0800 Message-Id: <20191206013237.3105393-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.0 MIME-Version: 1.0 Subject: [OE-core] [PATCH 1/2] libffi: Fix build on ppc64 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 Similar fix was applied already upstream but not extended to all the cases Signed-off-by: Khem Raj --- ...ess-platforms-with-no-__int128-part2.patch | 34 +++++++++++++++++++ meta/recipes-support/libffi/libffi_3.3.bb | 1 + 2 files changed, 35 insertions(+) create mode 100644 meta/recipes-support/libffi/libffi/0001-Address-platforms-with-no-__int128-part2.patch -- 2.24.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-support/libffi/libffi/0001-Address-platforms-with-no-__int128-part2.patch b/meta/recipes-support/libffi/libffi/0001-Address-platforms-with-no-__int128-part2.patch new file mode 100644 index 0000000000..6b5b7d4747 --- /dev/null +++ b/meta/recipes-support/libffi/libffi/0001-Address-platforms-with-no-__int128-part2.patch @@ -0,0 +1,34 @@ +Address platforms with no __int128. + +Fixes remaining pieces from +https://github.com/libffi/libffi/commit/6663047f56c2932a6b10a790f4ac6666dd181326 + +Upstream-Status: Pending +Signed-off-by: Khem Raj + +--- a/src/powerpc/ffi_linux64.c.org 2019-12-05 14:48:33.140579431 -0800 ++++ a/src/powerpc/ffi_linux64.c 2019-12-05 14:53:58.827244495 -0800 +@@ -680,9 +680,9 @@ ffi_prep_args64 (extended_cif *ecif, uns + { + if (vecarg_count < NUM_VEC_ARG_REGISTERS64 + && i < nfixedargs) +- *vec_base.f128++ = *arg.f128++; ++ memcpy (vec_base.f128++, arg.f128, sizeof (float128)); + else +- *next_arg.f128 = *arg.f128++; ++ memcpy (next_arg.f128, arg.f128++, sizeof (float128)); + if (++next_arg.f128 == gpr_end.f128) + next_arg.f128 = rest.f128; + vecarg_count++; +@@ -986,9 +986,9 @@ ffi_closure_helper_LINUX64 (ffi_cif *cif + do + { + if (pvec < end_pvec && i < nfixedargs) +- *to.f128 = *pvec++; ++ memcpy (to.f128, pvec++, sizeof (float128)); + else +- *to.f128 = *from.f128; ++ memcpy (to.f128, from.f128, sizeof (float128)); + to.f128++; + from.f128++; + } diff --git a/meta/recipes-support/libffi/libffi_3.3.bb b/meta/recipes-support/libffi/libffi_3.3.bb index f57d03d2f5..803a25fa35 100644 --- a/meta/recipes-support/libffi/libffi_3.3.bb +++ b/meta/recipes-support/libffi/libffi_3.3.bb @@ -15,6 +15,7 @@ SRC_URI = "https://github.com/libffi/libffi/releases/download/v${PV}/${BPN}-${PV file://0001-Fixed-missed-ifndef-for-__mips_soft_float.patch \ file://0001-powerpc-fix-build-failure-on-power7-and-older-532.patch \ file://0001-Address-platforms-with-no-__int128.patch \ + file://0001-Address-platforms-with-no-__int128-part2.patch \ " SRC_URI[md5sum] = "6313289e32f1d38a9df4770b014a2ca7" SRC_URI[sha256sum] = "72fba7922703ddfa7a028d513ac15a85c8d54c8d67f55fa5a4802885dc652056" From patchwork Fri Dec 6 01:32:37 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 180906 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp197617ile; Thu, 5 Dec 2019 17:32:57 -0800 (PST) X-Google-Smtp-Source: APXvYqz9SFEStKIHSZlib0fOlsFXskLrw29XtE953Bjx/xTVGE7L53GsSEatCmlZHuZBi3n4PCZX X-Received: by 2002:a63:114a:: with SMTP id 10mr733615pgr.250.1575595977145; Thu, 05 Dec 2019 17:32:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575595977; cv=none; d=google.com; s=arc-20160816; b=gTkd6aLRMQOpaM50K3HlmMtIICMrHwHkIurB9fC7lLZQ9p+7r7aBHRcRUDHl5wb9QO ZTbB7XorVqv+Smow5DeYJ1j+InmjJiwAI+5NL86Af/pc7W2QIj+Gd4i5zQ7yhPXRb+KT lseSu2inEc8jRaWPyc3knR7KUZ+O1FEr4s15JLdgZwmNRUD3IRQcWRqiSfkVAxDh+1JO 00ip8lXR4MWaY2Hx3BvQNNdd2UlCoYmYrYKQ4u8eD7jdxejNBlIbChqCbczkE+Bpf1if JqIZqKgSSe7SFbk5QgIPJs3jqI4xKB6dTyeoj9ojM6pOkd9jYQqfhCK8gX7tXLxziBXQ 3BGA== 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=ZcRLg/MazrhKM5c7CFgFJwTthWV+Zqk9ELaPbsySfyI=; b=Z5KcFin+F+/9rGJLE4RYAEn8yl2MpDBncee/NyKfK7VmXzoBo87gs1AUHb+AhenvBx 5rHLW37ay7Fdh3UWgTK+lEv4+RInwxvSbweFx8/ohnqQC2NNACXmEZ8+UTU187uL6fAo qUZuqABjhE3+CEBIjmh7goxKvQ5J9RKRQPkN8hFaMG7InfW07f6U5d4ciaVd8bRjIiZI jZBZS5JY8G5/3jPK3LFuTLOcykNbh5x+QJhG4AxPTE/ip/qrB88vTag513FYfF3X9X0J CDKW2pUVJfURds2qpIV9zSBPR4anzeqBM9kO2RsNbZnQAnrlVTtyrQQqHdiVht5g/pA5 dHzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=leETkbzW; 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 a67si1349200pje.53.2019.12.05.17.32.55; Thu, 05 Dec 2019 17:32:56 -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=leETkbzW; 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 ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 7648E7FA11; Fri, 6 Dec 2019 01:32:49 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pj1-f49.google.com (mail-pj1-f49.google.com [209.85.216.49]) by mail.openembedded.org (Postfix) with ESMTP id 05A0C7FA49 for ; Fri, 6 Dec 2019 01:32:47 +0000 (UTC) Received: by mail-pj1-f49.google.com with SMTP id ca19so2020506pjb.8 for ; Thu, 05 Dec 2019 17:32:49 -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=12ROJhNaBQpbzrW+IRC8JZZgJ9a+G6xVyfRO9fqloPg=; b=leETkbzWJJmqSRk7H2fCob7BvdfJxiZC06DiPPc6J112L4/NyxyZprR1Uuam4oei4q Pqyy/DsezCl0EuUP9S9e46/e7f1+UMcFQOyOLUD+cf0HlULB2bbVpS39v+1+McEFsq1O zaCyE+xFJnEfhvEARHb1w6LaAUznMU0b8VBUaEthPeCj4VQ78lCcuerUpppfrcHVEAnC prEtgBV4wNhrKDc8ohLEWJU2iiW2QPGtsaXHPnmXDundqTNvo0wwDi1BMVKXtpnUv2Yd LqOGJBn6QidRvcBgfjLsU8MUpc3wYM7d5QpCScqRClleSZ4pdATM2TN1BM8bRGflhy/x FqKw== 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=12ROJhNaBQpbzrW+IRC8JZZgJ9a+G6xVyfRO9fqloPg=; b=dbWehB3N9MakwrI+Qudq5tXGRsNjLHAb1DouHHvKljSFHJr9itSyraC0jF+rBODe3F mM/z3G8kB5l4vu06qsTbTxeeaBfNEp/TSDCoeTN42yXi0qoWLRwc9GOulbUEO+7u3PTI r2dJ4akCbzvvOiMfDRYw500qyhgZckoQy4XQ5D7q72Wl1AK+8h0Zzj4WJPu8xakjomaM mK/bq9teN9zYS6K+w5NzEr7QREQEhZ7RxJhwTYfMg00yQU8SpCe78qmHOPclyknMD8uO MO1Emm0x372psAC0vtcA05ate8s6lGTg4dp6GkS8ud2MV9Cg3/xUA2SQotas/Srk3+J9 L/Tw== X-Gm-Message-State: APjAAAUodr0dIUSJnlvwmS9DGeu2qr7E5Dza5Y8Enbmp5QB30iT69rlh 1dmMZIWAhnV+7cgVtZm4yfaVEYQQ5po= X-Received: by 2002:a17:902:409:: with SMTP id 9mr12042767ple.306.1575595968457; Thu, 05 Dec 2019 17:32:48 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:8500:1c20::2797]) by smtp.gmail.com with ESMTPSA id o8sm936360pjo.7.2019.12.05.17.32.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Dec 2019 17:32:48 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Thu, 5 Dec 2019 17:32:37 -0800 Message-Id: <20191206013237.3105393-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191206013237.3105393-1-raj.khem@gmail.com> References: <20191206013237.3105393-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [OE-core] [PATCH 2/2] flac: Enable VSX when vsx is in tune features 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 This ensures that, support is not enabled for machines which do not support VSX Signed-off-by: Khem Raj --- meta/recipes-multimedia/flac/flac_1.3.3.bb | 1 + 1 file changed, 1 insertion(+) -- 2.24.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-multimedia/flac/flac_1.3.3.bb b/meta/recipes-multimedia/flac/flac_1.3.3.bb index fea2be1f6b..cb6692aedf 100644 --- a/meta/recipes-multimedia/flac/flac_1.3.3.bb +++ b/meta/recipes-multimedia/flac/flac_1.3.3.bb @@ -33,6 +33,7 @@ EXTRA_OECONF = "--disable-oggtest \ " EXTRA_OECONF += "${@bb.utils.contains("TUNE_FEATURES", "altivec", " --enable-altivec", " --disable-altivec", d)}" +EXTRA_OECONF += "${@bb.utils.contains("TUNE_FEATURES", "vsx", " --enable-vsx", " --disable-vsx", d)}" EXTRA_OECONF += "${@bb.utils.contains("TUNE_FEATURES", "core2", " --enable-sse", "", d)}" EXTRA_OECONF += "${@bb.utils.contains("TUNE_FEATURES", "corei7", " --enable-sse", "", d)}"