From patchwork Fri Jun 15 15:08:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 138722 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp960083lji; Fri, 15 Jun 2018 08:08:21 -0700 (PDT) X-Google-Smtp-Source: ADUXVKL7xzeh2RhOgaMk6PSynQMxmR6znb8tZAoTDkCXX1MbfAk4CQF0/doGt/SNbgwqRcpFdBUH X-Received: by 2002:a17:902:7202:: with SMTP id ba2-v6mr2428863plb.119.1529075301038; Fri, 15 Jun 2018 08:08:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529075301; cv=none; d=google.com; s=arc-20160816; b=c6jzQfYaIgcAtWM2APKE9IuZVN0AO8Xg8Zsprga5Y38x3q30eUEFfCGV0XuUtAzile hBUbXM3t1VpCSoL0113eh+JCXGAZEwFT6r6pVU4uyATGuETE3jYIQnekoCPQb/RDD8wR p+QfX2L1WmqzNUsZoDJjU2gSLkqj0mJiU/ZUBrDhhyI3ObQ0w262ozW4iz7mDYyt0RNW UBjotVh7EsWmB3WrKXuvJasLn/HHfC49VVOSPzdUrqfFtk6+LTMeMghK5Wbtc5cXakxw S6Z8usubJJMsNKVIMp9AeVczFgRmKsivdmlR2aDjoEy8lCBVueYAFjN6T2MwWbQ6qzl9 vUgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=YX8ZdQitjns3sDMakCfII2iqivuiL69hiIuCTDtOMIU=; b=tBqOLF/JIrPY+E0ukRNIVdIWJ0waMcuVMCu1GGBkQZdNIvU4vmQhhf9tPu/LFKuILo FVTMiASsz6ZnvjEdwfX9zhiwqW09YSK9o8+NfwYTZIpElUI8erzO803Un/TJXn9LlnUt FH/bvaSrfrTdbD5BM29i8P6H9qPn7i8GYX7DKxXMIqvOCv8a7Qhz/cuEiUqLYtMHWrzM wPYUU71/eGm1PlgaJggAmk52wZzW8KBKjpFD+Wuj/+9CbQEvR5tRP1b1eFEI9Mq6XDix dp3tQTg8zMugfAkc1I+55XvqEfb8W5UtCa98ZkNQgKCvFYoeHn5PsLZXTnWz39RAP6v+ aCew== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=YsF8mXDr; 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 c18-v6si8395522pls.407.2018.06.15.08.08.20; Fri, 15 Jun 2018 08:08:21 -0700 (PDT) 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=YsF8mXDr; 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 layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 1FB5177150; Fri, 15 Jun 2018 15:08:18 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pl0-f52.google.com (mail-pl0-f52.google.com [209.85.160.52]) by mail.openembedded.org (Postfix) with ESMTP id 26AFF77103 for ; Fri, 15 Jun 2018 15:08:14 +0000 (UTC) Received: by mail-pl0-f52.google.com with SMTP id c23-v6so5497947plz.12 for ; Fri, 15 Jun 2018 08:08:15 -0700 (PDT) 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; bh=aOpS2Yeq+ovs9De2HlTLQZtAjzVZK2Op3RzObyBiCko=; b=YsF8mXDrPNKnr9JdTcsdjjKIVbf6WhWu7cCg6mujyRZWyEI2pMCSJN0AvhnvCrTJkO ll6W372Xcve6tVpZbcCAGW0cZFCZUCSxdm6Jtf7V3KFkuTdyEC75r2hWJ/1kbGs+PpzO gF2j/UhwZFncsT2yoRjp6NG7EXSjisY/ASsqM/okUzyRihfYAXWNfQ3xg30BdTK6JqHB R5q+HYCQLh4lH2je8qgwwhALbRmcjwSjjruD2r7X2+ifxW19JF8NvyRf76N3rY2V//Xy c3SM/56RCo7LkVqSE7fFfD1RCaVx/qxtulzRSt7nhSHb+pZI+latfwtzglBTIgqX6QDa 4tRg== 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; bh=aOpS2Yeq+ovs9De2HlTLQZtAjzVZK2Op3RzObyBiCko=; b=aIHbrP6MLmUbQJylwwjhEQybASuU23Rmc6JchmX1XdPH0Xk4JGSpijvLl2cO+CpVmV IoKNBOpXfp3AW/9q+dY7WRmD4A1gcV6SFfxdg+zwfTKnufZJGMQnGBIekECuIRiCqdld gEPFWXzx6ma6KC5e+qg414mbIYkKL2etcUdKGkWlsSLow1eIFb140KVTHPICxVZA1cpc J4/GIbEiQglq9+AFwyJedD8rTFQsRbKD6gk190TGaTDujdREjjeqB433gdpcvwKVaaPt kc+A2zmX5zfjKm+0A2htLEgC0QJcVkWXBYugq4+p6Q58KeVm4xO0WwaH7qadCQF5UOe9 chTg== X-Gm-Message-State: APt69E3GFblH0zEb8vuwgxLVPhGYnLXlilWQ4i4uKLBJtg7m+WtCoULP EJbvEPzVS2P/el8I2K30Z/IcaA== X-Received: by 2002:a17:902:9a4c:: with SMTP id x12-v6mr2468132plv.213.1529075294831; Fri, 15 Jun 2018 08:08:14 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::91a0]) by smtp.gmail.com with ESMTPSA id p1-v6sm13069521pfp.137.2018.06.15.08.08.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 15 Jun 2018 08:08:14 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Fri, 15 Jun 2018 08:08:14 -0700 Message-Id: X-Mailer: git-send-email 2.17.1 In-Reply-To: References: Subject: [OE-core] [PATCH 1/3] mesa: Enable gallium-llvm on x86 and x86_64 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: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- meta/recipes-graphics/cairo/cairo.inc | 3 ++- meta/recipes-graphics/mesa/mesa.inc | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) -- 2.17.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-graphics/cairo/cairo.inc b/meta/recipes-graphics/cairo/cairo.inc index 20e0d2c92a..7347f223ff 100644 --- a/meta/recipes-graphics/cairo/cairo.inc +++ b/meta/recipes-graphics/cairo/cairo.inc @@ -22,7 +22,8 @@ X11DEPENDS = "virtual/libx11 libsm libxrender libxext" DEPENDS = "libpng fontconfig pixman glib-2.0 zlib" PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 xcb', '', d)} \ - ${@bb.utils.filter('DISTRO_FEATURES', 'directfb', d)}" + ${@bb.utils.filter('DISTRO_FEATURES', 'directfb', d)} \ + ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'opengl', '', d)}" PACKAGECONFIG[x11] = "--with-x=yes -enable-xlib,--with-x=no --disable-xlib,${X11DEPENDS}" PACKAGECONFIG[xcb] = "--enable-xcb,--disable-xcb,libxcb" diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index fa99f7d50c..d1723e3506 100644 --- a/meta/recipes-graphics/mesa/mesa.inc +++ b/meta/recipes-graphics/mesa/mesa.inc @@ -45,6 +45,9 @@ PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland vulkan', d)} \ ${@bb.utils.contains('DISTRO_FEATURES', 'x11 vulkan', 'dri3', '', d)} \ " +PACKAGECONFIG_append_x86 = " gallium-llvm gallium r600" +PACKAGECONFIG_append_x86-64 = " gallium-llvm gallium r600" + # "gbm" requires "dri", "opengl" PACKAGECONFIG[gbm] = "--enable-gbm,--disable-gbm" From patchwork Fri Jun 15 15:08:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 138724 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp960187lji; Fri, 15 Jun 2018 08:08:26 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIYfxfyvROeGMbFl5bvTtt7phwKG8te/KLzB91QUixq9bAJz9NB3b6aZ0XeTZn8RKw7KVX/ X-Received: by 2002:a63:b407:: with SMTP id s7-v6mr2009016pgf.334.1529075306327; Fri, 15 Jun 2018 08:08:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529075306; cv=none; d=google.com; s=arc-20160816; b=oX+hJCm2I6HBLaQ3aeuV2zhhjTxfMGwnG38futoRjKd8bWUWPC2WGI1SjQ3UdyjXxp PkpZta1l0abqhnvtUvkLz71mcsCVz2gwGVBeGApDxzF6PNIMQpiQjoqQw7teNq9l+lyr VHNJoPv8hQk5n1Q2Cd/aSX2MIRYIPDRrreyLqs2O0nOa8nfyEi85zUroxzru/8tge93n kXaw16EXVOdG3CqDzFmFIM3DFHTwAHwDJtXmNlkt67GsfpVo9dEdYsWXcda6avPvUrtL 8GxT2ulJ0GyzrisaUzX/WaSLvyKIKvakHryBzYjOxG+I0ybhaGmj9S/h5iPsljVBBxEK y9zg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=vqDD7sz9IP87U2oytjjnziB+WB0f1eq2a7D+ZgxCw9A=; b=Fby9OKealdfsQfydxpDvdNE02/OJoyELmuELLeKjhqstozvOv0azT0tjchYlIKJkWL ULyYFK/M9XGUQk+a8Z/CKSF0ZyZ8ZPQGBAvMbJ5WGEI/B0m4IqrMq5NJSQ59OLWpNPVr Ttzx8KuiLbLr2s+cr0pxZA918N4jIlJTdWcZal3AbXEpu1GEppO9xOpv5bv8EXpHNmTr JNBUBa8/EQ5ta5SK8D2ovfInv00F8r3Lg2B3/ThY0UzftujHJSgg95BF7Heg9JkuNuyp ZaFHXQYwa05SOsSmx6bByFPVRuyWK6AaG/0en0Si9i+WjFRFprWxY5xJKgRjntRFnp6I FZ6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=gtJlITKd; 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 t87-v6si8179016pfk.228.2018.06.15.08.08.26; Fri, 15 Jun 2018 08:08:26 -0700 (PDT) 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=gtJlITKd; 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 layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 30D3F77112; Fri, 15 Jun 2018 15:08:19 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pl0-f43.google.com (mail-pl0-f43.google.com [209.85.160.43]) by mail.openembedded.org (Postfix) with ESMTP id 4D60577112 for ; Fri, 15 Jun 2018 15:08:15 +0000 (UTC) Received: by mail-pl0-f43.google.com with SMTP id f1-v6so5501781plt.6 for ; Fri, 15 Jun 2018 08:08:16 -0700 (PDT) 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; bh=EZlnfIiyUULGtlKUQtLxxCaeEzTaJ+4iHBsvKKKUpWw=; b=gtJlITKd/8MIch4dbR8oYfMgV75ViQEBTWl7zSUYNy1DOH6DRhBQHKPpsBcaBEG9rJ EkU8HTmKNe0fjnAysBoz+HkBSvIJg91hOrlWzZsGmUTI/IWpvyx2d3N0HR4OyJXh7sDV fDwbTjnSaGG8ihU23XAWloKN6r/3YVR1ICXa5/SrvtMupkS1dwwhjhAPGrq7wKyQgWt6 +18TrLXrbdSYu2Iu51g5FP4VjsnBPE1HerOLjrJ8Xi3OdXSErH1RH7aWeNg1ral77YYO WUwGY+1x1gdCx0ic8Q3gxfSfJAjaYyE1k/X4+TmaTPkz3KSYprmzGXyh660zl9LpqIEV u/TA== 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; bh=EZlnfIiyUULGtlKUQtLxxCaeEzTaJ+4iHBsvKKKUpWw=; b=nrpcicyXEEMo+I8WADj7+2/YM0xvhjDi8Z0BtDj7IZH+/8gGOGTZovI7U8VJMibo3P PR64jHBNk55m2TQCuit/EVPC6Sadc81yXeYg1mDej+6FDjNX4RLAaATbYi5+erEl03RN NzPARVF6VM96yoGJvVkA5yvf9XEtQlIK355okZtQRsQYLMsHzsLzqsVZXtVPBa0rULmI 7dptMe/UzV24NJNt15ZQvdmMl06GxSm9H7D5nPkqPX1TYWws1xS6W+vtYm4NZws/hkIA xQiBsb6GzpxZp7UfaBzQG2nUxejA4wMkFYBQjoFm4kOlpNOgAkiQ96iGN6KNdj0GtMcq 40Cg== X-Gm-Message-State: APt69E1OI72r3GtAFJoMzEi5JfPIJFwncKLPs69iprK+2YlOw0J12Ba3 3HGItQ/TRFTVS2L9o9oY2jBuiA== X-Received: by 2002:a17:902:4424:: with SMTP id k33-v6mr2490683pld.242.1529075296071; Fri, 15 Jun 2018 08:08:16 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::91a0]) by smtp.gmail.com with ESMTPSA id p1-v6sm13069521pfp.137.2018.06.15.08.08.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 15 Jun 2018 08:08:15 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Fri, 15 Jun 2018 08:08:15 -0700 Message-Id: <4c34013aff0916d9eef169deee2d26211eb720e8.1529075133.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: Subject: [OE-core] [PATCH 2/3] gcc8: drop stray uClibc specific patch 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: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org From: Andre McCurdy The patch was previously removed for gcc7 but came back with gcc8. http://git.openembedded.org/openembedded-core/commit/?id=f71bc69e5b7581c53071055b694bb0dbfe4b4a87 Signed-off-by: Andre McCurdy Signed-off-by: Khem Raj --- meta/recipes-devtools/gcc/gcc-8.1.inc | 1 - .../gcc/gcc-8.1/0002-c99-snprintf.patch | 28 ------------------- 2 files changed, 29 deletions(-) delete mode 100644 meta/recipes-devtools/gcc/gcc-8.1/0002-c99-snprintf.patch -- 2.17.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/gcc/gcc-8.1.inc b/meta/recipes-devtools/gcc/gcc-8.1.inc index cb0fbd9379..d83ba6555e 100644 --- a/meta/recipes-devtools/gcc/gcc-8.1.inc +++ b/meta/recipes-devtools/gcc/gcc-8.1.inc @@ -32,7 +32,6 @@ BASEURI ?= "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.xz" SRC_URI = "\ ${BASEURI} \ file://0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch \ - file://0002-c99-snprintf.patch \ file://0003-gcc-poison-system-directories.patch \ file://0004-gcc-poison-dir-extend.patch \ file://0005-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch \ diff --git a/meta/recipes-devtools/gcc/gcc-8.1/0002-c99-snprintf.patch b/meta/recipes-devtools/gcc/gcc-8.1/0002-c99-snprintf.patch deleted file mode 100644 index aa123b41a1..0000000000 --- a/meta/recipes-devtools/gcc/gcc-8.1/0002-c99-snprintf.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 5fbfcf247ed6dd01263639daf0c9c3a291e2fd3a Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Fri, 29 Mar 2013 08:49:03 +0400 -Subject: [PATCH 02/39] c99-snprintf - -Signed-off-by: Khem Raj - -Upstream-Status: Pending ---- - libstdc++-v3/include/c_std/cstdio | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/libstdc++-v3/include/c_std/cstdio b/libstdc++-v3/include/c_std/cstdio -index 1b9571eaa8d..ad816be4fd1 100644 ---- a/libstdc++-v3/include/c_std/cstdio -+++ b/libstdc++-v3/include/c_std/cstdio -@@ -144,7 +144,7 @@ namespace std - using ::vsprintf; - } // namespace std - --#if _GLIBCXX_USE_C99_STDIO -+#if _GLIBCXX_USE_C99_STDIO || defined(__UCLIBC__) - - #undef snprintf - #undef vfscanf --- -2.17.0 - From patchwork Fri Jun 15 15:08:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 138725 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp960302lji; Fri, 15 Jun 2018 08:08:32 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLgn5byox7kXtsM7yp3GzjGjy46mqz9YlpSrDEoUoe6o3xHmVRJI6mDJYttpJ/J0ey6A/Gk X-Received: by 2002:a63:89c2:: with SMTP id v185-v6mr1945724pgd.196.1529075312219; Fri, 15 Jun 2018 08:08:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529075312; cv=none; d=google.com; s=arc-20160816; b=qxn0j+r3uAu//oajkK4R87abMuI7eVgXtCrHsvruUPwJf9pS1aSF2+DN0hQRzDisxd I1naFFBgTmu1fk6PZhQ59Tyc2ICvzM2OVI3964gtuR6yFvYr2INHYMpaUXrIBk1qCGwZ 5xbMpo08lxFIi1YkdPIsgx+eUrtFuemvzt16I5A/pSgAAuop73EAv6Y7fcLAr91VtAtA KGa/jm2TQRmrQDSDf6QHP/OMrRgfZnKPikJz1DmcM5wOydYXbvj3Qn9s8LMCa0FnkLrR Nr08IzamC783Rr/2CiSfHxQSQFr2wUug0zHq9DzX/laYGj+ywaZq3QmwqDMoLTFg0VcH icrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=ZPeAYNQZ8EnsNPVnCvQeBZbC5ytXN9dwtzJbnspa0Bk=; b=IK8yTFUn/TTk6MPklb8aqKHIBoiW4JFeUg+RDLtC+qVP1McEIqYePglx+sa3OM/j4P ND0INQi0DQjKiiJBqrb1dOKgZq6nqgxZMCyWZTXyPYLZLx4u2Vs2Iis9y78SsDvTF0Hk Q4K6WrLE0TbirkUg+njxmJCAd2D1EvdHJU/f917P1Auf/7TTMlNEngmyEXNrXJGJPGMA AgaE57KP5T7eBJWaAwgITyIDC4k8HD/KsaEKhQ4Jn//Nzg8xQ7wMG1htH2eRbOCbKrOB gtgK1DSDQQXRlTmFiVhN4glGpcXJLzK5cWCJdaSzZN/IGSH+gD1ZvqKDU/BMvH/obm/j rtXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b="sLMiO4/s"; 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 90-v6si8266917plb.444.2018.06.15.08.08.31; Fri, 15 Jun 2018 08:08:32 -0700 (PDT) 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="sLMiO4/s"; 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 layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 946E477181; Fri, 15 Jun 2018 15:08:20 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg0-f65.google.com (mail-pg0-f65.google.com [74.125.83.65]) by mail.openembedded.org (Postfix) with ESMTP id A422D77112 for ; Fri, 15 Jun 2018 15:08:16 +0000 (UTC) Received: by mail-pg0-f65.google.com with SMTP id z1-v6so4547402pgv.12 for ; Fri, 15 Jun 2018 08:08:18 -0700 (PDT) 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; bh=eRgsHA6Ml+jzPaL2iGgMLBSe/IztHz2lgvLDSq0pciw=; b=sLMiO4/s7JCst0PbDTQaPJgFhLQE2rrk2X2sbYyQeTGhW1TfozZh4QTjTfSWD3AX/y nDkko7yEgEm5OU1JxcchaAQ4fIFWxoldANJUWTc96FZhox4n9g31N4yZPkhRGkvV7b6J B8T0E2nyOJ5idFKdXzRRgaKjFMhPapfhmVqPdAvEUtJj5jtBzLy01N6kSlG2hQLLI0g/ tKUEKaMWO/Xjni9TMz8XDR/PCmuQVozXM2NsitYJZARw/PCTKZRw/1dJBgvA7gtyW419 C6Sdcm8duUqxrCwg+/BINfqYE04HDZqlPCWb3JsKBvBE63wQGSsR44r7boYrRKyK/tC4 KAXw== 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; bh=eRgsHA6Ml+jzPaL2iGgMLBSe/IztHz2lgvLDSq0pciw=; b=DM0E5hP6ucsPeEhdwm6kgboV1lKxww3Xm7vf2Qntmi5W4EyrkZL6oSS1EVdOOi83MV mQvCKT+1AoHEky8PrkXncNkSfE96e3wvNnqxQiAIaJx6X3Zlp6jtnriVv5QKA5wVVk8T IhBtO2JHPPksAmF5rz3WU1P3c6gnXrCe9Xh7oFzVYQtuMsZuswsvRuQHxgtPfhn2gHcU HC+4RtB+cWuLBi66OgGIv80dAOpL27U0omTLfd2E0qlnHcE40Wo3qbEnik/KST9g06tt 8kwogV5KUHeYpDYdZeRsFWHhF4hDWnuwoaX2oBgXqIGRhsv089jh8DC+xzu9X+upXaAJ uPXg== X-Gm-Message-State: APt69E1LkvP+yRii9xRmYnzQtvdiQPdk40N5pdnMZVTtQsUkGTEvDyBq UD0QeLSCoK4QHAhs/CQhlWAH+Q== X-Received: by 2002:a63:7419:: with SMTP id p25-v6mr2020514pgc.24.1529075297373; Fri, 15 Jun 2018 08:08:17 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::91a0]) by smtp.gmail.com with ESMTPSA id p1-v6sm13069521pfp.137.2018.06.15.08.08.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 15 Jun 2018 08:08:16 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Fri, 15 Jun 2018 08:08:16 -0700 Message-Id: <4bc140a23ff6b37c22317e822443ab105e8e5d36.1529075133.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: Subject: [OE-core] [PATCH 3/3] gcc-8: Fix spurious mcpu/march conflict for xscale 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: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- meta/recipes-devtools/gcc/gcc-8.1.inc | 1 + ...003-build-failures-with-with-cpu-xsc.patch | 61 +++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 meta/recipes-devtools/gcc/gcc-8.1/0041-arm-PR-target-86003-build-failures-with-with-cpu-xsc.patch -- 2.17.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/gcc/gcc-8.1.inc b/meta/recipes-devtools/gcc/gcc-8.1.inc index d83ba6555e..c5f25f89ac 100644 --- a/meta/recipes-devtools/gcc/gcc-8.1.inc +++ b/meta/recipes-devtools/gcc/gcc-8.1.inc @@ -73,6 +73,7 @@ SRC_URI = "\ ${BACKPORTS} \ " BACKPORTS = "\ + file://0041-arm-PR-target-86003-build-failures-with-with-cpu-xsc.patch \ " SRC_URI[md5sum] = "65f7c65818dc540b3437605026d329fc" SRC_URI[sha256sum] = "1d1866f992626e61349a1ccd0b8d5253816222cdc13390dcfaa74b093aa2b153" diff --git a/meta/recipes-devtools/gcc/gcc-8.1/0041-arm-PR-target-86003-build-failures-with-with-cpu-xsc.patch b/meta/recipes-devtools/gcc/gcc-8.1/0041-arm-PR-target-86003-build-failures-with-with-cpu-xsc.patch new file mode 100644 index 0000000000..68b8962d47 --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc-8.1/0041-arm-PR-target-86003-build-failures-with-with-cpu-xsc.patch @@ -0,0 +1,61 @@ +From 11dc6b9576b78bb7a8d70491beab7ab4de24c9d0 Mon Sep 17 00:00:00 2001 +From: rearnsha +Date: Mon, 4 Jun 2018 08:46:04 +0000 +Subject: [PATCH] [arm] PR target/86003 build failures with --with-cpu=xscale + +The XScale cpu configuration in GCC has always been somewhat +non-conforming. Although XScale isn't an architecture (it's simply an +implementation of ARMv5te), we do by tradition emit a specific +pre-define for it. We achieve this effect by adding an additional +feature bit to the xscale CPU definition that isn't part of the base +architecture. + +When I restructured the options last year I overlooked this oddity and +the result, of course, is that this configuration now fails to build +as intended. + +What happens is that the driver (correctly) constructs an architecture +for the xscale cpu name (as armv5te) and passes it in addition to the +CPU name. The backend code, on finding both a cpu and an architecture +specifies attempts to correlate the two and finds a difference due to +the additional feature bit and reports an inconsistency (fatally if +-werror is specified). + +I think the best fix to this is to treat the xscale feature bit using +the same mechanism that we use for other 'quirks' in CPU +implementations and simply filter it out before comparing the +capabilities. It has the additional benefit that it's also the +simplest fix. + + PR target/86003 + * config/arm/arm-cpus.in (ALL_QUIRKS): Add xscale feature to the list + of bits to ignore when comparing architectures. + + +git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-8-branch@261141 138bc75d-0d04-0410-961f-82ee72b054a4 +--- +Signed-off-by: Khem Raj +Upstream-Status: Backport + + gcc/ChangeLog | 6 ++++++ + gcc/config/arm/arm-cpus.in | 4 +++- + 2 files changed, 9 insertions(+), 1 deletion(-) + +diff --git a/gcc/config/arm/arm-cpus.in b/gcc/config/arm/arm-cpus.in +index 96972a057e7..545321b0bbe 100644 +--- a/gcc/config/arm/arm-cpus.in ++++ b/gcc/config/arm/arm-cpus.in +@@ -268,7 +268,9 @@ define fgroup DOTPROD NEON dotprod + + # List of all quirk bits to strip out when comparing CPU features with + # architectures. +-define fgroup ALL_QUIRKS quirk_no_volatile_ce quirk_armv6kz quirk_cm3_ldrd ++# xscale isn't really a 'quirk', but it isn't an architecture either and we ++# need to ignore it for matching purposes. ++define fgroup ALL_QUIRKS quirk_no_volatile_ce quirk_armv6kz quirk_cm3_ldrd xscale + + # Architecture entries + # format: +-- +2.17.1 +