From patchwork Sun Mar 11 00:42:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Jansa X-Patchwork-Id: 131315 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp2622470lja; Sat, 10 Mar 2018 16:42:50 -0800 (PST) X-Google-Smtp-Source: AG47ELuDy3YfVtfDqcYT+zipaSkKLJUGI8worCqm5HtWx0FaabOUTCtsRpx/1Lg/NdsmnV6TGjH5 X-Received: by 10.99.124.91 with SMTP id l27mr2726606pgn.298.1520728970182; Sat, 10 Mar 2018 16:42:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520728970; cv=none; d=google.com; s=arc-20160816; b=rA2dSkgR3TTPzIjQTSczlRPcCKlRxjLaOxteEi6iDlddd5AHzt8oyzRltYVvE5tmJx WKF0mlsDMR0YaR61Ec0fufc4N+c4gWP5+9M304m70NBZDEWFzE04wJFeq3E/yT6iuhF6 wI+09b1jLnGZmwoJD7/iKth4NPN8St7FDfuf68M6x0v4KQvS6QTzuWzPCYgAzD8BSDM9 SZa7IsG4GXrbH9Kj3zieeSz3LIWQxzJn8n/WCV2tJWn0Kq75zzKA1BFy6fNw5zOvX/6K a038anPL/cnRt79ZEN1HjTFpzB83NSS6RT8+P4yu37lh2d0G+kiXKelwtAnhrlA5+EnW 1ixw== 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=KWTT1qnyg5C9Kg3AatzsmA6i4IriP0Ls/KKr/F2nhnU=; b=RQom4QmadNtw5Ngea1TKep5EuNsqIqwQQucLinOylzZk+FzRl/MQeychLQL9z3YB9I gpNjKtjYklKKmk4h9SRVf7gm7CGD6nKaUl5u+OWSVV7JO/2CBWh/L7lqPv6TMZnjsFke Y79AadouztEl86+1yVq0NknTTp+pN3zzZtYKSXrd2Wmb2IgZsDuwGOMfGlOA9QtblktW GwDllKAFzQg9VJhblldOnBuxqWAcI+X8SqnAuG/w2Fhv9QdqxbCqg1e5e3IrdTaIws1O CpCN2oLOrHtCaUGVX/ewupB+ZnejFfhmdP72jlOf/iT3MUUghOBsGWO4eNluaXy6a04N lT9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=RKDX/PMx; 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 w12-v6si3596388pld.51.2018.03.10.16.42.49; Sat, 10 Mar 2018 16:42:50 -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=RKDX/PMx; 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 373EC788F2; Sun, 11 Mar 2018 00:42:47 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by mail.openembedded.org (Postfix) with ESMTP id 9526F788AC for ; Sun, 11 Mar 2018 00:42:33 +0000 (UTC) Received: by mail-wm0-f67.google.com with SMTP id t3so10103622wmc.2 for ; Sat, 10 Mar 2018 16:42:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references; bh=Zd+ASWflU58KCV7sUXGlpJQm4nwNnOG9/c1rEA28RDs=; b=RKDX/PMx9jaaEVGQa6Az38en0P/UGKWUhoM8BoAhRiz0/5IrazMq9Vb9douMv8Vl4T 7SyAjk2M1sIfyf1xQOjDlUnXI+S7s7fshXQHrmigFHBNcdeRNIV7x7eib7B/kNySDNk7 UymX+PJaZYeKeYPxn6nvvfKYyB7jpehkAPQQzjf2CIJc5Inl0WhqrFFN+26vOEEhCh5e SA1O9ii7ImB9hdUhVrJ9VYTyQg1mE3nDAV2Nj6lXSka6uByhfJzmI/yJCWsw8XJBD7Hq 1CaFwttB7kFgLZftSZAF+f+zS8ctrqq0NtyJ9y6d5p9rrbhi16aai/FzJYQ+GJfdg9eo Gzfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=Zd+ASWflU58KCV7sUXGlpJQm4nwNnOG9/c1rEA28RDs=; b=jF4NTWgcimWtLm7uZn3HbkiLzLM+krwYdntBdRbRMvxZ1wEmEiTkqu8juWgGMyNtfj w1ajI/4HeKBhu0hQ2G4oyB+VqhKc53/XIvfEdwpP6V4RyJQLzDJzaAiVq4+5gRzaKDEo KaIhb+Zt/Shm854r0ygg9Ixm5l81gYX4ElF9YVW+Kv1pQl21Boi4Z2n2hjba0xrj8G/n +4IyFdj6TEMbYcexQ4+oocdXbRDbsVjkchJSf94H989YAGyoIhhLTFNxYTs3y10rGuZ5 0sWvZ0b4QYlAlPK6ECBCE+EO4NGWlhIDlIQoCKciUw/1eRwVoKuhVZ0240JyC9o8zQg6 qrJg== X-Gm-Message-State: AElRT7F/5nO5crUU9ajt92lxQFzxj/Pytt4j9uKqKKI3UCYdQMW8NgPk fZGuPJwd/T9rI3tz2biGXEE= X-Received: by 10.28.20.84 with SMTP id 81mr2286530wmu.70.1520728954153; Sat, 10 Mar 2018 16:42:34 -0800 (PST) Received: from localhost ([217.30.68.212]) by smtp.gmail.com with ESMTPSA id b45sm5356908wrb.79.2018.03.10.16.42.32 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 10 Mar 2018 16:42:33 -0800 (PST) From: Martin Jansa X-Google-Original-From: Martin Jansa To: Armin Kuster , openembedded-core@lists.openembedded.org Date: Sun, 11 Mar 2018 00:42:13 +0000 Message-Id: X-Mailer: git-send-email 2.15.1 In-Reply-To: References: Subject: [OE-core] [morty][PATCH 01/16] gnutls_3.5.3.bb: Fix native build on distro with kernel < 3.4.17 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: Khem Raj When using distros which use old kernels gnutls fails to build due to missing SYS_getrandom, therefore we need to check for this before using it. Fixes errorr e.g. | ../../../gnutls-3.5.3/lib/nettle/rnd-linux.c: In function 'have_getrandom': | ../../../gnutls-3.5.3/lib/nettle/rnd-linux.c:59:42: error: 'SYS_getrandom' undeclared (first use in this function) | # define getrandom(dst,s,flags) syscall(SYS_getrandom, (void*)dst, (size_t)s, (unsigned int)flags) Signed-off-by: Khem Raj Signed-off-by: Martin Jansa Signed-off-by: Richard Purdie --- .../gnutls/gnutls/check_SYS_getrandom.patch | 35 ++++++++++++++++++++++ meta/recipes-support/gnutls/gnutls_3.5.3.bb | 1 + 2 files changed, 36 insertions(+) create mode 100644 meta/recipes-support/gnutls/gnutls/check_SYS_getrandom.patch -- 2.15.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-support/gnutls/gnutls/check_SYS_getrandom.patch b/meta/recipes-support/gnutls/gnutls/check_SYS_getrandom.patch new file mode 100644 index 0000000000..535c22af14 --- /dev/null +++ b/meta/recipes-support/gnutls/gnutls/check_SYS_getrandom.patch @@ -0,0 +1,35 @@ +From f26c3979ab0325edb2e410d287bc501cf00e0ac0 Mon Sep 17 00:00:00 2001 +From: Nikos Mavrogiannopoulos +Date: Mon, 22 Aug 2016 16:32:34 +0200 +Subject: [PATCH] rnd-linux: added check for SYS_getrandom being defined + +This allows to compile the getrandom() code in old Linux systems +which do not have the system call defined. +--- + +Upstream-Status: Backport +Signed-off-by: Khem Raj + + lib/nettle/rnd-linux.c | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +diff --git a/lib/nettle/rnd-linux.c b/lib/nettle/rnd-linux.c +index d7f07a6..7a24d05 100644 +--- a/lib/nettle/rnd-linux.c ++++ b/lib/nettle/rnd-linux.c +@@ -56,7 +56,11 @@ static dev_t _gnutls_urandom_fd_rdev = 0; + # else + # include + # undef getrandom +-# define getrandom(dst,s,flags) syscall(SYS_getrandom, (void*)dst, (size_t)s, (unsigned int)flags) ++# if defined(SYS_getrandom) ++# define getrandom(dst,s,flags) syscall(SYS_getrandom, (void*)dst, (size_t)s, (unsigned int)flags) ++# else ++# define getrandom(dst,s,flags) -1 ++# endif + # endif + + static unsigned have_getrandom(void) +-- +libgit2 0.24.0 + diff --git a/meta/recipes-support/gnutls/gnutls_3.5.3.bb b/meta/recipes-support/gnutls/gnutls_3.5.3.bb index b2dbb07124..04005883a9 100644 --- a/meta/recipes-support/gnutls/gnutls_3.5.3.bb +++ b/meta/recipes-support/gnutls/gnutls_3.5.3.bb @@ -4,6 +4,7 @@ SRC_URI += "file://correct_rpl_gettimeofday_signature.patch \ file://0001-configure.ac-fix-sed-command.patch \ file://use-pkg-config-to-locate-zlib.patch \ file://0001-Use-correct-include-dir-with-minitasn.patch \ + file://check_SYS_getrandom.patch \ file://CVE-2016-7444.patch \ " SRC_URI[md5sum] = "6c2c7f40ddf52933ee3ca474cb8cb63c" From patchwork Sun Mar 11 00:42:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Jansa X-Patchwork-Id: 131316 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp2622569lja; Sat, 10 Mar 2018 16:43:02 -0800 (PST) X-Google-Smtp-Source: AG47ELuUjrUQL3yx3tEI//zGkPtV9QffLO9dMQsiw/I/U+Jpvt+sqmU3ohV5o5l7gTXZef8hiznb X-Received: by 10.99.97.23 with SMTP id v23mr2739404pgb.373.1520728982163; Sat, 10 Mar 2018 16:43:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520728982; cv=none; d=google.com; s=arc-20160816; b=yXpMtKwCX7eBHNHNRpcbIi6BIpS2omHC8/buDDATO2c6kIli11vM6eKmEWBz+0yMkq TnLEqvTIseqFNgNBxqrUyLdJD6AuJGHW2Sh0InFz+z+QR1GxhPuf1NkhWqZQaTsPs1sx Rsgh2t5Mbcile6I0yTtn+xn7wejHRRM4Pq/txv0bD3LLmD3i4bPt+dHGA77+MLdTXYw9 iFk08daePvxwhNXCgaN+izIYQtON6kOAs76/Fdu/PTHc88Uv9+BnD11U2EAN7T4ThUMQ mRasSlpPzThE0eLbULbYrYpyfw805j+5NBOqfO7PyS5p1Wub7CJOgE9gjmbzJ1Ok1i17 KCgg== 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=mJ1PkXIfy8RlO4ZXJPOjJ7g3OfmDuF4b74kTVEPWneg=; b=pkhbKJuGcbyQ7a1d/WkO0a9pPjapxlacuna65Wmo/wABOtyHCVgYzgRHPRmqzv1vfE Vb6+qvCwcwRA+fLYva+T83m3B0x9skIHwlwTWQaC44QuR1y8tBa+HcVLZO5NPmFn/mOE Fnh773QM+yEcH/1pjXNaoKDIqY4t/m98AQzttpVJLX4gaHyPPI3B0f1azVd2WleQk9xU nE/JJYWarRbbtQqRWUNHFfy3Nqpgt1iwkYXXHiZmTYS0/t9D0A4CjNBLnUl1Xo02ZaWw BoZsTk8vee5717bR751EuCHZW4WQ0RHOYP+9XncpVPbXDZ+JKMDELauQqf7CsZ0IRNRl 92LQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=aSHVtq3u; 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 g11-v6si3526144plt.580.2018.03.10.16.43.01; Sat, 10 Mar 2018 16:43:02 -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=aSHVtq3u; 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 6496778910; Sun, 11 Mar 2018 00:42:54 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by mail.openembedded.org (Postfix) with ESMTP id BBCE7788BF for ; Sun, 11 Mar 2018 00:42:36 +0000 (UTC) Received: by mail-wm0-f68.google.com with SMTP id x7so9952724wmc.0 for ; Sat, 10 Mar 2018 16:42:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references; bh=U3T1RGGVU5BFapwbAMkVfatvH7MqsMLjpDC1pCo9n58=; b=aSHVtq3u/pDk9kCfsM5nr6eyO5J2ScXm7gFEsanZ1qWlJmr7bsRHIoj0q2PkUyUNVD kJ3m/xLZQLK+rRBXX62inpsQsuXXksOeRzLQUbW7yLnj+Co8iOHi38JCkxI99j3BluTw S1TDTe2Ik8P9B1HYVB8ylnpsShqkURNF9buSdyN8QrmAIXyzL1vp2I8yb/RbPDtedWct Lp+MLdpavFaZUH4cm9J0KC0b490yIbn8G14Znbh+zMcXnRfZ/tj/KBn6CwOx+PoTBQn7 VM67j1Jpj4EvJuITWBP/xxuxBESHjOo704BEd1Zu771zWiQQH38QKl/UND4y3FSkJNZx shPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=U3T1RGGVU5BFapwbAMkVfatvH7MqsMLjpDC1pCo9n58=; b=pVKAzL2/YZi5vScl1tWDWcQ91+e+lYgbgrI2tJAonZORsmQHgiFsI61HAgw/EL+EJg V5HMir6e9h404vzhmSQWak0yHFGeJfamZ+iL/ltWDfGfcxLVuG6u3WW3hob0HXGAH+bJ sxlv2WYUUXzXlTxyOeEeXZmbVBDGDUj42Z5EzhakpBfBkmPUduvWGPGUmkJ/aOqiBBoD MdGluLhHCm7lq0kZNhoailS4w0NiLRkObNwNYoecVwaHUR50U6Dvha7L+uPlif7gjRti lSTkL8mHYwlnAZe82OF01S2EvIxu1NGidrc8JnDBktzqelNeju6Ui8SVBICgVl4UrdFn 37vQ== X-Gm-Message-State: AElRT7Eo9a9tdSd0MVAcWwuIndiB69x4IEWYxfnrCqjgr5EfcuNrJVes c2dGXaGPhGLuvdo5XYbf9yUumQ== X-Received: by 10.28.7.13 with SMTP id 13mr1987055wmh.9.1520728956797; Sat, 10 Mar 2018 16:42:36 -0800 (PST) Received: from localhost ([217.30.68.212]) by smtp.gmail.com with ESMTPSA id v35sm4052560wrc.56.2018.03.10.16.42.35 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 10 Mar 2018 16:42:35 -0800 (PST) From: Martin Jansa X-Google-Original-From: Martin Jansa To: Armin Kuster , openembedded-core@lists.openembedded.org Date: Sun, 11 Mar 2018 00:42:15 +0000 Message-Id: X-Mailer: git-send-email 2.15.1 In-Reply-To: References: Subject: [OE-core] [morty][PATCH 03/16] gcc6: Upgrade to 6.3.0 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: Khem Raj 6.3.0 is a bugfix release in gcc 6 series Cherry-picked from oe-core master 36ffcd1d7d2ab9dcc91e9c09623a6613a248bc69 Signed-off-by: Khem Raj Signed-off-by: Ross Burton Signed-off-by: Martin Jansa --- meta/conf/distro/include/tcmode-default.inc | 2 +- meta/recipes-devtools/gcc/{gcc-6.2.inc => gcc-6.3.inc} | 10 +++++----- .../0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch | 0 .../gcc/{gcc-6.2 => gcc-6.3}/0002-uclibc-conf.patch | 0 .../0003-gcc-uclibc-locale-ctype_touplow_t.patch | 0 .../gcc/{gcc-6.2 => gcc-6.3}/0004-uclibc-locale.patch | 0 .../gcc/{gcc-6.2 => gcc-6.3}/0005-uclibc-locale-no__x.patch | 0 .../{gcc-6.2 => gcc-6.3}/0006-uclibc-locale-wchar_fix.patch | 0 .../gcc/{gcc-6.2 => gcc-6.3}/0007-uclibc-locale-update.patch | 0 .../gcc/{gcc-6.2 => gcc-6.3}/0008-missing-execinfo_h.patch | 0 .../gcc/{gcc-6.2 => gcc-6.3}/0009-c99-snprintf.patch | 0 .../0010-gcc-poison-system-directories.patch | 0 .../gcc/{gcc-6.2 => gcc-6.3}/0011-gcc-poison-dir-extend.patch | 0 .../0012-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch | 0 .../gcc/{gcc-6.2 => gcc-6.3}/0013-64-bit-multilib-hack.patch | 0 .../gcc/{gcc-6.2 => gcc-6.3}/0014-optional-libstdc.patch | 0 .../0015-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch | 0 .../gcc/{gcc-6.2 => gcc-6.3}/0016-COLLECT_GCC_OPTIONS.patch | 0 ...17-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch | 0 .../{gcc-6.2 => gcc-6.3}/0018-fortran-cross-compile-hack.patch | 0 .../gcc/{gcc-6.2 => gcc-6.3}/0019-cpp-honor-sysroot.patch | 0 .../{gcc-6.2 => gcc-6.3}/0020-MIPS64-Default-to-N64-ABI.patch | 0 ...-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch | 0 .../0022-gcc-Fix-argument-list-too-long-error.patch | 0 .../gcc/{gcc-6.2 => gcc-6.3}/0023-Disable-sdt.patch | 0 .../gcc/{gcc-6.2 => gcc-6.3}/0024-libtool.patch | 0 ...025-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch | 0 ...-Use-the-multilib-config-files-from-B-instead-of-usin.patch | 0 ...-Avoid-using-libdir-from-.la-which-usually-points-to-.patch | 0 .../gcc/{gcc-6.2 => gcc-6.3}/0028-export-CPP.patch | 0 ...-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch | 0 ...-Disable-the-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch | 0 .../0031-Ensure-target-gcc-headers-can-be-included.patch | 0 ...-gcc-4.8-won-t-build-with-disable-dependency-tracking.patch | 0 ...-Don-t-search-host-directory-during-relink-if-inst_pr.patch | 0 ...-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch | 0 .../0035-aarch64-Add-support-for-musl-ldso.patch | 0 .../0036-libcc1-fix-libcc1-s-install-path-and-rpath.patch | 0 .../0037-handle-sysroot-support-for-nativesdk-gcc.patch | 0 ...-Search-target-sysroot-gcc-version-specific-dirs-with.patch | 0 .../0039-Fix-various-_FOR_BUILD-and-related-variables.patch | 0 .../0040-nios2-Define-MUSL_DYNAMIC_LINKER.patch | 0 .../gcc/{gcc-6.2 => gcc-6.3}/0041-ssp_nonshared.patch | 0 .../0042-gcc-libcpp-support-ffile-prefix-map-old-new.patch | 0 ...3-Reuse-fdebug-prefix-map-to-replace-ffile-prefix-map.patch | 0 ...-gcc-final.c-fdebug-prefix-map-support-to-remap-sourc.patch | 0 .../0045-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch | 0 ...0046-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch | 0 ...-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch | 0 ...-ARM-PR-target-71056-Don-t-use-vectorized-builtins-wh.patch | 0 .../gcc/{gcc-6.2 => gcc-6.3}/CVE-2016-4490.patch | 0 .../{gcc-6.2 => gcc-6.3}/ubsan-fix-check-empty-string.patch | 0 .../{gcc-cross-canadian_6.2.bb => gcc-cross-canadian_6.3.bb} | 0 .../gcc/{gcc-cross-initial_6.2.bb => gcc-cross-initial_6.3.bb} | 0 .../gcc/{gcc-cross_6.2.bb => gcc-cross_6.3.bb} | 0 ...gcc-crosssdk-initial_6.2.bb => gcc-crosssdk-initial_6.3.bb} | 0 .../gcc/{gcc-crosssdk_6.2.bb => gcc-crosssdk_6.3.bb} | 0 .../gcc/{gcc-runtime_6.2.bb => gcc-runtime_6.3.bb} | 0 .../gcc/{gcc-sanitizers_6.2.bb => gcc-sanitizers_6.3.bb} | 0 .../gcc/{gcc-source_6.2.bb => gcc-source_6.3.bb} | 0 meta/recipes-devtools/gcc/{gcc_6.2.bb => gcc_6.3.bb} | 0 .../gcc/{libgcc-initial_6.2.bb => libgcc-initial_6.3.bb} | 0 meta/recipes-devtools/gcc/{libgcc_6.2.bb => libgcc_6.3.bb} | 0 .../gcc/{libgfortran_6.2.bb => libgfortran_6.3.bb} | 0 64 files changed, 6 insertions(+), 6 deletions(-) rename meta/recipes-devtools/gcc/{gcc-6.2.inc => gcc-6.3.inc} (95%) rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0002-uclibc-conf.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0003-gcc-uclibc-locale-ctype_touplow_t.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0004-uclibc-locale.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0005-uclibc-locale-no__x.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0006-uclibc-locale-wchar_fix.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0007-uclibc-locale-update.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0008-missing-execinfo_h.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0009-c99-snprintf.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0010-gcc-poison-system-directories.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0011-gcc-poison-dir-extend.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0012-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0013-64-bit-multilib-hack.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0014-optional-libstdc.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0015-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0016-COLLECT_GCC_OPTIONS.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0017-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0018-fortran-cross-compile-hack.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0019-cpp-honor-sysroot.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0020-MIPS64-Default-to-N64-ABI.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0021-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0022-gcc-Fix-argument-list-too-long-error.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0023-Disable-sdt.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0024-libtool.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0025-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0026-Use-the-multilib-config-files-from-B-instead-of-usin.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0027-Avoid-using-libdir-from-.la-which-usually-points-to-.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0028-export-CPP.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0029-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0030-Disable-the-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0031-Ensure-target-gcc-headers-can-be-included.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0032-gcc-4.8-won-t-build-with-disable-dependency-tracking.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0033-Don-t-search-host-directory-during-relink-if-inst_pr.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0034-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0035-aarch64-Add-support-for-musl-ldso.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0036-libcc1-fix-libcc1-s-install-path-and-rpath.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0037-handle-sysroot-support-for-nativesdk-gcc.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0038-Search-target-sysroot-gcc-version-specific-dirs-with.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0039-Fix-various-_FOR_BUILD-and-related-variables.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0040-nios2-Define-MUSL_DYNAMIC_LINKER.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0041-ssp_nonshared.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0042-gcc-libcpp-support-ffile-prefix-map-old-new.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0043-Reuse-fdebug-prefix-map-to-replace-ffile-prefix-map.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0044-gcc-final.c-fdebug-prefix-map-support-to-remap-sourc.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0045-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0046-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0047-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/0048-ARM-PR-target-71056-Don-t-use-vectorized-builtins-wh.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/CVE-2016-4490.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.2 => gcc-6.3}/ubsan-fix-check-empty-string.patch (100%) rename meta/recipes-devtools/gcc/{gcc-cross-canadian_6.2.bb => gcc-cross-canadian_6.3.bb} (100%) rename meta/recipes-devtools/gcc/{gcc-cross-initial_6.2.bb => gcc-cross-initial_6.3.bb} (100%) rename meta/recipes-devtools/gcc/{gcc-cross_6.2.bb => gcc-cross_6.3.bb} (100%) rename meta/recipes-devtools/gcc/{gcc-crosssdk-initial_6.2.bb => gcc-crosssdk-initial_6.3.bb} (100%) rename meta/recipes-devtools/gcc/{gcc-crosssdk_6.2.bb => gcc-crosssdk_6.3.bb} (100%) rename meta/recipes-devtools/gcc/{gcc-runtime_6.2.bb => gcc-runtime_6.3.bb} (100%) rename meta/recipes-devtools/gcc/{gcc-sanitizers_6.2.bb => gcc-sanitizers_6.3.bb} (100%) rename meta/recipes-devtools/gcc/{gcc-source_6.2.bb => gcc-source_6.3.bb} (100%) rename meta/recipes-devtools/gcc/{gcc_6.2.bb => gcc_6.3.bb} (100%) rename meta/recipes-devtools/gcc/{libgcc-initial_6.2.bb => libgcc-initial_6.3.bb} (100%) rename meta/recipes-devtools/gcc/{libgcc_6.2.bb => libgcc_6.3.bb} (100%) rename meta/recipes-devtools/gcc/{libgfortran_6.2.bb => libgfortran_6.3.bb} (100%) -- 2.15.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc index ca3c5ec90a..6a81c365bd 100644 --- a/meta/conf/distro/include/tcmode-default.inc +++ b/meta/conf/distro/include/tcmode-default.inc @@ -22,7 +22,7 @@ PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-initial = "${TCLIBC}-initial" PREFERRED_PROVIDER_virtual/nativesdk-${SDK_PREFIX}libc-initial ?= "nativesdk-glibc-initial" PREFERRED_PROVIDER_virtual/gettext ??= "gettext" -GCCVERSION ?= "6.2%" +GCCVERSION ?= "6.3%" SDKGCCVERSION ?= "${GCCVERSION}" BINUVERSION ?= "2.27%" GDBVERSION ?= "7.11%" diff --git a/meta/recipes-devtools/gcc/gcc-6.2.inc b/meta/recipes-devtools/gcc/gcc-6.3.inc similarity index 95% rename from meta/recipes-devtools/gcc/gcc-6.2.inc rename to meta/recipes-devtools/gcc/gcc-6.3.inc index 39ae653805..15e79bf25c 100644 --- a/meta/recipes-devtools/gcc/gcc-6.2.inc +++ b/meta/recipes-devtools/gcc/gcc-6.3.inc @@ -2,13 +2,13 @@ require gcc-common.inc # Third digit in PV should be incremented after a minor release -PV = "6.2.0" +PV = "6.3.0" # BINV should be incremented to a revision after a minor gcc release -BINV = "6.2.0" +BINV = "6.3.0" -FILESEXTRAPATHS =. "${FILE_DIRNAME}/gcc-6.2:${FILE_DIRNAME}/gcc-6.2/backport:" +FILESEXTRAPATHS =. "${FILE_DIRNAME}/gcc-6.3:${FILE_DIRNAME}/gcc-6.3/backport:" DEPENDS =+ "mpfr gmp libmpc zlib" NATIVEDEPS = "mpfr-native gmp-native libmpc-native zlib-native" @@ -83,8 +83,8 @@ SRC_URI = "\ BACKPORTS = "\ file://ubsan-fix-check-empty-string.patch \ " -SRC_URI[md5sum] = "9768625159663b300ae4de2f4745fcc4" -SRC_URI[sha256sum] = "9944589fc722d3e66308c0ce5257788ebd7872982a718aa2516123940671b7c5" +SRC_URI[md5sum] = "677a7623c7ef6ab99881bc4e048debb6" +SRC_URI[sha256sum] = "f06ae7f3f790fbf0f018f6d40e844451e6bc3b7bc96e128e63b09825c1f8b29f" S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${PV}" #S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/git" diff --git a/meta/recipes-devtools/gcc/gcc-6.2/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch b/meta/recipes-devtools/gcc/gcc-6.3/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.2/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch rename to meta/recipes-devtools/gcc/gcc-6.3/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.2/0002-uclibc-conf.patch b/meta/recipes-devtools/gcc/gcc-6.3/0002-uclibc-conf.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.2/0002-uclibc-conf.patch rename to meta/recipes-devtools/gcc/gcc-6.3/0002-uclibc-conf.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.2/0003-gcc-uclibc-locale-ctype_touplow_t.patch b/meta/recipes-devtools/gcc/gcc-6.3/0003-gcc-uclibc-locale-ctype_touplow_t.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.2/0003-gcc-uclibc-locale-ctype_touplow_t.patch rename to meta/recipes-devtools/gcc/gcc-6.3/0003-gcc-uclibc-locale-ctype_touplow_t.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.2/0004-uclibc-locale.patch b/meta/recipes-devtools/gcc/gcc-6.3/0004-uclibc-locale.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.2/0004-uclibc-locale.patch rename to meta/recipes-devtools/gcc/gcc-6.3/0004-uclibc-locale.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.2/0005-uclibc-locale-no__x.patch b/meta/recipes-devtools/gcc/gcc-6.3/0005-uclibc-locale-no__x.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.2/0005-uclibc-locale-no__x.patch rename to meta/recipes-devtools/gcc/gcc-6.3/0005-uclibc-locale-no__x.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.2/0006-uclibc-locale-wchar_fix.patch b/meta/recipes-devtools/gcc/gcc-6.3/0006-uclibc-locale-wchar_fix.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.2/0006-uclibc-locale-wchar_fix.patch rename to meta/recipes-devtools/gcc/gcc-6.3/0006-uclibc-locale-wchar_fix.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.2/0007-uclibc-locale-update.patch b/meta/recipes-devtools/gcc/gcc-6.3/0007-uclibc-locale-update.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.2/0007-uclibc-locale-update.patch rename to meta/recipes-devtools/gcc/gcc-6.3/0007-uclibc-locale-update.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.2/0008-missing-execinfo_h.patch b/meta/recipes-devtools/gcc/gcc-6.3/0008-missing-execinfo_h.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.2/0008-missing-execinfo_h.patch rename to meta/recipes-devtools/gcc/gcc-6.3/0008-missing-execinfo_h.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.2/0009-c99-snprintf.patch b/meta/recipes-devtools/gcc/gcc-6.3/0009-c99-snprintf.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.2/0009-c99-snprintf.patch rename to meta/recipes-devtools/gcc/gcc-6.3/0009-c99-snprintf.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.2/0010-gcc-poison-system-directories.patch b/meta/recipes-devtools/gcc/gcc-6.3/0010-gcc-poison-system-directories.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.2/0010-gcc-poison-system-directories.patch rename to meta/recipes-devtools/gcc/gcc-6.3/0010-gcc-poison-system-directories.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.2/0011-gcc-poison-dir-extend.patch b/meta/recipes-devtools/gcc/gcc-6.3/0011-gcc-poison-dir-extend.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.2/0011-gcc-poison-dir-extend.patch rename to meta/recipes-devtools/gcc/gcc-6.3/0011-gcc-poison-dir-extend.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.2/0012-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch b/meta/recipes-devtools/gcc/gcc-6.3/0012-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.2/0012-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch rename to meta/recipes-devtools/gcc/gcc-6.3/0012-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.2/0013-64-bit-multilib-hack.patch b/meta/recipes-devtools/gcc/gcc-6.3/0013-64-bit-multilib-hack.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.2/0013-64-bit-multilib-hack.patch rename to meta/recipes-devtools/gcc/gcc-6.3/0013-64-bit-multilib-hack.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.2/0014-optional-libstdc.patch b/meta/recipes-devtools/gcc/gcc-6.3/0014-optional-libstdc.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.2/0014-optional-libstdc.patch rename to meta/recipes-devtools/gcc/gcc-6.3/0014-optional-libstdc.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.2/0015-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch b/meta/recipes-devtools/gcc/gcc-6.3/0015-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.2/0015-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch rename to meta/recipes-devtools/gcc/gcc-6.3/0015-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.2/0016-COLLECT_GCC_OPTIONS.patch b/meta/recipes-devtools/gcc/gcc-6.3/0016-COLLECT_GCC_OPTIONS.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.2/0016-COLLECT_GCC_OPTIONS.patch rename to meta/recipes-devtools/gcc/gcc-6.3/0016-COLLECT_GCC_OPTIONS.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.2/0017-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch b/meta/recipes-devtools/gcc/gcc-6.3/0017-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.2/0017-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch rename to meta/recipes-devtools/gcc/gcc-6.3/0017-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.2/0018-fortran-cross-compile-hack.patch b/meta/recipes-devtools/gcc/gcc-6.3/0018-fortran-cross-compile-hack.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.2/0018-fortran-cross-compile-hack.patch rename to meta/recipes-devtools/gcc/gcc-6.3/0018-fortran-cross-compile-hack.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.2/0019-cpp-honor-sysroot.patch b/meta/recipes-devtools/gcc/gcc-6.3/0019-cpp-honor-sysroot.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.2/0019-cpp-honor-sysroot.patch rename to meta/recipes-devtools/gcc/gcc-6.3/0019-cpp-honor-sysroot.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.2/0020-MIPS64-Default-to-N64-ABI.patch b/meta/recipes-devtools/gcc/gcc-6.3/0020-MIPS64-Default-to-N64-ABI.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.2/0020-MIPS64-Default-to-N64-ABI.patch rename to meta/recipes-devtools/gcc/gcc-6.3/0020-MIPS64-Default-to-N64-ABI.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.2/0021-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch b/meta/recipes-devtools/gcc/gcc-6.3/0021-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.2/0021-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch rename to meta/recipes-devtools/gcc/gcc-6.3/0021-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.2/0022-gcc-Fix-argument-list-too-long-error.patch b/meta/recipes-devtools/gcc/gcc-6.3/0022-gcc-Fix-argument-list-too-long-error.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.2/0022-gcc-Fix-argument-list-too-long-error.patch rename to meta/recipes-devtools/gcc/gcc-6.3/0022-gcc-Fix-argument-list-too-long-error.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.2/0023-Disable-sdt.patch b/meta/recipes-devtools/gcc/gcc-6.3/0023-Disable-sdt.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.2/0023-Disable-sdt.patch rename to meta/recipes-devtools/gcc/gcc-6.3/0023-Disable-sdt.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.2/0024-libtool.patch b/meta/recipes-devtools/gcc/gcc-6.3/0024-libtool.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.2/0024-libtool.patch rename to meta/recipes-devtools/gcc/gcc-6.3/0024-libtool.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.2/0025-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch b/meta/recipes-devtools/gcc/gcc-6.3/0025-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.2/0025-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch rename to meta/recipes-devtools/gcc/gcc-6.3/0025-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.2/0026-Use-the-multilib-config-files-from-B-instead-of-usin.patch b/meta/recipes-devtools/gcc/gcc-6.3/0026-Use-the-multilib-config-files-from-B-instead-of-usin.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.2/0026-Use-the-multilib-config-files-from-B-instead-of-usin.patch rename to meta/recipes-devtools/gcc/gcc-6.3/0026-Use-the-multilib-config-files-from-B-instead-of-usin.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.2/0027-Avoid-using-libdir-from-.la-which-usually-points-to-.patch b/meta/recipes-devtools/gcc/gcc-6.3/0027-Avoid-using-libdir-from-.la-which-usually-points-to-.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.2/0027-Avoid-using-libdir-from-.la-which-usually-points-to-.patch rename to meta/recipes-devtools/gcc/gcc-6.3/0027-Avoid-using-libdir-from-.la-which-usually-points-to-.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.2/0028-export-CPP.patch b/meta/recipes-devtools/gcc/gcc-6.3/0028-export-CPP.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.2/0028-export-CPP.patch rename to meta/recipes-devtools/gcc/gcc-6.3/0028-export-CPP.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.2/0029-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch b/meta/recipes-devtools/gcc/gcc-6.3/0029-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.2/0029-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch rename to meta/recipes-devtools/gcc/gcc-6.3/0029-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.2/0030-Disable-the-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch b/meta/recipes-devtools/gcc/gcc-6.3/0030-Disable-the-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.2/0030-Disable-the-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch rename to meta/recipes-devtools/gcc/gcc-6.3/0030-Disable-the-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.2/0031-Ensure-target-gcc-headers-can-be-included.patch b/meta/recipes-devtools/gcc/gcc-6.3/0031-Ensure-target-gcc-headers-can-be-included.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.2/0031-Ensure-target-gcc-headers-can-be-included.patch rename to meta/recipes-devtools/gcc/gcc-6.3/0031-Ensure-target-gcc-headers-can-be-included.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.2/0032-gcc-4.8-won-t-build-with-disable-dependency-tracking.patch b/meta/recipes-devtools/gcc/gcc-6.3/0032-gcc-4.8-won-t-build-with-disable-dependency-tracking.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.2/0032-gcc-4.8-won-t-build-with-disable-dependency-tracking.patch rename to meta/recipes-devtools/gcc/gcc-6.3/0032-gcc-4.8-won-t-build-with-disable-dependency-tracking.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.2/0033-Don-t-search-host-directory-during-relink-if-inst_pr.patch b/meta/recipes-devtools/gcc/gcc-6.3/0033-Don-t-search-host-directory-during-relink-if-inst_pr.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.2/0033-Don-t-search-host-directory-during-relink-if-inst_pr.patch rename to meta/recipes-devtools/gcc/gcc-6.3/0033-Don-t-search-host-directory-during-relink-if-inst_pr.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.2/0034-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch b/meta/recipes-devtools/gcc/gcc-6.3/0034-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.2/0034-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch rename to meta/recipes-devtools/gcc/gcc-6.3/0034-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.2/0035-aarch64-Add-support-for-musl-ldso.patch b/meta/recipes-devtools/gcc/gcc-6.3/0035-aarch64-Add-support-for-musl-ldso.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.2/0035-aarch64-Add-support-for-musl-ldso.patch rename to meta/recipes-devtools/gcc/gcc-6.3/0035-aarch64-Add-support-for-musl-ldso.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.2/0036-libcc1-fix-libcc1-s-install-path-and-rpath.patch b/meta/recipes-devtools/gcc/gcc-6.3/0036-libcc1-fix-libcc1-s-install-path-and-rpath.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.2/0036-libcc1-fix-libcc1-s-install-path-and-rpath.patch rename to meta/recipes-devtools/gcc/gcc-6.3/0036-libcc1-fix-libcc1-s-install-path-and-rpath.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.2/0037-handle-sysroot-support-for-nativesdk-gcc.patch b/meta/recipes-devtools/gcc/gcc-6.3/0037-handle-sysroot-support-for-nativesdk-gcc.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.2/0037-handle-sysroot-support-for-nativesdk-gcc.patch rename to meta/recipes-devtools/gcc/gcc-6.3/0037-handle-sysroot-support-for-nativesdk-gcc.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.2/0038-Search-target-sysroot-gcc-version-specific-dirs-with.patch b/meta/recipes-devtools/gcc/gcc-6.3/0038-Search-target-sysroot-gcc-version-specific-dirs-with.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.2/0038-Search-target-sysroot-gcc-version-specific-dirs-with.patch rename to meta/recipes-devtools/gcc/gcc-6.3/0038-Search-target-sysroot-gcc-version-specific-dirs-with.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.2/0039-Fix-various-_FOR_BUILD-and-related-variables.patch b/meta/recipes-devtools/gcc/gcc-6.3/0039-Fix-various-_FOR_BUILD-and-related-variables.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.2/0039-Fix-various-_FOR_BUILD-and-related-variables.patch rename to meta/recipes-devtools/gcc/gcc-6.3/0039-Fix-various-_FOR_BUILD-and-related-variables.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.2/0040-nios2-Define-MUSL_DYNAMIC_LINKER.patch b/meta/recipes-devtools/gcc/gcc-6.3/0040-nios2-Define-MUSL_DYNAMIC_LINKER.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.2/0040-nios2-Define-MUSL_DYNAMIC_LINKER.patch rename to meta/recipes-devtools/gcc/gcc-6.3/0040-nios2-Define-MUSL_DYNAMIC_LINKER.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.2/0041-ssp_nonshared.patch b/meta/recipes-devtools/gcc/gcc-6.3/0041-ssp_nonshared.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.2/0041-ssp_nonshared.patch rename to meta/recipes-devtools/gcc/gcc-6.3/0041-ssp_nonshared.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.2/0042-gcc-libcpp-support-ffile-prefix-map-old-new.patch b/meta/recipes-devtools/gcc/gcc-6.3/0042-gcc-libcpp-support-ffile-prefix-map-old-new.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.2/0042-gcc-libcpp-support-ffile-prefix-map-old-new.patch rename to meta/recipes-devtools/gcc/gcc-6.3/0042-gcc-libcpp-support-ffile-prefix-map-old-new.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.2/0043-Reuse-fdebug-prefix-map-to-replace-ffile-prefix-map.patch b/meta/recipes-devtools/gcc/gcc-6.3/0043-Reuse-fdebug-prefix-map-to-replace-ffile-prefix-map.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.2/0043-Reuse-fdebug-prefix-map-to-replace-ffile-prefix-map.patch rename to meta/recipes-devtools/gcc/gcc-6.3/0043-Reuse-fdebug-prefix-map-to-replace-ffile-prefix-map.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.2/0044-gcc-final.c-fdebug-prefix-map-support-to-remap-sourc.patch b/meta/recipes-devtools/gcc/gcc-6.3/0044-gcc-final.c-fdebug-prefix-map-support-to-remap-sourc.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.2/0044-gcc-final.c-fdebug-prefix-map-support-to-remap-sourc.patch rename to meta/recipes-devtools/gcc/gcc-6.3/0044-gcc-final.c-fdebug-prefix-map-support-to-remap-sourc.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.2/0045-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch b/meta/recipes-devtools/gcc/gcc-6.3/0045-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.2/0045-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch rename to meta/recipes-devtools/gcc/gcc-6.3/0045-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.2/0046-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch b/meta/recipes-devtools/gcc/gcc-6.3/0046-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.2/0046-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch rename to meta/recipes-devtools/gcc/gcc-6.3/0046-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.2/0047-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch b/meta/recipes-devtools/gcc/gcc-6.3/0047-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.2/0047-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch rename to meta/recipes-devtools/gcc/gcc-6.3/0047-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.2/0048-ARM-PR-target-71056-Don-t-use-vectorized-builtins-wh.patch b/meta/recipes-devtools/gcc/gcc-6.3/0048-ARM-PR-target-71056-Don-t-use-vectorized-builtins-wh.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.2/0048-ARM-PR-target-71056-Don-t-use-vectorized-builtins-wh.patch rename to meta/recipes-devtools/gcc/gcc-6.3/0048-ARM-PR-target-71056-Don-t-use-vectorized-builtins-wh.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.2/CVE-2016-4490.patch b/meta/recipes-devtools/gcc/gcc-6.3/CVE-2016-4490.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.2/CVE-2016-4490.patch rename to meta/recipes-devtools/gcc/gcc-6.3/CVE-2016-4490.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.2/ubsan-fix-check-empty-string.patch b/meta/recipes-devtools/gcc/gcc-6.3/ubsan-fix-check-empty-string.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.2/ubsan-fix-check-empty-string.patch rename to meta/recipes-devtools/gcc/gcc-6.3/ubsan-fix-check-empty-string.patch diff --git a/meta/recipes-devtools/gcc/gcc-cross-canadian_6.2.bb b/meta/recipes-devtools/gcc/gcc-cross-canadian_6.3.bb similarity index 100% rename from meta/recipes-devtools/gcc/gcc-cross-canadian_6.2.bb rename to meta/recipes-devtools/gcc/gcc-cross-canadian_6.3.bb diff --git a/meta/recipes-devtools/gcc/gcc-cross-initial_6.2.bb b/meta/recipes-devtools/gcc/gcc-cross-initial_6.3.bb similarity index 100% rename from meta/recipes-devtools/gcc/gcc-cross-initial_6.2.bb rename to meta/recipes-devtools/gcc/gcc-cross-initial_6.3.bb diff --git a/meta/recipes-devtools/gcc/gcc-cross_6.2.bb b/meta/recipes-devtools/gcc/gcc-cross_6.3.bb similarity index 100% rename from meta/recipes-devtools/gcc/gcc-cross_6.2.bb rename to meta/recipes-devtools/gcc/gcc-cross_6.3.bb diff --git a/meta/recipes-devtools/gcc/gcc-crosssdk-initial_6.2.bb b/meta/recipes-devtools/gcc/gcc-crosssdk-initial_6.3.bb similarity index 100% rename from meta/recipes-devtools/gcc/gcc-crosssdk-initial_6.2.bb rename to meta/recipes-devtools/gcc/gcc-crosssdk-initial_6.3.bb diff --git a/meta/recipes-devtools/gcc/gcc-crosssdk_6.2.bb b/meta/recipes-devtools/gcc/gcc-crosssdk_6.3.bb similarity index 100% rename from meta/recipes-devtools/gcc/gcc-crosssdk_6.2.bb rename to meta/recipes-devtools/gcc/gcc-crosssdk_6.3.bb diff --git a/meta/recipes-devtools/gcc/gcc-runtime_6.2.bb b/meta/recipes-devtools/gcc/gcc-runtime_6.3.bb similarity index 100% rename from meta/recipes-devtools/gcc/gcc-runtime_6.2.bb rename to meta/recipes-devtools/gcc/gcc-runtime_6.3.bb diff --git a/meta/recipes-devtools/gcc/gcc-sanitizers_6.2.bb b/meta/recipes-devtools/gcc/gcc-sanitizers_6.3.bb similarity index 100% rename from meta/recipes-devtools/gcc/gcc-sanitizers_6.2.bb rename to meta/recipes-devtools/gcc/gcc-sanitizers_6.3.bb diff --git a/meta/recipes-devtools/gcc/gcc-source_6.2.bb b/meta/recipes-devtools/gcc/gcc-source_6.3.bb similarity index 100% rename from meta/recipes-devtools/gcc/gcc-source_6.2.bb rename to meta/recipes-devtools/gcc/gcc-source_6.3.bb diff --git a/meta/recipes-devtools/gcc/gcc_6.2.bb b/meta/recipes-devtools/gcc/gcc_6.3.bb similarity index 100% rename from meta/recipes-devtools/gcc/gcc_6.2.bb rename to meta/recipes-devtools/gcc/gcc_6.3.bb diff --git a/meta/recipes-devtools/gcc/libgcc-initial_6.2.bb b/meta/recipes-devtools/gcc/libgcc-initial_6.3.bb similarity index 100% rename from meta/recipes-devtools/gcc/libgcc-initial_6.2.bb rename to meta/recipes-devtools/gcc/libgcc-initial_6.3.bb diff --git a/meta/recipes-devtools/gcc/libgcc_6.2.bb b/meta/recipes-devtools/gcc/libgcc_6.3.bb similarity index 100% rename from meta/recipes-devtools/gcc/libgcc_6.2.bb rename to meta/recipes-devtools/gcc/libgcc_6.3.bb diff --git a/meta/recipes-devtools/gcc/libgfortran_6.2.bb b/meta/recipes-devtools/gcc/libgfortran_6.3.bb similarity index 100% rename from meta/recipes-devtools/gcc/libgfortran_6.2.bb rename to meta/recipes-devtools/gcc/libgfortran_6.3.bb From patchwork Sun Mar 11 00:42:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Jansa X-Patchwork-Id: 131317 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp2622643lja; Sat, 10 Mar 2018 16:43:11 -0800 (PST) X-Google-Smtp-Source: AG47ELsE8KwI7pWL3URS13uttgj54V8e++1nkzdN4ioKbACvx3Ayu+Pz+4iRQ2QAwb0WH9SOUnHo X-Received: by 2002:a17:902:b903:: with SMTP id bf3-v6mr3535578plb.316.1520728991149; Sat, 10 Mar 2018 16:43:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520728991; cv=none; d=google.com; s=arc-20160816; b=xkx69KG/Z+q11dJDy5G6+L8gaZLWyewce+tq+MavGni9aoitk7TSEBxFrJI9MXDG6Q a7+4UW14pE8Km38yYEMxr2nfKltdp1SloIPO+zEp/FZdYJWd1myT8E553SIY9VNBBOvV tZAq7mh1RNCeTvTx2aXOG5TFJtmwwPGWH3FpE5I83FwpJVgvvLEfC6W6It/uR1HywEaX OAX34sW09fQ3YO5nn+SAKdfgvqKQwc0kEjhQHz9YJz69cyzmrQsfxktdCSKtN1IjjMSb aCJP5hq4/7Gw5TXCMQkeXCOae0RrPMjhUM4mUfKO5dVUXFHXXdlAixLDl35p30xZVFDu HPSg== 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=LVCMJXoFEO+WfUmtjUC2OVOD7pt3fB+gmAM7e6M/Ha4=; b=jD5D14r/K+T9Gi9yx+t9SvJOC9yKPW0RYXNMMP9Qk2tN71GV46ijAv3vIruBWOSF4+ O9RiNg2aBhkW1G8+mx/OU7TYJjfTM0fHng3dYZ2cq0SRTJmYLTckCfKyQJagsg1VrjgK e4eVb1NNuf8THH0yPrABdsRlKgmIJ/D6i+yh7+z4WPapvEJdHNxsfjd7AStYv5Z5eggS BhgN5y9fDiw5U9+6m0VWyqz+23TK8t1AgrR3l1ea8vr1Wt+0u+2lUzKcnWIFF78VoVDP YxyQ335ombm2cG5EGuuNS8xKcC4ZXQQE0duB16N9qAH/DSdrCdJmmD7KwKOdiegciXA8 +omg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=GzJSPHHu; 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 y15si3376229pfe.184.2018.03.10.16.43.10; Sat, 10 Mar 2018 16:43:11 -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=GzJSPHHu; 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 9848278917; Sun, 11 Mar 2018 00:42:55 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wr0-f196.google.com (mail-wr0-f196.google.com [209.85.128.196]) by mail.openembedded.org (Postfix) with ESMTP id 7945D788AC for ; Sun, 11 Mar 2018 00:42:37 +0000 (UTC) Received: by mail-wr0-f196.google.com with SMTP id v111so12316587wrb.3 for ; Sat, 10 Mar 2018 16:42:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references; bh=NVrmSqFiVjiUexsBv64lumKc3N4jj5rcL3poAsku8+E=; b=GzJSPHHukKVnKOMC/LEh2c2e2eNzgKqt6FA0vnlGGNWuwpQ216j88hN+uLU7233tT9 GYtOLIhzqMpYhOHM8Y7BVAl2NCle0ZIeoycS+I1U+TJhkSI05Y6Mm1sAu+Vx2cyI84Gu fFPJiTju41oErJhTZsnVM+bIZybsrwEB2s9TJM3vAs4zYiAghp6tE77WsTaX37mvaIJa 0j5gNEaBn3aq24Dap1fX9/7guMEYsnYPxOeUZAETnAAIRXbJzMrk9RXE89gmyCUY/e/6 c4tzJz8Z7le7SIj02PliEbH+YglnqIQqOkbmQsDTtTvIHoO03PF79tE2qhvhGwcN58yX NJ1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=NVrmSqFiVjiUexsBv64lumKc3N4jj5rcL3poAsku8+E=; b=j36vJd1vDkhA5zTVRPARi6L20ndtKHmA9hvcWsVJQLey+HjOXH5zOtE2ieFJyFdTCd 5TGKT4Ch5cKMkFOiF/L1oOe0QXZd4ErDCg4qDwvDjoexT7FyaJiL8ed/y/rvNziqzEmG phxaJVz68yyBb1EDzKnWkvyWIXFRcIFnYlLEPoSLxPP4XzEh6h2iRNzhdzuyUCkiQkY6 MPaL91jEvtyXIm0PyI0SS5J3YzAiTL7ePswqryuGn6eoMKNyvoNdJxYQV2B/KJrZOZnZ gAtGVrvdNeQGGizW1FIBnxHZoRTYXDMlGHI3eneTiwcMjqYKZOgv+w1yeZLpg8h70WNw alxw== X-Gm-Message-State: AElRT7Eh1fpQr6RfjMMSyyHyIGs9+bbcZiBcwAQERvKrHdnM/CdubqgQ 2dDYoV/u6TDEsHK3+CCE3lM6SA== X-Received: by 10.223.158.196 with SMTP id b4mr2529723wrf.112.1520728958267; Sat, 10 Mar 2018 16:42:38 -0800 (PST) Received: from localhost ([217.30.68.212]) by smtp.gmail.com with ESMTPSA id n23sm5009118wra.14.2018.03.10.16.42.37 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 10 Mar 2018 16:42:37 -0800 (PST) From: Martin Jansa X-Google-Original-From: Martin Jansa To: Armin Kuster , openembedded-core@lists.openembedded.org Date: Sun, 11 Mar 2018 00:42:16 +0000 Message-Id: <5c3cfa24e49cbea34c74009b91bf96e0f9a00a63.1520728802.git.Martin.Jansa@gmail.com> X-Mailer: git-send-email 2.15.1 In-Reply-To: References: Subject: [OE-core] [morty][PATCH 04/16] gcc-6: Sync gcc stddef.h with musl stddef.h 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: Khem Raj GCC provides some of std* headers including stddef.h and it syncs with glibc definitions via __needed* defines to find which datatypes are expected to be defined on top of glibc. we need same for musl. Drop unused 0048-ARM-PR-target-71056-Don-t-use-vectorized-builtins-wh.patch Signed-off-by: Khem Raj Signed-off-by: Ross Burton (cherry picked from commit 7da04721a620ad741ea50adf116e6b5afd47caa5) --- meta/recipes-devtools/gcc/gcc-6.3.inc | 1 + ...et-71056-Don-t-use-vectorized-builtins-wh.patch | 92 ---------------------- .../gcc-6.3/0048-sync-gcc-stddef.h-with-musl.patch | 91 +++++++++++++++++++++ 3 files changed, 92 insertions(+), 92 deletions(-) delete mode 100644 meta/recipes-devtools/gcc/gcc-6.3/0048-ARM-PR-target-71056-Don-t-use-vectorized-builtins-wh.patch create mode 100644 meta/recipes-devtools/gcc/gcc-6.3/0048-sync-gcc-stddef.h-with-musl.patch -- 2.15.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-6.3.inc b/meta/recipes-devtools/gcc/gcc-6.3.inc index 15e79bf25c..7cf25ab1b6 100644 --- a/meta/recipes-devtools/gcc/gcc-6.3.inc +++ b/meta/recipes-devtools/gcc/gcc-6.3.inc @@ -78,6 +78,7 @@ SRC_URI = "\ file://0045-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch \ file://0046-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch \ file://0047-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch \ + file://0048-sync-gcc-stddef.h-with-musl.patch \ ${BACKPORTS} \ " BACKPORTS = "\ diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0048-ARM-PR-target-71056-Don-t-use-vectorized-builtins-wh.patch b/meta/recipes-devtools/gcc/gcc-6.3/0048-ARM-PR-target-71056-Don-t-use-vectorized-builtins-wh.patch deleted file mode 100644 index 9c39c7f7ad..0000000000 --- a/meta/recipes-devtools/gcc/gcc-6.3/0048-ARM-PR-target-71056-Don-t-use-vectorized-builtins-wh.patch +++ /dev/null @@ -1,92 +0,0 @@ -From 84d2a5509892b65ed60d39e6e2f9719e3762e40e Mon Sep 17 00:00:00 2001 -From: ktkachov -Date: Tue, 31 May 2016 08:29:39 +0000 -Subject: [PATCH] [ARM] PR target/71056: Don't use vectorized builtins when - NEON is not available - - PR target/71056 - * config/arm/arm-builtins.c (arm_builtin_vectorized_function): Return - NULL_TREE early if NEON is not available. Remove now redundant check - in ARM_CHECK_BUILTIN_MODE. - - * gcc.target/arm/pr71056.c: New test. - - - -git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@236910 138bc75d-0d04-0410-961f-82ee72b054a4 ---- -Upstream-Status: Backport -Signed-off-by: Khem Raj - - gcc/ChangeLog | 7 +++++++ - gcc/config/arm/arm-builtins.c | 6 +++++- - gcc/testsuite/ChangeLog | 5 +++++ - gcc/testsuite/gcc.target/arm/pr71056.c | 32 ++++++++++++++++++++++++++++++++ - 4 files changed, 49 insertions(+), 1 deletion(-) - create mode 100644 gcc/testsuite/gcc.target/arm/pr71056.c - -diff --git a/gcc/config/arm/arm-builtins.c b/gcc/config/arm/arm-builtins.c -index 90fb40f..68b2839 100644 ---- a/gcc/config/arm/arm-builtins.c -+++ b/gcc/config/arm/arm-builtins.c -@@ -2861,6 +2861,10 @@ arm_builtin_vectorized_function (unsigned int fn, tree type_out, tree type_in) - int in_n, out_n; - bool out_unsigned_p = TYPE_UNSIGNED (type_out); - -+ /* Can't provide any vectorized builtins when we can't use NEON. */ -+ if (!TARGET_NEON) -+ return NULL_TREE; -+ - if (TREE_CODE (type_out) != VECTOR_TYPE - || TREE_CODE (type_in) != VECTOR_TYPE) - return NULL_TREE; -@@ -2875,7 +2879,7 @@ arm_builtin_vectorized_function (unsigned int fn, tree type_out, tree type_in) - NULL_TREE is returned if no such builtin is available. */ - #undef ARM_CHECK_BUILTIN_MODE - #define ARM_CHECK_BUILTIN_MODE(C) \ -- (TARGET_NEON && TARGET_FPU_ARMV8 \ -+ (TARGET_FPU_ARMV8 \ - && flag_unsafe_math_optimizations \ - && ARM_CHECK_BUILTIN_MODE_1 (C)) - -diff --git a/gcc/testsuite/gcc.target/arm/pr71056.c b/gcc/testsuite/gcc.target/arm/pr71056.c -new file mode 100644 -index 0000000..136754e ---- /dev/null -+++ b/gcc/testsuite/gcc.target/arm/pr71056.c -@@ -0,0 +1,32 @@ -+/* PR target/71056. */ -+/* { dg-do compile } */ -+/* { dg-require-effective-target arm_vfp3_ok } */ -+/* { dg-options "-O3 -mfpu=vfpv3" } */ -+ -+/* Check that compiling for a non-NEON target doesn't try to introduce -+ a NEON vectorized builtin. */ -+ -+extern char *buff; -+int f2 (); -+struct T1 -+{ -+ int reserved[2]; -+ unsigned int ip; -+ unsigned short cs; -+ unsigned short rsrv2; -+}; -+void -+f3 (const char *p) -+{ -+ struct T1 x; -+ __builtin_memcpy (&x, p, sizeof (struct T1)); -+ x.reserved[0] = __builtin_bswap32 (x.reserved[0]); -+ x.reserved[1] = __builtin_bswap32 (x.reserved[1]); -+ x.ip = __builtin_bswap32 (x.ip); -+ x.cs = x.cs << 8 | x.cs >> 8; -+ x.rsrv2 = x.rsrv2 << 8 | x.rsrv2 >> 8; -+ if (f2 ()) -+ { -+ __builtin_memcpy (buff, "\n", 1); -+ } -+} --- -2.9.0 - diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0048-sync-gcc-stddef.h-with-musl.patch b/meta/recipes-devtools/gcc/gcc-6.3/0048-sync-gcc-stddef.h-with-musl.patch new file mode 100644 index 0000000000..30c158d7da --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc-6.3/0048-sync-gcc-stddef.h-with-musl.patch @@ -0,0 +1,91 @@ +From 10595c03c39b4e980d2a00e16fc84e9caf82292e Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Fri, 3 Feb 2017 12:56:00 -0800 +Subject: [PATCH 48/48] sync gcc stddef.h with musl + +musl defines ptrdiff_t size_t and wchar_t +so dont define them here if musl is definining them + +Signed-off-by: Khem Raj +--- +Upstream-Status: Pending + + gcc/ginclude/stddef.h | 9 +++++++++ + 1 file changed, 9 insertions(+) + +diff --git a/gcc/ginclude/stddef.h b/gcc/ginclude/stddef.h +index d711530d053..c315b7a97c1 100644 +--- a/gcc/ginclude/stddef.h ++++ b/gcc/ginclude/stddef.h +@@ -134,6 +134,7 @@ _TYPE_wchar_t; + #ifndef ___int_ptrdiff_t_h + #ifndef _GCC_PTRDIFF_T + #ifndef _PTRDIFF_T_DECLARED /* DragonFly */ ++#ifndef __DEFINED_ptrdiff_t /* musl */ + #define _PTRDIFF_T + #define _T_PTRDIFF_ + #define _T_PTRDIFF +@@ -143,10 +144,12 @@ _TYPE_wchar_t; + #define ___int_ptrdiff_t_h + #define _GCC_PTRDIFF_T + #define _PTRDIFF_T_DECLARED ++#define __DEFINED_ptrdiff_t /* musl */ + #ifndef __PTRDIFF_TYPE__ + #define __PTRDIFF_TYPE__ long int + #endif + typedef __PTRDIFF_TYPE__ ptrdiff_t; ++#endif /* __DEFINED_ptrdiff_t */ + #endif /* _PTRDIFF_T_DECLARED */ + #endif /* _GCC_PTRDIFF_T */ + #endif /* ___int_ptrdiff_t_h */ +@@ -184,6 +187,7 @@ typedef __PTRDIFF_TYPE__ ptrdiff_t; + #ifndef _GCC_SIZE_T + #ifndef _SIZET_ + #ifndef __size_t ++#ifndef __DEFINED_size_t /* musl */ + #define __size_t__ /* BeOS */ + #define __SIZE_T__ /* Cray Unicos/Mk */ + #define _SIZE_T +@@ -200,6 +204,7 @@ typedef __PTRDIFF_TYPE__ ptrdiff_t; + #define ___int_size_t_h + #define _GCC_SIZE_T + #define _SIZET_ ++#define __DEFINED_size_t /* musl */ + #if (defined (__FreeBSD__) && (__FreeBSD__ >= 5)) \ + || defined(__DragonFly__) \ + || defined(__FreeBSD_kernel__) +@@ -235,6 +240,7 @@ typedef long ssize_t; + #endif /* _SIZE_T */ + #endif /* __SIZE_T__ */ + #endif /* __size_t__ */ ++#endif /* __DEFINED_size_t */ + #undef __need_size_t + #endif /* _STDDEF_H or __need_size_t. */ + +@@ -264,6 +270,7 @@ typedef long ssize_t; + #ifndef ___int_wchar_t_h + #ifndef __INT_WCHAR_T_H + #ifndef _GCC_WCHAR_T ++#ifndef __DEFINED_wchar_t /* musl */ + #define __wchar_t__ /* BeOS */ + #define __WCHAR_T__ /* Cray Unicos/Mk */ + #define _WCHAR_T +@@ -279,6 +286,7 @@ typedef long ssize_t; + #define __INT_WCHAR_T_H + #define _GCC_WCHAR_T + #define _WCHAR_T_DECLARED ++#define __DEFINED_wchar_t /* musl */ + + /* On BSD/386 1.1, at least, machine/ansi.h defines _BSD_WCHAR_T_ + instead of _WCHAR_T_, and _BSD_RUNE_T_ (which, unlike the other +@@ -344,6 +352,7 @@ typedef __WCHAR_TYPE__ wchar_t; + #endif + #endif /* __WCHAR_T__ */ + #endif /* __wchar_t__ */ ++#endif /* __DEFINED_wchar_t musl */ + #undef __need_wchar_t + #endif /* _STDDEF_H or __need_wchar_t. */ + +-- +2.11.0 + From patchwork Sun Mar 11 00:42:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Jansa X-Patchwork-Id: 131318 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp2623000lja; Sat, 10 Mar 2018 16:43:56 -0800 (PST) X-Google-Smtp-Source: AG47ELt81FpFpO1l1wsluMHyxWmqHXIf/GANifriePCRQHtCTatTajxukFI9fxNyaJlMrHPVsnuZ X-Received: by 10.99.64.198 with SMTP id n189mr2796618pga.191.1520729036027; Sat, 10 Mar 2018 16:43:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520729036; cv=none; d=google.com; s=arc-20160816; b=Hvgi7C7EJKq9uPPp2BMf5hNhbuHMGPrPlZHLSkB30lJqZjsUoSgczyESxPlBVqCmqX ei71pgnodZoOBu8aeD6DYoViwNyGFmUnIaTZ1q8F5E4AvjagmozWF5dG1DlMn8g2aMI0 XDYOWjDoOa4vW6ActsGZoPhciFdo/ZY5P5kFjclVE/2H9of84GCokEKSW6mkqccRyUbT mEY3mFA6DC52E6uAzV+BGCf8dWY5cjKoQjLlJ39Dma+Cz+ByvRG77Keanxh7iy2v8gMm pKfuXS01DdgB8vfarldlZf04kgCdWdP6uJcxh0Mmcl6o7Tbd1cca3bOnRBRudZaLmJ2b 8I3Q== 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=ITsmBEONm89crAOsfI0gzmPwe+snlYrP3kmGSxmsMfc=; b=Gu5Yt/xIB9pfihaHw7p2RP25A7IA8yx/EDKIjgry2ZfTvQBedMII+OQ4rxY0ONYkUz SN9b4Rn9AnPi/C+OZNAuvyDpp7bJ2KC2O7/W7K2K4K4ElQMJBCAsxKwOKH8BhK5abhCM S7KhMP1BCpGJYfY6XJsDooiV+CE11OsXB4I03+r3e3uz0tixOgo145bcOwo9c8ag/XKF Li4h0h9nZwfUJAHZZFCSc2LvRLB5uAMg7OOXbMyZ+kvvnsuFOzZ7r0471w8COptzkmHK Ng7hwKfUZ9+ii/lxT+37e6i9+TsQAvdbV6K21XKoxNcA0iMRkgfZ7qFIjQ8YIxc15riw u+gw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=jAMqXR+0; 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 r23si2929151pgv.368.2018.03.10.16.43.55; Sat, 10 Mar 2018 16:43: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=jAMqXR+0; 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 14F8E78934; Sun, 11 Mar 2018 00:43:01 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wr0-f170.google.com (mail-wr0-f170.google.com [209.85.128.170]) by mail.openembedded.org (Postfix) with ESMTP id A55B7788CE for ; Sun, 11 Mar 2018 00:42:43 +0000 (UTC) Received: by mail-wr0-f170.google.com with SMTP id m12so12286644wrm.13 for ; Sat, 10 Mar 2018 16:42:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references; bh=octpf6+20RGVY7kpo8jV5KTxGscfSgYA7n+lNlk7Fs4=; b=jAMqXR+0LxDE7unBa2dSnFu0aW3u8Zj4cnUjSWamqIodVz1styrE98xJzMgtiIYOf7 EJLBzkrnfAoRz/9PKdOAiclWYXwDjcBwoVAdfQHryJYAATZj1N59paF5XazMHjIf5Mo6 ZO+W//DTJEsusyCEkPf1vojPqIZ6tBRSleZsRYRMVXtDDj0ItbT43KdyxZNQ4KFzVRWs pOMu+brc8PpZAFdNpolzqLjYXN6KyUBTIrJuxLG7a32LbfdMg7i1eUvMx9i+3IqJPcNt T/7M8+J0e/AL5jxejuqmlHPLav/w/R6Vefc68CdoL3BhuQTxojsJa0kaApMGM+dQxA0x iuGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=octpf6+20RGVY7kpo8jV5KTxGscfSgYA7n+lNlk7Fs4=; b=hWbkxzV52qrSIxZ4BzCQK+U/r29i7USEVMEhZVhI4Q8z41FKiCb2hFy5QVTNhqL+s/ /awSTy8gM+jrTzeDhGK/cO6GOLrFoNRuvaJyUKyf5Ce/E8FpGXsDm6oTjDW8KlgQpCRm CQkWVAuUzWm1qxZ9VFf+L3029iehNSQvrqhyVTPftAsfOv/ur0iYMAh+h2TMbJOGtDM7 TyNqvzeJWr+Eks01D90rCPqb9L9Q/jG6sc6sXgA5vnhJnI7EmLn0RSObv21ClQUtNIm4 F6epLVw+eE3xqsuecgLkePxGAyCEpLujOvCWGMleizZS7vTicam4N9Mntf9x4DB4wesf wl+w== X-Gm-Message-State: AElRT7EaXYw+DnaYVY0wKbfjPJGDCyRdbv2UzZJQPYhoLncKURMNXAfP mi46xfeJsaCspdJRKyFAOW0fAA== X-Received: by 10.223.132.103 with SMTP id 94mr2464949wrf.275.1520728964408; Sat, 10 Mar 2018 16:42:44 -0800 (PST) Received: from localhost ([217.30.68.212]) by smtp.gmail.com with ESMTPSA id j137sm3505236wmd.17.2018.03.10.16.42.43 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 10 Mar 2018 16:42:43 -0800 (PST) From: Martin Jansa X-Google-Original-From: Martin Jansa To: Armin Kuster , openembedded-core@lists.openembedded.org Date: Sun, 11 Mar 2018 00:42:21 +0000 Message-Id: <7f5485d2b8f978964f1f932fd328c98d0a1872c0.1520728802.git.Martin.Jansa@gmail.com> X-Mailer: git-send-email 2.15.1 In-Reply-To: References: Subject: [OE-core] [morty][PATCH 09/16] gcc-6.3: Backport patch to fix ICE on ARM 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: Khem Raj Fixes internal compiler error: Max. number of generated reload insns per insn is achieved (90) Signed-off-by: Khem Raj Signed-off-by: Richard Purdie (cherry picked from commit d2631f45a057c53797b7ba657662f35f66a2b04e) --- meta/recipes-devtools/gcc/gcc-6.3.inc | 1 + ...-relax-the-restriction-on-subreg-reload-f.patch | 51 ++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 meta/recipes-devtools/gcc/gcc-6.3/0056-LRA-PR70904-relax-the-restriction-on-subreg-reload-f.patch -- 2.15.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-6.3.inc b/meta/recipes-devtools/gcc/gcc-6.3.inc index d74f12c466..0d98be3861 100644 --- a/meta/recipes-devtools/gcc/gcc-6.3.inc +++ b/meta/recipes-devtools/gcc/gcc-6.3.inc @@ -81,6 +81,7 @@ SRC_URI = "\ file://0048-sync-gcc-stddef.h-with-musl.patch \ file://0054_all_nopie-all-flags.patch \ file://0055-unwind_h-glibc26.patch \ + file://0056-LRA-PR70904-relax-the-restriction-on-subreg-reload-f.patch \ ${BACKPORTS} \ " BACKPORTS = "\ diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0056-LRA-PR70904-relax-the-restriction-on-subreg-reload-f.patch b/meta/recipes-devtools/gcc/gcc-6.3/0056-LRA-PR70904-relax-the-restriction-on-subreg-reload-f.patch new file mode 100644 index 0000000000..231f147619 --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc-6.3/0056-LRA-PR70904-relax-the-restriction-on-subreg-reload-f.patch @@ -0,0 +1,51 @@ +From a582b0a53d1dc8604a201348b99ca8de48784e7e Mon Sep 17 00:00:00 2001 +From: jiwang +Date: Thu, 12 May 2016 17:00:52 +0000 +Subject: [PATCH] [LRA] PR70904, relax the restriction on subreg reload for + wide mode + +2016-05-12 Jiong Wang + +gcc/ + PR rtl-optimization/70904 + * lra-constraint.c (process_addr_reg): Relax the restriction on + subreg reload for wide mode. + +git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@236181 138bc75d-0d04-0410-961f-82ee72b054a4 +--- +Upstream-Status: Backport +Signed-off-by: Khem Raj + + gcc/lra-constraints.c | 16 +++++++++++++++- + 1 file changed, 15 insertions(+), 1 deletion(-) + +diff --git a/gcc/lra-constraints.c b/gcc/lra-constraints.c +index f96fd458e23..73fb72a2ea5 100644 +--- a/gcc/lra-constraints.c ++++ b/gcc/lra-constraints.c +@@ -1326,7 +1326,21 @@ process_addr_reg (rtx *loc, bool check_only_p, rtx_insn **before, rtx_insn **aft + + subreg_p = GET_CODE (*loc) == SUBREG; + if (subreg_p) +- loc = &SUBREG_REG (*loc); ++ { ++ reg = SUBREG_REG (*loc); ++ mode = GET_MODE (reg); ++ ++ /* For mode with size bigger than ptr_mode, there unlikely to be "mov" ++ between two registers with different classes, but there normally will ++ be "mov" which transfers element of vector register into the general ++ register, and this normally will be a subreg which should be reloaded ++ as a whole. This is particularly likely to be triggered when ++ -fno-split-wide-types specified. */ ++ if (in_class_p (reg, cl, &new_class) ++ || GET_MODE_SIZE (mode) <= GET_MODE_SIZE (ptr_mode)) ++ loc = &SUBREG_REG (*loc); ++ } ++ + reg = *loc; + mode = GET_MODE (reg); + if (! REG_P (reg)) +-- +2.14.2 + From patchwork Sun Mar 11 00:42:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Jansa X-Patchwork-Id: 131319 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp2623080lja; Sat, 10 Mar 2018 16:44:04 -0800 (PST) X-Google-Smtp-Source: AG47ELtQr70vLQlR41jXF29/g+SPBqLE6sNMcDNmWircB3vtamAU4YPfEisEmT4R5o9h1Q/UYm0r X-Received: by 10.98.237.12 with SMTP id u12mr3338415pfh.72.1520729044250; Sat, 10 Mar 2018 16:44:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520729044; cv=none; d=google.com; s=arc-20160816; b=cOXOFuT01uC/SliXksZvYpPmh6JK5k/EEl1WhHbiOD8kJ/f2hqpbB/IZWLNBA3PG+P f5yxpbf3D7zexq4UT/E/TPWhr1qmAnhoyQsf3IzoICV6VjL4dAdKKH11pCGbz9GCutwN N5E8snAIhK3tDkSiObLIxA3tFdrdHdDRMmmrJfu3qsjsykNBoS5bjcCzKEY71+0nB8oQ 1855MI0on+AtPR2oo1jtjELm0PTJWieTyF2BObPErUvTEWlM/fIwbhW2aKjZk8JftCqN JpAIRNOXxN2/hFpeYfotxyZdsBdF/4h19q74n+lPASuMrtioT3EXpRxO/pXFFRv2/dHg kBmA== 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=Mbc5kniHFFqLNjBiJoVo/YPjCwOX52y6Csita+J4jMg=; b=XeTgM9sRvnjMl6ZHb3rPLJ8NjnZ9gGeq7SW+L3awna4ON4dReZ8axRYJ4feE4IMWtI tYyCIJi1QfmTZJOn82mLCPTNA4XdaL9UrVZcHD7S72v+FlO8taUSykPV9ZwkFaxemzje w+z3abYJzBhJ9wJ7xUMrMe5dGz4WH5mZWiblJUkOSyOOKyapiYrjoDF3cReDmtel3JxT icVIDdqKcd0Q0/ExTn6iwzkLWUakkXnaaNkILvWEH1y7dPME3Irrg2bE9CsV0yeniqwq UGp1eZKMu9c5t1KGF5YLZDCW9Ip+Rg3rNRCFa5KCuhZpeNvLMtJAAIjV5VzfnEr+I1Sj 5QCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=li9mpFCU; 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 c7-v6si3463962plo.432.2018.03.10.16.44.03; Sat, 10 Mar 2018 16:44:04 -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=li9mpFCU; 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 1FEA17893A; Sun, 11 Mar 2018 00:43:02 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wr0-f194.google.com (mail-wr0-f194.google.com [209.85.128.194]) by mail.openembedded.org (Postfix) with ESMTP id 64A57788CE for ; Sun, 11 Mar 2018 00:42:44 +0000 (UTC) Received: by mail-wr0-f194.google.com with SMTP id e22so1565320wra.7 for ; Sat, 10 Mar 2018 16:42:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references; bh=mx39QVHPf0In8NwTceVRAmDTjq/44UEECLKoc7fu2Hc=; b=li9mpFCUUdq2KzutZbZhwIiqsWNrCn5hBuc39RNhcK7Yg2bsKE15p90JzVy3uoRBlK I6EqJiALb48y5OnXAxg198A9yj547kRlL0VziBPfVb+xreZkf155b3gpabOl7fUfWfEM N4r8wAwe2mq/9jQM0YQmvA7G8SGO/XFJQ0SgQ9A7+kj1+es9MSvolRzafIJAYAwhav+I J3c3Fs6Yvg/99JcpTiLW0zPubC1ONXgTwu309OrNAoGipAkDgezn7OznUtIfVNLQpx95 bRpOWbWpVFBpUJ6f50dvCZ10yaJAcjeW0Rya35+wON7lRQen2cQqVhjqmuwaYboF1gQn 0MNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=mx39QVHPf0In8NwTceVRAmDTjq/44UEECLKoc7fu2Hc=; b=g+J2bDXZgP5w8P5F8P9rxoAvjms2xZc6wbb2JwVANxa3MOMkpbbHOQOCOo1SKZOK7T +P6jeqYwphk0A+E0zvVxzDhHdXe1NE3FgwvWjsFXmblDDtoazRqCv19+RI627SU0WTFD jwksFwuSPA7aPTLc+HJYv5ij3xK0ka0+NvRG6weM9FmZ3jdRoawf35PfRyo2IUL9BTEV a5h7P/VTMKTWfrKMR/OqAfFYcK7qxqogAvQxomHrUU/AFfexnBLlJHmAZOrcDngSJSwo p5IxHOw+0Si624qkIO3xbvWVKbm6RSqPVytpGX7qql4YHr0AMrh8h/RXDK/wnDNvwi4b QixQ== X-Gm-Message-State: AElRT7GlFkPG5ikBAoj/+RhKy1RYm1lqVuzNVeI150Z2IEBgKesbNoQb vlwUreeNBsgBQH4ohYzwxU8= X-Received: by 10.223.145.33 with SMTP id j30mr2420296wrj.172.1520728965617; Sat, 10 Mar 2018 16:42:45 -0800 (PST) Received: from localhost ([217.30.68.212]) by smtp.gmail.com with ESMTPSA id i127sm2585181wmf.33.2018.03.10.16.42.44 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 10 Mar 2018 16:42:44 -0800 (PST) From: Martin Jansa X-Google-Original-From: Martin Jansa To: Armin Kuster , openembedded-core@lists.openembedded.org Date: Sun, 11 Mar 2018 00:42:22 +0000 Message-Id: <5098e46cd7101bcc66dd579352292136b29d840b.1520728802.git.Martin.Jansa@gmail.com> X-Mailer: git-send-email 2.15.1 In-Reply-To: References: Subject: [OE-core] [morty][PATCH 10/16] gcc-runtime: Disable libitm on riscv 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: Khem Raj Signed-off-by: Khem Raj Signed-off-by: Ross Burton (cherry picked from commit 21caa8bcda93ce67ef58548f7b85d0569d13d0b9) --- meta/recipes-devtools/gcc/gcc-runtime.inc | 2 ++ 1 file changed, 2 insertions(+) -- 2.15.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-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc index 15252f1a40..d5339b9a19 100644 --- a/meta/recipes-devtools/gcc/gcc-runtime.inc +++ b/meta/recipes-devtools/gcc/gcc-runtime.inc @@ -27,6 +27,8 @@ RUNTIMELIBITM_mipsisa64r6 = "" RUNTIMELIBITM_mipsisa64r6el = "" RUNTIMELIBITM_nios2 = "" RUNTIMELIBITM_microblaze = "" +RUNTIMELIBITM_riscv32 = "" +RUNTIMELIBITM_riscv64 = "" RUNTIMETARGET = "libssp libstdc++-v3 libgomp libatomic ${RUNTIMELIBITM} \ ${@bb.utils.contains_any('FORTRAN', [',fortran',',f77'], 'libquadmath', '', d)} \ From patchwork Sun Mar 11 00:42:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Jansa X-Patchwork-Id: 131320 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp2623137lja; Sat, 10 Mar 2018 16:44:12 -0800 (PST) X-Google-Smtp-Source: AG47ELsvNUNc+1lONQ8T9XdqNdGUexWnFJfkNBF2KRdA0w/AM+KbdBs0WkFCVDwmL5LQdsJE9Vxg X-Received: by 2002:a17:902:96a:: with SMTP id 97-v6mr3430308plm.183.1520729051943; Sat, 10 Mar 2018 16:44:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520729051; cv=none; d=google.com; s=arc-20160816; b=FJZKedu7KyRlQefElmvF3jP4fKfSEviowO1PqXonuDiwMGpKVKmpJxE+C8ToyjymFm n3kpbLl9EaCXkuY4B5P3XsC5fCNJXjLX+Qf8oHUrMruUkCZc7C1eER2S7v5I28OOX4u8 0uWTn+6wexPOaurvocvc4LbPlILKW80mXEWeVPJZU9Oy+5NUMohJ0Le5lRUhn5f/HhEZ p61ROgSwktcln4hgO3VDjmr6iHBCd0NXOoPBzwanAn5pZisgvzTRjgJvV9FanQYOaNCq oEnAuV4dtZqHttwbncQfpYA9/8eyE289gppVHSeY7tRVrNt3T2dLJFnjRnAGqgkwk31V XyiQ== 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=0KlEZBJitNg6eATJljWCbDVsKOdRFJ6jawS9CR/0s3Y=; b=qUe/rrUcu5Vas0JuD9lTvcgFk+pitgtGRw4pJY/IEf1fOi1unFOGyIDP6s0W2OiA0/ FqrEfRYotIJFEdS4eSYuYPqgz2CsdM5QbQ64slAX+vL5aW1Kmmq4yFQi2F0HNMP8Nnjt dQTGAZK6FkeAqVWLS6ys8zLsuWXtiT5CmPR9vs1ncXlfezZyxLcAJZn6dwu+UyQtmB1Z nU4/EtI/RiGZIa5aqWxAKANKxzOuswA6l08S6a9zfrYSYtU4rgx1OH71TzPQqdrbvyl4 U59fQmxFX3vvfACPTGsdsSpDTyoeUqbj0tea9pkz8EDMHyw/bFgQNmK6Nu1Z8STXabKH U6kw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=TVwN86sW; 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 u3si2906412pgr.447.2018.03.10.16.44.11; Sat, 10 Mar 2018 16:44:11 -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=TVwN86sW; 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 4D1BD78940; Sun, 11 Mar 2018 00:43:03 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wr0-f194.google.com (mail-wr0-f194.google.com [209.85.128.194]) by mail.openembedded.org (Postfix) with ESMTP id 0FC3C788D4 for ; Sun, 11 Mar 2018 00:42:45 +0000 (UTC) Received: by mail-wr0-f194.google.com with SMTP id v18so12298738wrv.0 for ; Sat, 10 Mar 2018 16:42:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references; bh=PlJleQJ4SgQaqpkADFSpuOM8/N6eKEMY3MEeK+jpyho=; b=TVwN86sWC0waYwQr/WQnXT+a51RY4lbWqcOe+x2m0fwZ4fLCLj+68MG920+v/QTqnd 0RkjlVE1u3f3ytftiaD9R0wJ+ufR+MZpFE7P6T7Keucg15eo1i3XL/PLxuiAF5gFAFRz +AueudBhVK0vgwVwUW1h45V3HVgOSSOvQ2jDrJkB282OWFppVnpFxdc6z5zijNBf4KKU 0PMvKJvXg8713Hqr/ABGYU3Ry8gOMwLPI+lEmPJnS2Tmc4gWCHTVbct/13wxFAcQygO6 SWUQIWalHQ9J7Yt4VSIdPQ2kDN85RrHOxIDdx1P//KnWxsRdPpy5oRq3t4UlOUmuvHD0 zC9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=PlJleQJ4SgQaqpkADFSpuOM8/N6eKEMY3MEeK+jpyho=; b=nVrpnbk5TB1Np/3lVx+gzEgZYL9A990dMh/pOJZCMWQ2+wHPOxs0bTQbGFcVuFpmXP NYG2AW60nBbjhGI6ZMz4smw9tBIIVZ4gDH3Qx2nIn3Z+C88WZQKJ21mdl8ddA5vkuJ3x 15eO/faUwB9+NFkRAjKCi+87vhLzkRIp23FYqw+rA6VZVd9VxLuiqi7ZZcLmxPFJJbAv s+DgRBk0Wg1szlgFjAwLOc70KIbqviqMn+gxoeeyxHLbzzg4Gdjq3MBMbLo9kSJ6ehPn lH+kvPwq0apbDJ4FuvoaP4HlrBpbS7H2hQZPT/YuV1+2m2I5qy0TbizUtTTLul4gMMwD /DRA== X-Gm-Message-State: AElRT7G4thfd98aJHl0GsC5ISli9sAzmub1jx4vxhe88Dkbnhc1jPlmX hfrOrkXEE750g8xe3IUIn5Ay7A== X-Received: by 10.223.196.141 with SMTP id m13mr1177523wrf.173.1520728966785; Sat, 10 Mar 2018 16:42:46 -0800 (PST) Received: from localhost ([217.30.68.212]) by smtp.gmail.com with ESMTPSA id w17sm6333428wrb.12.2018.03.10.16.42.45 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 10 Mar 2018 16:42:46 -0800 (PST) From: Martin Jansa X-Google-Original-From: Martin Jansa To: Armin Kuster , openembedded-core@lists.openembedded.org Date: Sun, 11 Mar 2018 00:42:23 +0000 Message-Id: <27eaa97595cbac38a8bec118fe3d5f8920ab814e.1520728802.git.Martin.Jansa@gmail.com> X-Mailer: git-send-email 2.15.1 In-Reply-To: References: Subject: [OE-core] [morty][PATCH 11/16] gcc: Link libssp_nonshared.a only on musl targets 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: Khem Raj glibc already provides the content for libssp_nonshared in libc_nonshared.a therefore we dont need to make it universal. This also fixed build issues on glibc when linking statically and using -fstack-protector Fixed errors like /mnt/a/oe/build/tmp/work/i586-bec-linux/aufs-util/3.14+gitAUTOINC+bdfcc0dcfc-r0/recipe-sysroot/usr/lib/../lib/libc.a(stack_chk_fail.o): In function `__stack_chk_fail': /usr/src/debug/glibc/2.26-r0/git/debug/stack_chk_fail.c:27: multiple definition of `__stack_chk_fail_local' /mnt/a/oe/build/tmp/work/i586-bec-linux/aufs-util/3.14+gitAUTOINC+bdfcc0dcfc-r0/recipe-sysroot/usr/lib/../lib/libssp_nonshared.a(libssp_nonshared_la-ssp-local.o):/usr/src/debug/gcc-runtime/7.1.0-r0/gcc-7.1.0/build.i586-bec-linux.i586-bec-linux/i586-bec-linux/libssp/../../../../../../../../work-shared/gcc-7.1.0-r0/gcc-7.1.0/libssp/ssp-local.c:47: first defined here collect2: error: ld returned 1 exit st atus Cherry-picked from oe-core master d71eba26850838b2878efea3f8c392a2eb2ebbfb Signed-off-by: Khem Raj Signed-off-by: Martin Jansa --- meta/recipes-devtools/gcc/gcc-6.3.inc | 2 +- ...shared-to-link-commandline-for-musl-targe.patch | 42 ++++++++++++++++++++++ .../gcc/gcc-6.3/0041-ssp_nonshared.patch | 28 --------------- 3 files changed, 43 insertions(+), 29 deletions(-) create mode 100644 meta/recipes-devtools/gcc/gcc-6.3/0041-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch delete mode 100644 meta/recipes-devtools/gcc/gcc-6.3/0041-ssp_nonshared.patch -- 2.15.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-6.3.inc b/meta/recipes-devtools/gcc/gcc-6.3.inc index 0d98be3861..7b409f119b 100644 --- a/meta/recipes-devtools/gcc/gcc-6.3.inc +++ b/meta/recipes-devtools/gcc/gcc-6.3.inc @@ -71,7 +71,7 @@ SRC_URI = "\ file://0038-Search-target-sysroot-gcc-version-specific-dirs-with.patch \ file://0039-Fix-various-_FOR_BUILD-and-related-variables.patch \ file://0040-nios2-Define-MUSL_DYNAMIC_LINKER.patch \ - file://0041-ssp_nonshared.patch \ + file://0041-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch \ file://0042-gcc-libcpp-support-ffile-prefix-map-old-new.patch \ file://0043-Reuse-fdebug-prefix-map-to-replace-ffile-prefix-map.patch \ file://0044-gcc-final.c-fdebug-prefix-map-support-to-remap-sourc.patch \ diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0041-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch b/meta/recipes-devtools/gcc/gcc-6.3/0041-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch new file mode 100644 index 0000000000..310f7aacba --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc-6.3/0041-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch @@ -0,0 +1,42 @@ +From 75a42d6d0f1f9784327f74882195a5c24843d5a8 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Tue, 27 Jun 2017 18:10:54 -0700 +Subject: [PATCH 40/49] Add ssp_nonshared to link commandline for musl targets + +when -fstack-protector options are enabled we need to +link with ssp_shared on musl since it does not provide +the __stack_chk_fail_local() so essentially it provides +libssp but not libssp_nonshared something like +TARGET_LIBC_PROVIDES_SSP_BUT_NOT_SSP_NONSHARED + where-as for glibc the needed symbols +are already present in libc_nonshared library therefore +we do not need any library helper on glibc based systems +but musl needs the libssp_noshared from gcc + +Upstream-Status: Pending + +Signed-off-by: Khem Raj +--- + gcc/config/linux.h | 6 ++++++ + 1 file changed, 6 insertions(+) + +diff --git a/gcc/config/linux.h b/gcc/config/linux.h +index 2e683d0c430..5ff0a2cb2ff 100644 +--- a/gcc/config/linux.h ++++ b/gcc/config/linux.h +@@ -182,6 +182,12 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see + { GCC_INCLUDE_DIR, "GCC", 0, 1, 0, 0 }, \ + { 0, 0, 0, 0, 0, 0 } \ + } ++#ifdef TARGET_LIBC_PROVIDES_SSP ++#define LINK_SSP_SPEC "%{fstack-protector|fstack-protector-all" \ ++ "|fstack-protector-strong|fstack-protector-explicit" \ ++ ":-lssp_nonshared}" ++#endif ++ + #endif + + #if (DEFAULT_LIBC == LIBC_UCLIBC) && defined (SINGLE_LIBC) /* uClinux */ +-- +2.13.2 + diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0041-ssp_nonshared.patch b/meta/recipes-devtools/gcc/gcc-6.3/0041-ssp_nonshared.patch deleted file mode 100644 index 0744529741..0000000000 --- a/meta/recipes-devtools/gcc/gcc-6.3/0041-ssp_nonshared.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 551a5db7acb56e085a101f1c222d51b2c1b039a4 Mon Sep 17 00:00:00 2001 -From: Szabolcs Nagy -Date: Sat, 7 Nov 2015 14:58:40 +0000 -Subject: [PATCH 41/46] ssp_nonshared - ---- -Upstream-Status: Inappropriate [OE Configuration] - - gcc/gcc.c | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/gcc/gcc.c b/gcc/gcc.c -index 2812819..9de96ee 100644 ---- a/gcc/gcc.c -+++ b/gcc/gcc.c -@@ -863,7 +863,8 @@ proper position among the other output files. */ - #ifndef LINK_SSP_SPEC - #ifdef TARGET_LIBC_PROVIDES_SSP - #define LINK_SSP_SPEC "%{fstack-protector|fstack-protector-all" \ -- "|fstack-protector-strong|fstack-protector-explicit:}" -+ "|fstack-protector-strong|fstack-protector-explicit" \ -+ ":-lssp_nonshared}" - #else - #define LINK_SSP_SPEC "%{fstack-protector|fstack-protector-all" \ - "|fstack-protector-strong|fstack-protector-explicit" \ --- -2.8.2 - From patchwork Sun Mar 11 00:42:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Jansa X-Patchwork-Id: 131321 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp2623195lja; Sat, 10 Mar 2018 16:44:19 -0800 (PST) X-Google-Smtp-Source: AG47ELsPdWoV/cRzXu+HZ7g8khuHp2ahVohMrJKzKpsVqYYvcq6hYstyvnWVUNWrNliKXZE7ZJC9 X-Received: by 2002:a17:902:5803:: with SMTP id m3-v6mr3381017pli.389.1520729058980; Sat, 10 Mar 2018 16:44:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520729058; cv=none; d=google.com; s=arc-20160816; b=MoT9vwq/6lB+o1D7oTXCq2DaNWDlf4P8y9Ll5by4i700cjHGNheO1UgTkQuhJz9xx1 B4IE0VHPRCMhsyE+slZZCyuhzlRBuXr+RqI0fpDlC9omTUAPQzUeEutswjDah/trxxan lFAiLDeXlNPekMSq8td4tFzCWG0TJDu0zg0stgh2uggVxUHRyqc0Q9SjZ8o/reJAIUI/ u5XhZnYnHvk/irEDzru+SUkdkRnDRRBV94sGhUGv9lFNVJIfRT+sg46OSuSvud8tYL2i ftSN+R7ggoPNAetgmGZRh+BkXheE0aG8hSOaSzMIFNJO1rZsUl6DYlKUca6nV1ottr8I jUEA== 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=Zsbbb2l+nNL9uvXDtRTGaxDoWDyvOk5f77ukKT+YXoQ=; b=mfjLnpJSWFa8HKkS2n/kPNxO/h1x6CgU0kenUI4aiknq6rutq65vB5PsO2Z2TcpxU0 m1vXCsEMRLLwLVHC9DneplcaBbazQAxA5Al48Kv+JQY5ANipnH4zgsDC+rQSkP0QvMaT ZSt9L3EwqyugxY2AvfJ3wItsGAoMPgHn1Br2S6CCAei2tNy5KWm5+pHQEk1Jdn1623MB eDrCdRmaLFmZo4rgCR8BBWzuleH/7sOLQ/mVo2h3QUbrqDmWVPDf0dgaJb7uy8clJKW0 4BBqmnHk7WVnArK+iGOW0q1R9zSCy7aZTGwUxjnFMyzA4aWd409jUFuPkxjd0pIHBCQ8 /q9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=uN+rrBPi; 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 g63si3508562pfb.52.2018.03.10.16.44.18; Sat, 10 Mar 2018 16:44:18 -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=uN+rrBPi; 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 633B078948; Sun, 11 Mar 2018 00:43:04 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wr0-f194.google.com (mail-wr0-f194.google.com [209.85.128.194]) by mail.openembedded.org (Postfix) with ESMTP id C82B8788AC for ; Sun, 11 Mar 2018 00:42:46 +0000 (UTC) Received: by mail-wr0-f194.google.com with SMTP id o8so12317617wra.1 for ; Sat, 10 Mar 2018 16:42:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references; bh=H1hYZ+f9bWqN2yxiSUbhXgKM48fI15FL5ieBxRF7sdc=; b=uN+rrBPiUpOskEMS0lU44cIdmTOuITBV0vonwc150tPrw+PHxEcEbn2uHnX7w9RpbW DcE24wwWJEaFCPFAyYrz4lcQOtCH4dxReZEUQXU18irMizfymFoLSTLyTRY6n8YSS0Js CfUQXxG6m1jKHOpM2imfe8FvmT2t7d7nCfUYYsJ6uyNwOUI4qXQsrx36bqu3aKyEqwk1 NKnJOGpIOasaSvipLZkTJci4VmAuNaBzYlxAjMZw+rhaf1OeYUEGWgfVjhNCxid+yF0q ODFps90ArfwGFO6UpR2fvvcIQ6PbqaJKxADXbCAkAD3tWqgAZUp88Mbb3Y2MqfAdirtB Vy9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=H1hYZ+f9bWqN2yxiSUbhXgKM48fI15FL5ieBxRF7sdc=; b=mtwC90fRXtNUb85NZgKAQUdNV3HygaxoqDD+Z489cS4hSGOM761wLJ2HAsMrISMUL6 AumfoOHp6yK3GRgjUsahPFKGBa7WHR+a2U3ppjW9CsckwvRuYgy32jKT5dLXNsLHlwUc MWkwlUIZ76M6jCG3zcbjBqeIGBSVp6ZqVyF62ii+isU43CmhQ44w4Q3co+5shmAXPbeG 8BQ6O7fRYP6JtrgvZeB+QMjF7KXupbKqX/3Xti6hV6I0qg1Py9sIFVSZCG5hbR27h5fa T877vZEjoejt7PrXivcps9z3JRbyyUQiY918HMqRk6y3JN+YT/QEBgqTk21RErP3Chtz fWug== X-Gm-Message-State: AElRT7Goku8ix1d07+bXcZ4hosEk/mc/RLFJfke2r8kSkvvbkVJazJUw z+3o07O+gdgk4kiCtVV0yMNYeg== X-Received: by 10.223.195.9 with SMTP id n9mr1236592wrf.252.1520728968019; Sat, 10 Mar 2018 16:42:48 -0800 (PST) Received: from localhost ([217.30.68.212]) by smtp.gmail.com with ESMTPSA id c14sm3090193wmh.15.2018.03.10.16.42.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 10 Mar 2018 16:42:47 -0800 (PST) From: Martin Jansa X-Google-Original-From: Martin Jansa To: Armin Kuster , openembedded-core@lists.openembedded.org Date: Sun, 11 Mar 2018 00:42:24 +0000 Message-Id: <7d391a9e566a6ddc2970fc666a45570310bdc780.1520728802.git.Martin.Jansa@gmail.com> X-Mailer: git-send-email 2.15.1 In-Reply-To: References: Subject: [OE-core] [morty][PATCH 12/16] gcc: Fix libssh_nonshared linker specs for ppc/musl 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: Khem Raj The change to link libssp_nonshared.a only for musl was to move spec file changes to config/linux.h under a conditional when DEFAULT_LIBC == LIBC_MUSL which worked fine for all but ppc since gcc for ppc provided its own linux.h overrides which are used. This patch duplicates the change in those headers too Cherry-picked from oe-core master 9d39168a6acfa1f289a4448271c0bf9caaea10ec Signed-off-by: Khem Raj Signed-off-by: Ross Burton Signed-off-by: Martin Jansa --- ...shared-to-link-commandline-for-musl-targe.patch | 55 ++++++++++++++++++++-- 1 file changed, 50 insertions(+), 5 deletions(-) -- 2.15.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-6.3/0041-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch b/meta/recipes-devtools/gcc/gcc-6.3/0041-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch index 310f7aacba..29b7ce72d2 100644 --- a/meta/recipes-devtools/gcc/gcc-6.3/0041-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch +++ b/meta/recipes-devtools/gcc/gcc-6.3/0041-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch @@ -1,4 +1,4 @@ -From 75a42d6d0f1f9784327f74882195a5c24843d5a8 Mon Sep 17 00:00:00 2001 +From 210f6b3b82084cc756e02b8bc12f909a43b14ee8 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 27 Jun 2017 18:10:54 -0700 Subject: [PATCH 40/49] Add ssp_nonshared to link commandline for musl targets @@ -17,18 +17,21 @@ Upstream-Status: Pending Signed-off-by: Khem Raj --- - gcc/config/linux.h | 6 ++++++ - 1 file changed, 6 insertions(+) + gcc/config/linux.h | 7 +++++++ + gcc/config/rs6000/linux.h | 10 ++++++++++ + gcc/config/rs6000/linux64.h | 10 ++++++++++ + 3 files changed, 27 insertions(+) diff --git a/gcc/config/linux.h b/gcc/config/linux.h -index 2e683d0c430..5ff0a2cb2ff 100644 +index 2e683d0c430..1b4df798671 100644 --- a/gcc/config/linux.h +++ b/gcc/config/linux.h -@@ -182,6 +182,12 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +@@ -182,6 +182,13 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see { GCC_INCLUDE_DIR, "GCC", 0, 1, 0, 0 }, \ { 0, 0, 0, 0, 0, 0 } \ } +#ifdef TARGET_LIBC_PROVIDES_SSP ++#undef LINK_SSP_SPEC +#define LINK_SSP_SPEC "%{fstack-protector|fstack-protector-all" \ + "|fstack-protector-strong|fstack-protector-explicit" \ + ":-lssp_nonshared}" @@ -37,6 +40,48 @@ index 2e683d0c430..5ff0a2cb2ff 100644 #endif #if (DEFAULT_LIBC == LIBC_UCLIBC) && defined (SINGLE_LIBC) /* uClinux */ +diff --git a/gcc/config/rs6000/linux.h b/gcc/config/rs6000/linux.h +index 684afd6c190..22cfa391b89 100644 +--- a/gcc/config/rs6000/linux.h ++++ b/gcc/config/rs6000/linux.h +@@ -91,6 +91,16 @@ + " -m elf32ppclinux") + #endif + ++/* link libssp_nonshared.a with musl */ ++#if DEFAULT_LIBC == LIBC_MUSL ++#ifdef TARGET_LIBC_PROVIDES_SSP ++#undef LINK_SSP_SPEC ++#define LINK_SSP_SPEC "%{fstack-protector|fstack-protector-all" \ ++ "|fstack-protector-strong|fstack-protector-explicit" \ ++ ":-lssp_nonshared}" ++#endif ++#endif ++ + #undef LINK_OS_LINUX_SPEC + #define LINK_OS_LINUX_SPEC LINK_OS_LINUX_EMUL " %{!shared: %{!static: \ + %{rdynamic:-export-dynamic} \ +diff --git a/gcc/config/rs6000/linux64.h b/gcc/config/rs6000/linux64.h +index 3b00ec0fcf0..8371f8d7b6b 100644 +--- a/gcc/config/rs6000/linux64.h ++++ b/gcc/config/rs6000/linux64.h +@@ -465,6 +465,16 @@ extern int dot_symbols; + " -m elf64ppc") + #endif + ++/* link libssp_nonshared.a with musl */ ++#if DEFAULT_LIBC == LIBC_MUSL ++#ifdef TARGET_LIBC_PROVIDES_SSP ++#undef LINK_SSP_SPEC ++#define LINK_SSP_SPEC "%{fstack-protector|fstack-protector-all" \ ++ "|fstack-protector-strong|fstack-protector-explicit" \ ++ ":-lssp_nonshared}" ++#endif ++#endif ++ + #define LINK_OS_LINUX_SPEC32 LINK_OS_LINUX_EMUL32 " %{!shared: %{!static: \ + %{rdynamic:-export-dynamic} \ + -dynamic-linker " GNU_USER_DYNAMIC_LINKER32 "}} \ -- 2.13.2 From patchwork Sun Mar 11 00:42:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Martin Jansa X-Patchwork-Id: 131322 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp2623252lja; Sat, 10 Mar 2018 16:44:26 -0800 (PST) X-Google-Smtp-Source: AG47ELtkZ/3W5G4daK36cB/Phyr6QCDJ1fOxpfH+VzA71MMYUqsvayV7R2j4yW+9zKEHV0ExuUke X-Received: by 10.99.164.25 with SMTP id c25mr2816688pgf.235.1520729066418; Sat, 10 Mar 2018 16:44:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520729066; cv=none; d=google.com; s=arc-20160816; b=MGiYDSkoStYWkpWmtCAqy7uHSBu1KaskLoTrJ9pXeQGDgrPeMFNm86NMYIgH7MzorX z95Le85UUtDejoxiJ2e1f5Cj9u8c6PvRppodRqFHWkvN6XmWvXAwQ8M75LEUBVKzuKJt HiBxg6k86hxLcoNKJWskcjRLEWeGGLkKc6E2d3x8yqP1qcBTQonv6C42O3EemcDULTZN OOFoj2///alQ9Lvjx3TYCyqzcU3bYjGWuwhR8bnp0HY6I2Vzj+43DYD2ZtJupdaAyq5L YdCsISVqQyHvezm8Z6QGVBE5cL6DKnSE3QZOA0Hs1dk9bSxtCnh+1lp8+VWbDqJSWDFY ik4g== 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 :references:in-reply-to:mime-version:message-id:date:to:from :dkim-signature:delivered-to:arc-authentication-results; bh=6R5W0scNWgxJ31kLcNQ847bGsUxLAXhY+7Z4oqENYjU=; b=xey4Z/YjRgB0tbuh3PigYdMO7Uac3Wf25tbWD5AAPR5waA4c6s6WtpdOFavxbZzevI qT597DyuhKMFQV7T4RYi4MsIvdvc4lXgWRynQpREPgGJzQ0fgp2JVvA0zHg84vLV7EjD ghCL/eh1CAY5PlYP/oZBHOmc1rg7Y9wnqAHGeXwURSWFYL5w+tgaJ/Z2ubkGxZ9tgDiJ Fo2VDpVO4+kdCOT6BZ6ONHiOlb5EJ8LrCaVtuGIpy/Mt490bdBxsbx5mzU7zpiqqQbHM 8gWyKA72grzObYvAj+Ib8NotpcarObR8W46A8zW0zlgdHI3HtxasRHIOMQVW96kyd1M9 kJRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=AhRWyR6H; 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 f7si2947506pgn.373.2018.03.10.16.44.26; Sat, 10 Mar 2018 16:44:26 -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=AhRWyR6H; 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 719C67894F; Sun, 11 Mar 2018 00:43:05 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by mail.openembedded.org (Postfix) with ESMTP id 617EC788AE for ; Sun, 11 Mar 2018 00:42:49 +0000 (UTC) Received: by mail-wm0-f68.google.com with SMTP id z9so9908412wmb.3 for ; Sat, 10 Mar 2018 16:42:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version:in-reply-to:references :content-transfer-encoding; bh=5Il7HgFFK+eF/Ck5Ruagwbchaq3guIUltv7t31fiZLY=; b=AhRWyR6HYHhnfv6Gx2AuUm13gaM8hANUUqY8F2qE7lJPCNK/uwan2EL0mJ6OtW0Hk1 jNgTwz8q7wExLLc+mp2a3aEBhHdom8i/rcufg0sn6ZI3dao9gsaNWLTSamHkf06SSNSB XPY9JljeVj/2lQW0EEac5O00HOxBYGWTSm5DM1uRjyADcj+7rDS6Uyb5l6xOi+ZsArTq biDldGgXLN6XFJ5KHCSQfwhCQ56kWYX1jwKfam3sNBbx0yAYsnbprYSfuRBQ3+pUWNq2 ktEgB10SDQXfnhOx5KGj2ilSEcol7V33NUmHo+qLYV2Q44FNfhubOU9Lv3/wvYIWxR+H n//A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :in-reply-to:references:content-transfer-encoding; bh=5Il7HgFFK+eF/Ck5Ruagwbchaq3guIUltv7t31fiZLY=; b=qF5mjS056Dxaza/9hfmMdvAgGfsjWBhONIO0ZWfOquqO6sGUGOW8TdDTlMzkmC3DzE JH8LDHiIad58+ZvPIA5yPTf7eaCEQGZUJYpC0nMAy9N8yzHJkYsa1+7dflJxsbtLRyWN uss/nD6ujj9c6dm+HESvRsiZ/RwhjoIO+qDYbekSagD6PmO4WCpHzg3bGR57/R90Wd+f Z117rzES96/y4NyVLN1yuLaMk1wCAXRkJKqmZIw+5gGfnvzn4Le9bdq9xCbL2knJTorl Xji/70wCuSDfmaQleVE+VDdfQMmeI7i9xHHX3r8HpGTR7lXsX8Wln4ZwQQWdtPDLdn3m heyw== X-Gm-Message-State: AElRT7H2swdNz7nXG+/1MSCSD/8tX4XHyZo7Mi7Xu2EF7zQ8b2o4KrUK JNFFQe6Bf7oWT3u29fZwaFNsIA== X-Received: by 10.28.140.11 with SMTP id o11mr2072424wmd.82.1520728969434; Sat, 10 Mar 2018 16:42:49 -0800 (PST) Received: from localhost ([217.30.68.212]) by smtp.gmail.com with ESMTPSA id c14sm3090323wmh.15.2018.03.10.16.42.48 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 10 Mar 2018 16:42:48 -0800 (PST) From: Martin Jansa X-Google-Original-From: Martin Jansa To: Armin Kuster , openembedded-core@lists.openembedded.org Date: Sun, 11 Mar 2018 00:42:25 +0000 Message-Id: <02d2a14333b3cbc8e6acf74245f3db6b6b94c91b.1520728802.git.Martin.Jansa@gmail.com> X-Mailer: git-send-email 2.15.1 MIME-Version: 1.0 In-Reply-To: References: Subject: [OE-core] [morty][PATCH 13/16] gcc6: Upgrade to 6.4 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 From: Khem Raj Signed-off-by: Khem Raj Signed-off-by: Ross Burton (cherry picked from commit 7874fa86cb583fe6a178b95ead09430486197197) --- meta/conf/distro/include/tcmode-default.inc | 2 +- .../gcc/gcc-6.3/ubsan-fix-check-empty-string.patch | 28 ---------- .../gcc/{gcc-6.3.inc => gcc-6.4.inc} | 13 +++-- .../0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch | 0 .../{gcc-6.3 => gcc-6.4}/0002-uclibc-conf.patch | 0 .../0003-gcc-uclibc-locale-ctype_touplow_t.patch | 0 .../{gcc-6.3 => gcc-6.4}/0004-uclibc-locale.patch | 0 .../0005-uclibc-locale-no__x.patch | 0 .../0006-uclibc-locale-wchar_fix.patch | 0 .../0007-uclibc-locale-update.patch | 0 .../0008-missing-execinfo_h.patch | 0 .../{gcc-6.3 => gcc-6.4}/0009-c99-snprintf.patch | 0 .../0010-gcc-poison-system-directories.patch | 0 .../0011-gcc-poison-dir-extend.patch | 0 .../0012-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch | 0 .../0013-64-bit-multilib-hack.patch | 0 .../0014-optional-libstdc.patch | 0 ...0015-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch | 0 .../0016-COLLECT_GCC_OPTIONS.patch | 0 ...efaults.h-in-B-instead-of-S-and-t-oe-in-B.patch | 0 .../0018-fortran-cross-compile-hack.patch | 0 .../0019-cpp-honor-sysroot.patch | 0 .../0020-MIPS64-Default-to-N64-ABI.patch | 0 ...C_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch | 0 ...0022-gcc-Fix-argument-list-too-long-error.patch | 0 .../{gcc-6.3 => gcc-6.4}/0023-Disable-sdt.patch | 0 .../gcc/{gcc-6.3 => gcc-6.4}/0024-libtool.patch | 0 ...4-pass-fix-v4bx-to-linker-to-support-EABI.patch | 0 ...tilib-config-files-from-B-instead-of-usin.patch | 0 ...-libdir-from-.la-which-usually-points-to-.patch | 0 .../gcc/{gcc-6.3 => gcc-6.4}/0028-export-CPP.patch | 0 ...AltiVec-generation-on-powepc-linux-target.patch | 0 ...-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch | 0 ...Ensure-target-gcc-headers-can-be-included.patch | 0 ...-t-build-with-disable-dependency-tracking.patch | 0 ...h-host-directory-during-relink-if-inst_pr.patch | 0 ...IBS_DIR-replacement-instead-of-hardcoding.patch | 0 .../0035-aarch64-Add-support-for-musl-ldso.patch | 0 ...ibcc1-fix-libcc1-s-install-path-and-rpath.patch | 0 ...-handle-sysroot-support-for-nativesdk-gcc.patch | 0 ...et-sysroot-gcc-version-specific-dirs-with.patch | 0 ...-various-_FOR_BUILD-and-related-variables.patch | 0 .../0040-nios2-Define-MUSL_DYNAMIC_LINKER.patch | 0 ...shared-to-link-commandline-for-musl-targe.patch | 0 ...c-libcpp-support-ffile-prefix-map-old-new.patch | 0 ...ug-prefix-map-to-replace-ffile-prefix-map.patch | 0 ...-fdebug-prefix-map-support-to-remap-sourc.patch | 0 ...45-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch | 0 ...bgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch | 0 ...e-alias-for-__cpu_indicator_init-instead-.patch | 2 +- .../0048-sync-gcc-stddef.h-with-musl.patch | 0 .../0054_all_nopie-all-flags.patch | 0 .../0055-unwind_h-glibc26.patch | 0 ...-relax-the-restriction-on-subreg-reload-f.patch | 0 .../backport}/CVE-2016-6131.patch | 62 ++++++---------------- ...s-canadian_6.3.bb => gcc-cross-canadian_6.4.bb} | 0 ...oss-initial_6.3.bb => gcc-cross-initial_6.4.bb} | 0 .../gcc/{gcc-cross_6.3.bb => gcc-cross_6.4.bb} | 0 ...-initial_6.3.bb => gcc-crosssdk-initial_6.4.bb} | 0 .../{gcc-crosssdk_6.3.bb => gcc-crosssdk_6.4.bb} | 0 .../gcc/{gcc-runtime_6.3.bb => gcc-runtime_6.4.bb} | 0 ...gcc-sanitizers_6.3.bb => gcc-sanitizers_6.4.bb} | 0 .../gcc/{gcc-source_6.3.bb => gcc-source_6.4.bb} | 0 .../gcc/{gcc_6.3.bb => gcc_6.4.bb} | 0 ...libgcc-initial_6.3.bb => libgcc-initial_6.4.bb} | 0 .../gcc/{libgcc_6.3.bb => libgcc_6.4.bb} | 0 .../gcc/{libgfortran_6.3.bb => libgfortran_6.4.bb} | 0 67 files changed, 25 insertions(+), 82 deletions(-) delete mode 100644 meta/recipes-devtools/gcc/gcc-6.3/ubsan-fix-check-empty-string.patch rename meta/recipes-devtools/gcc/{gcc-6.3.inc => gcc-6.4.inc} (93%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0002-uclibc-conf.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0003-gcc-uclibc-locale-ctype_touplow_t.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0004-uclibc-locale.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0005-uclibc-locale-no__x.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0006-uclibc-locale-wchar_fix.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0007-uclibc-locale-update.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0008-missing-execinfo_h.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0009-c99-snprintf.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0010-gcc-poison-system-directories.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0011-gcc-poison-dir-extend.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0012-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0013-64-bit-multilib-hack.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0014-optional-libstdc.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0015-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0016-COLLECT_GCC_OPTIONS.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0017-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0018-fortran-cross-compile-hack.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0019-cpp-honor-sysroot.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0020-MIPS64-Default-to-N64-ABI.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0021-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0022-gcc-Fix-argument-list-too-long-error.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0023-Disable-sdt.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0024-libtool.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0025-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0026-Use-the-multilib-config-files-from-B-instead-of-usin.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0027-Avoid-using-libdir-from-.la-which-usually-points-to-.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0028-export-CPP.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0029-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0030-Disable-the-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0031-Ensure-target-gcc-headers-can-be-included.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0032-gcc-4.8-won-t-build-with-disable-dependency-tracking.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0033-Don-t-search-host-directory-during-relink-if-inst_pr.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0034-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0035-aarch64-Add-support-for-musl-ldso.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0036-libcc1-fix-libcc1-s-install-path-and-rpath.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0037-handle-sysroot-support-for-nativesdk-gcc.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0038-Search-target-sysroot-gcc-version-specific-dirs-with.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0039-Fix-various-_FOR_BUILD-and-related-variables.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0040-nios2-Define-MUSL_DYNAMIC_LINKER.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0041-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0042-gcc-libcpp-support-ffile-prefix-map-old-new.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0043-Reuse-fdebug-prefix-map-to-replace-ffile-prefix-map.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0044-gcc-final.c-fdebug-prefix-map-support-to-remap-sourc.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0045-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0046-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0047-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch (99%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0048-sync-gcc-stddef.h-with-musl.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0054_all_nopie-all-flags.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0055-unwind_h-glibc26.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4}/0056-LRA-PR70904-relax-the-restriction-on-subreg-reload-f.patch (100%) rename meta/recipes-devtools/gcc/{gcc-6.3 => gcc-6.4/backport}/CVE-2016-6131.patch (73%) rename meta/recipes-devtools/gcc/{gcc-cross-canadian_6.3.bb => gcc-cross-canadian_6.4.bb} (100%) rename meta/recipes-devtools/gcc/{gcc-cross-initial_6.3.bb => gcc-cross-initial_6.4.bb} (100%) rename meta/recipes-devtools/gcc/{gcc-cross_6.3.bb => gcc-cross_6.4.bb} (100%) rename meta/recipes-devtools/gcc/{gcc-crosssdk-initial_6.3.bb => gcc-crosssdk-initial_6.4.bb} (100%) rename meta/recipes-devtools/gcc/{gcc-crosssdk_6.3.bb => gcc-crosssdk_6.4.bb} (100%) rename meta/recipes-devtools/gcc/{gcc-runtime_6.3.bb => gcc-runtime_6.4.bb} (100%) rename meta/recipes-devtools/gcc/{gcc-sanitizers_6.3.bb => gcc-sanitizers_6.4.bb} (100%) rename meta/recipes-devtools/gcc/{gcc-source_6.3.bb => gcc-source_6.4.bb} (100%) rename meta/recipes-devtools/gcc/{gcc_6.3.bb => gcc_6.4.bb} (100%) rename meta/recipes-devtools/gcc/{libgcc-initial_6.3.bb => libgcc-initial_6.4.bb} (100%) rename meta/recipes-devtools/gcc/{libgcc_6.3.bb => libgcc_6.4.bb} (100%) rename meta/recipes-devtools/gcc/{libgfortran_6.3.bb => libgfortran_6.4.bb} (100%) diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc index 6a81c365bd..c06e35298b 100644 --- a/meta/conf/distro/include/tcmode-default.inc +++ b/meta/conf/distro/include/tcmode-default.inc @@ -22,7 +22,7 @@ PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-initial = "${TCLIBC}-initial" PREFERRED_PROVIDER_virtual/nativesdk-${SDK_PREFIX}libc-initial ?= "nativesdk-glibc-initial" PREFERRED_PROVIDER_virtual/gettext ??= "gettext" -GCCVERSION ?= "6.3%" +GCCVERSION ?= "6.4%" SDKGCCVERSION ?= "${GCCVERSION}" BINUVERSION ?= "2.27%" GDBVERSION ?= "7.11%" diff --git a/meta/recipes-devtools/gcc/gcc-6.3/ubsan-fix-check-empty-string.patch b/meta/recipes-devtools/gcc/gcc-6.3/ubsan-fix-check-empty-string.patch deleted file mode 100644 index c0127198e0..0000000000 --- a/meta/recipes-devtools/gcc/gcc-6.3/ubsan-fix-check-empty-string.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 8db2cf6353c13f2a84cbe49b689654897906c499 Mon Sep 17 00:00:00 2001 -From: kyukhin -Date: Sat, 3 Sep 2016 10:57:05 +0000 -Subject: [PATCH] gcc/ * ubsan.c (ubsan_use_new_style_p): Fix check for empty - string. - -git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@239971 138bc75d-0d04-0410-961f-82ee72b054a4 - -Upstream-Status: Backport -Signed-off-by: Joshua Lock - ---- - gcc/ubsan.c | 2 +- - 2 files changed, 5 insertions(+), 1 deletion(-) - -Index: gcc-6.3.0/gcc/ubsan.c -=================================================================== ---- gcc-6.3.0.orig/gcc/ubsan.c -+++ gcc-6.3.0/gcc/ubsan.c -@@ -1471,7 +1471,7 @@ ubsan_use_new_style_p (location_t loc) - - expanded_location xloc = expand_location (loc); - if (xloc.file == NULL || strncmp (xloc.file, "\1", 2) == 0 -- || xloc.file == '\0' || xloc.file[0] == '\xff' -+ || xloc.file[0] == '\0' || xloc.file[0] == '\xff' - || xloc.file[1] == '\xff') - return false; - diff --git a/meta/recipes-devtools/gcc/gcc-6.3.inc b/meta/recipes-devtools/gcc/gcc-6.4.inc similarity index 93% rename from meta/recipes-devtools/gcc/gcc-6.3.inc rename to meta/recipes-devtools/gcc/gcc-6.4.inc index 7b409f119b..314994bed1 100644 --- a/meta/recipes-devtools/gcc/gcc-6.3.inc +++ b/meta/recipes-devtools/gcc/gcc-6.4.inc @@ -2,13 +2,13 @@ require gcc-common.inc # Third digit in PV should be incremented after a minor release -PV = "6.3.0" +PV = "6.4.0" # BINV should be incremented to a revision after a minor gcc release -BINV = "6.3.0" +BINV = "6.4.0" -FILESEXTRAPATHS =. "${FILE_DIRNAME}/gcc-6.3:${FILE_DIRNAME}/gcc-6.3/backport:" +FILESEXTRAPATHS =. "${FILE_DIRNAME}/gcc-6.4:${FILE_DIRNAME}/gcc-6.4/backport:" DEPENDS =+ "mpfr gmp libmpc zlib" NATIVEDEPS = "mpfr-native gmp-native libmpc-native zlib-native" @@ -24,7 +24,7 @@ LIC_FILES_CHKSUM = "\ " -BASEURI ?= "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2" +BASEURI ?= "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.xz" #SRCREV = "bd9a826d5448db11d29d2ec5884e7e679066f140" #BASEURI ?= "git://github.com/gcc-mirror/gcc;branch=gcc-6-branch;protocol=git" #BASEURI ?= "ftp://sourceware.org/pub/gcc/snapshots/6.2.0-RC-20160815/gcc-6.2.0-RC-20160815.tar.bz2" @@ -86,10 +86,9 @@ SRC_URI = "\ " BACKPORTS = "\ file://CVE-2016-6131.patch \ - file://ubsan-fix-check-empty-string.patch \ " -SRC_URI[md5sum] = "677a7623c7ef6ab99881bc4e048debb6" -SRC_URI[sha256sum] = "f06ae7f3f790fbf0f018f6d40e844451e6bc3b7bc96e128e63b09825c1f8b29f" +SRC_URI[md5sum] = "11ba51a0cfb8471927f387c8895fe232" +SRC_URI[sha256sum] = "850bf21eafdfe5cd5f6827148184c08c4a0852a37ccf36ce69855334d2c914d4" S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${PV}" #S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/git" diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch b/meta/recipes-devtools/gcc/gcc-6.4/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0002-uclibc-conf.patch b/meta/recipes-devtools/gcc/gcc-6.4/0002-uclibc-conf.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0002-uclibc-conf.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0002-uclibc-conf.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0003-gcc-uclibc-locale-ctype_touplow_t.patch b/meta/recipes-devtools/gcc/gcc-6.4/0003-gcc-uclibc-locale-ctype_touplow_t.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0003-gcc-uclibc-locale-ctype_touplow_t.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0003-gcc-uclibc-locale-ctype_touplow_t.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0004-uclibc-locale.patch b/meta/recipes-devtools/gcc/gcc-6.4/0004-uclibc-locale.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0004-uclibc-locale.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0004-uclibc-locale.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0005-uclibc-locale-no__x.patch b/meta/recipes-devtools/gcc/gcc-6.4/0005-uclibc-locale-no__x.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0005-uclibc-locale-no__x.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0005-uclibc-locale-no__x.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0006-uclibc-locale-wchar_fix.patch b/meta/recipes-devtools/gcc/gcc-6.4/0006-uclibc-locale-wchar_fix.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0006-uclibc-locale-wchar_fix.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0006-uclibc-locale-wchar_fix.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0007-uclibc-locale-update.patch b/meta/recipes-devtools/gcc/gcc-6.4/0007-uclibc-locale-update.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0007-uclibc-locale-update.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0007-uclibc-locale-update.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0008-missing-execinfo_h.patch b/meta/recipes-devtools/gcc/gcc-6.4/0008-missing-execinfo_h.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0008-missing-execinfo_h.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0008-missing-execinfo_h.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0009-c99-snprintf.patch b/meta/recipes-devtools/gcc/gcc-6.4/0009-c99-snprintf.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0009-c99-snprintf.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0009-c99-snprintf.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0010-gcc-poison-system-directories.patch b/meta/recipes-devtools/gcc/gcc-6.4/0010-gcc-poison-system-directories.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0010-gcc-poison-system-directories.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0010-gcc-poison-system-directories.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0011-gcc-poison-dir-extend.patch b/meta/recipes-devtools/gcc/gcc-6.4/0011-gcc-poison-dir-extend.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0011-gcc-poison-dir-extend.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0011-gcc-poison-dir-extend.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0012-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch b/meta/recipes-devtools/gcc/gcc-6.4/0012-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0012-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0012-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0013-64-bit-multilib-hack.patch b/meta/recipes-devtools/gcc/gcc-6.4/0013-64-bit-multilib-hack.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0013-64-bit-multilib-hack.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0013-64-bit-multilib-hack.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0014-optional-libstdc.patch b/meta/recipes-devtools/gcc/gcc-6.4/0014-optional-libstdc.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0014-optional-libstdc.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0014-optional-libstdc.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0015-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch b/meta/recipes-devtools/gcc/gcc-6.4/0015-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0015-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0015-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0016-COLLECT_GCC_OPTIONS.patch b/meta/recipes-devtools/gcc/gcc-6.4/0016-COLLECT_GCC_OPTIONS.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0016-COLLECT_GCC_OPTIONS.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0016-COLLECT_GCC_OPTIONS.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0017-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch b/meta/recipes-devtools/gcc/gcc-6.4/0017-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0017-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0017-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0018-fortran-cross-compile-hack.patch b/meta/recipes-devtools/gcc/gcc-6.4/0018-fortran-cross-compile-hack.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0018-fortran-cross-compile-hack.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0018-fortran-cross-compile-hack.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0019-cpp-honor-sysroot.patch b/meta/recipes-devtools/gcc/gcc-6.4/0019-cpp-honor-sysroot.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0019-cpp-honor-sysroot.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0019-cpp-honor-sysroot.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0020-MIPS64-Default-to-N64-ABI.patch b/meta/recipes-devtools/gcc/gcc-6.4/0020-MIPS64-Default-to-N64-ABI.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0020-MIPS64-Default-to-N64-ABI.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0020-MIPS64-Default-to-N64-ABI.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0021-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch b/meta/recipes-devtools/gcc/gcc-6.4/0021-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0021-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0021-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0022-gcc-Fix-argument-list-too-long-error.patch b/meta/recipes-devtools/gcc/gcc-6.4/0022-gcc-Fix-argument-list-too-long-error.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0022-gcc-Fix-argument-list-too-long-error.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0022-gcc-Fix-argument-list-too-long-error.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0023-Disable-sdt.patch b/meta/recipes-devtools/gcc/gcc-6.4/0023-Disable-sdt.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0023-Disable-sdt.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0023-Disable-sdt.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0024-libtool.patch b/meta/recipes-devtools/gcc/gcc-6.4/0024-libtool.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0024-libtool.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0024-libtool.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0025-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch b/meta/recipes-devtools/gcc/gcc-6.4/0025-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0025-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0025-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0026-Use-the-multilib-config-files-from-B-instead-of-usin.patch b/meta/recipes-devtools/gcc/gcc-6.4/0026-Use-the-multilib-config-files-from-B-instead-of-usin.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0026-Use-the-multilib-config-files-from-B-instead-of-usin.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0026-Use-the-multilib-config-files-from-B-instead-of-usin.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0027-Avoid-using-libdir-from-.la-which-usually-points-to-.patch b/meta/recipes-devtools/gcc/gcc-6.4/0027-Avoid-using-libdir-from-.la-which-usually-points-to-.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0027-Avoid-using-libdir-from-.la-which-usually-points-to-.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0027-Avoid-using-libdir-from-.la-which-usually-points-to-.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0028-export-CPP.patch b/meta/recipes-devtools/gcc/gcc-6.4/0028-export-CPP.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0028-export-CPP.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0028-export-CPP.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0029-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch b/meta/recipes-devtools/gcc/gcc-6.4/0029-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0029-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0029-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0030-Disable-the-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch b/meta/recipes-devtools/gcc/gcc-6.4/0030-Disable-the-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0030-Disable-the-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0030-Disable-the-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0031-Ensure-target-gcc-headers-can-be-included.patch b/meta/recipes-devtools/gcc/gcc-6.4/0031-Ensure-target-gcc-headers-can-be-included.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0031-Ensure-target-gcc-headers-can-be-included.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0031-Ensure-target-gcc-headers-can-be-included.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0032-gcc-4.8-won-t-build-with-disable-dependency-tracking.patch b/meta/recipes-devtools/gcc/gcc-6.4/0032-gcc-4.8-won-t-build-with-disable-dependency-tracking.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0032-gcc-4.8-won-t-build-with-disable-dependency-tracking.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0032-gcc-4.8-won-t-build-with-disable-dependency-tracking.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0033-Don-t-search-host-directory-during-relink-if-inst_pr.patch b/meta/recipes-devtools/gcc/gcc-6.4/0033-Don-t-search-host-directory-during-relink-if-inst_pr.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0033-Don-t-search-host-directory-during-relink-if-inst_pr.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0033-Don-t-search-host-directory-during-relink-if-inst_pr.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0034-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch b/meta/recipes-devtools/gcc/gcc-6.4/0034-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0034-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0034-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0035-aarch64-Add-support-for-musl-ldso.patch b/meta/recipes-devtools/gcc/gcc-6.4/0035-aarch64-Add-support-for-musl-ldso.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0035-aarch64-Add-support-for-musl-ldso.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0035-aarch64-Add-support-for-musl-ldso.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0036-libcc1-fix-libcc1-s-install-path-and-rpath.patch b/meta/recipes-devtools/gcc/gcc-6.4/0036-libcc1-fix-libcc1-s-install-path-and-rpath.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0036-libcc1-fix-libcc1-s-install-path-and-rpath.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0036-libcc1-fix-libcc1-s-install-path-and-rpath.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0037-handle-sysroot-support-for-nativesdk-gcc.patch b/meta/recipes-devtools/gcc/gcc-6.4/0037-handle-sysroot-support-for-nativesdk-gcc.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0037-handle-sysroot-support-for-nativesdk-gcc.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0037-handle-sysroot-support-for-nativesdk-gcc.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0038-Search-target-sysroot-gcc-version-specific-dirs-with.patch b/meta/recipes-devtools/gcc/gcc-6.4/0038-Search-target-sysroot-gcc-version-specific-dirs-with.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0038-Search-target-sysroot-gcc-version-specific-dirs-with.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0038-Search-target-sysroot-gcc-version-specific-dirs-with.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0039-Fix-various-_FOR_BUILD-and-related-variables.patch b/meta/recipes-devtools/gcc/gcc-6.4/0039-Fix-various-_FOR_BUILD-and-related-variables.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0039-Fix-various-_FOR_BUILD-and-related-variables.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0039-Fix-various-_FOR_BUILD-and-related-variables.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0040-nios2-Define-MUSL_DYNAMIC_LINKER.patch b/meta/recipes-devtools/gcc/gcc-6.4/0040-nios2-Define-MUSL_DYNAMIC_LINKER.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0040-nios2-Define-MUSL_DYNAMIC_LINKER.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0040-nios2-Define-MUSL_DYNAMIC_LINKER.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0041-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch b/meta/recipes-devtools/gcc/gcc-6.4/0041-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0041-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0041-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0042-gcc-libcpp-support-ffile-prefix-map-old-new.patch b/meta/recipes-devtools/gcc/gcc-6.4/0042-gcc-libcpp-support-ffile-prefix-map-old-new.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0042-gcc-libcpp-support-ffile-prefix-map-old-new.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0042-gcc-libcpp-support-ffile-prefix-map-old-new.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0043-Reuse-fdebug-prefix-map-to-replace-ffile-prefix-map.patch b/meta/recipes-devtools/gcc/gcc-6.4/0043-Reuse-fdebug-prefix-map-to-replace-ffile-prefix-map.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0043-Reuse-fdebug-prefix-map-to-replace-ffile-prefix-map.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0043-Reuse-fdebug-prefix-map-to-replace-ffile-prefix-map.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0044-gcc-final.c-fdebug-prefix-map-support-to-remap-sourc.patch b/meta/recipes-devtools/gcc/gcc-6.4/0044-gcc-final.c-fdebug-prefix-map-support-to-remap-sourc.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0044-gcc-final.c-fdebug-prefix-map-support-to-remap-sourc.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0044-gcc-final.c-fdebug-prefix-map-support-to-remap-sourc.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0045-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch b/meta/recipes-devtools/gcc/gcc-6.4/0045-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0045-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0045-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0046-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch b/meta/recipes-devtools/gcc/gcc-6.4/0046-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0046-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0046-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0047-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch b/meta/recipes-devtools/gcc/gcc-6.4/0047-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch similarity index 99% rename from meta/recipes-devtools/gcc/gcc-6.3/0047-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0047-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch index ed6cd6905c..6b5da0254e 100644 --- a/meta/recipes-devtools/gcc/gcc-6.3/0047-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch +++ b/meta/recipes-devtools/gcc/gcc-6.4/0047-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch @@ -31,7 +31,7 @@ gcc/Changelog: Signed-off-by: Khem Raj --- -Upstream-Status: Rejected +Upstream-Status: Denied gcc/config/i386/i386.c | 4 ++-- libgcc/config/i386/cpuinfo.c | 6 +++--- diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0048-sync-gcc-stddef.h-with-musl.patch b/meta/recipes-devtools/gcc/gcc-6.4/0048-sync-gcc-stddef.h-with-musl.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0048-sync-gcc-stddef.h-with-musl.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0048-sync-gcc-stddef.h-with-musl.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0054_all_nopie-all-flags.patch b/meta/recipes-devtools/gcc/gcc-6.4/0054_all_nopie-all-flags.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0054_all_nopie-all-flags.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0054_all_nopie-all-flags.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0055-unwind_h-glibc26.patch b/meta/recipes-devtools/gcc/gcc-6.4/0055-unwind_h-glibc26.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0055-unwind_h-glibc26.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0055-unwind_h-glibc26.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/0056-LRA-PR70904-relax-the-restriction-on-subreg-reload-f.patch b/meta/recipes-devtools/gcc/gcc-6.4/0056-LRA-PR70904-relax-the-restriction-on-subreg-reload-f.patch similarity index 100% rename from meta/recipes-devtools/gcc/gcc-6.3/0056-LRA-PR70904-relax-the-restriction-on-subreg-reload-f.patch rename to meta/recipes-devtools/gcc/gcc-6.4/0056-LRA-PR70904-relax-the-restriction-on-subreg-reload-f.patch diff --git a/meta/recipes-devtools/gcc/gcc-6.3/CVE-2016-6131.patch b/meta/recipes-devtools/gcc/gcc-6.4/backport/CVE-2016-6131.patch similarity index 73% rename from meta/recipes-devtools/gcc/gcc-6.3/CVE-2016-6131.patch rename to meta/recipes-devtools/gcc/gcc-6.4/backport/CVE-2016-6131.patch index e873cc6e85..3cdbb2d171 100644 --- a/meta/recipes-devtools/gcc/gcc-6.3/CVE-2016-6131.patch +++ b/meta/recipes-devtools/gcc/gcc-6.4/backport/CVE-2016-6131.patch @@ -37,35 +37,10 @@ Signed-off-by: Yuanjie Huang libiberty/testsuite/demangle-expected | 18 ++++++++ 3 files changed, 108 insertions(+), 5 deletions(-) -diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog -index 240138f..adf1d72 100644 ---- a/libiberty/ChangeLog -+++ b/libiberty/ChangeLog -@@ -1,3 +1,20 @@ -+2016-08-04 Marcel Böhme -+ -+ PR c++/71696 -+ * cplus-dem.c: Prevent infinite recursion when there is a cycle -+ in the referencing of remembered mangled types. -+ (work_stuff): New stack to keep track of the remembered mangled -+ types that are currently being processed. -+ (push_processed_type): New method to push currently processed -+ remembered type onto the stack. -+ (pop_processed_type): New method to pop currently processed -+ remembered type from the stack. -+ (work_stuff_copy_to_from): Copy values of new variables. -+ (delete_non_B_K_work_stuff): Free stack memory. -+ (demangle_args): Push/Pop currently processed remembered type. -+ (do_type): Do not demangle a cyclic reference and push/pop -+ referenced remembered type. -+ - 2016-12-21 Release Manager - - * GCC 6.3.0 released. -diff --git a/libiberty/cplus-dem.c b/libiberty/cplus-dem.c -index 7514e57..f21e630 100644 ---- a/libiberty/cplus-dem.c -+++ b/libiberty/cplus-dem.c +Index: gcc-6.4.0/libiberty/cplus-dem.c +=================================================================== +--- gcc-6.4.0.orig/libiberty/cplus-dem.c ++++ gcc-6.4.0/libiberty/cplus-dem.c @@ -144,6 +144,9 @@ struct work_stuff string* previous_argument; /* The last function argument demangled. */ int nrepeats; /* The number of times to repeat the previous @@ -76,7 +51,7 @@ index 7514e57..f21e630 100644 }; #define PRINT_ANSI_QUALIFIERS (work -> options & DMGL_ANSI) -@@ -435,6 +438,10 @@ iterate_demangle_function (struct work_stuff *, +@@ -435,6 +438,10 @@ iterate_demangle_function (struct work_s static void remember_type (struct work_stuff *, const char *, int); @@ -87,7 +62,7 @@ index 7514e57..f21e630 100644 static void remember_Btype (struct work_stuff *, const char *, int, int); static int register_Btype (struct work_stuff *); -@@ -1301,6 +1308,10 @@ work_stuff_copy_to_from (struct work_stuff *to, struct work_stuff *from) +@@ -1301,6 +1308,10 @@ work_stuff_copy_to_from (struct work_stu memcpy (to->btypevec[i], from->btypevec[i], len); } @@ -98,7 +73,7 @@ index 7514e57..f21e630 100644 if (from->ntmpl_args) to->tmpl_argvec = XNEWVEC (char *, from->ntmpl_args); -@@ -1329,11 +1340,17 @@ delete_non_B_K_work_stuff (struct work_stuff *work) +@@ -1329,11 +1340,17 @@ delete_non_B_K_work_stuff (struct work_s /* Discard the remembered types, if any. */ forget_types (work); @@ -129,7 +104,7 @@ index 7514e57..f21e630 100644 int done; int success; string decl; -@@ -3564,6 +3583,7 @@ do_type (struct work_stuff *work, const char **mangled, string *result) +@@ -3564,6 +3583,7 @@ do_type (struct work_stuff *work, const done = 0; success = 1; @@ -137,7 +112,7 @@ index 7514e57..f21e630 100644 while (success && !done) { int member; -@@ -3616,8 +3636,15 @@ do_type (struct work_stuff *work, const char **mangled, string *result) +@@ -3616,8 +3636,15 @@ do_type (struct work_stuff *work, const success = 0; } else @@ -154,7 +129,7 @@ index 7514e57..f21e630 100644 mangled = &remembered_type; } break; -@@ -3840,6 +3867,9 @@ do_type (struct work_stuff *work, const char **mangled, string *result) +@@ -3840,6 +3867,9 @@ do_type (struct work_stuff *work, const string_delete (result); string_delete (&decl); @@ -164,7 +139,7 @@ index 7514e57..f21e630 100644 if (success) /* Assume an integral type, if we're not sure. */ return (int) ((tk == tk_none) ? tk_integral : tk); -@@ -4252,6 +4282,41 @@ do_arg (struct work_stuff *work, const char **mangled, string *result) +@@ -4252,6 +4282,41 @@ do_arg (struct work_stuff *work, const c } static void @@ -206,7 +181,7 @@ index 7514e57..f21e630 100644 remember_type (struct work_stuff *work, const char *start, int len) { char *tem; -@@ -4515,10 +4580,13 @@ demangle_args (struct work_stuff *work, const char **mangled, +@@ -4515,10 +4580,13 @@ demangle_args (struct work_stuff *work, { string_append (declp, ", "); } @@ -220,11 +195,11 @@ index 7514e57..f21e630 100644 if (PRINT_ARG_TYPES) { string_appends (declp, &arg); -diff --git a/libiberty/testsuite/demangle-expected b/libiberty/testsuite/demangle-expected -index 157d2ee..8793a0b 100644 ---- a/libiberty/testsuite/demangle-expected -+++ b/libiberty/testsuite/demangle-expected -@@ -4491,3 +4491,21 @@ void eat(int*&, Foo()::{lambda(auto:1 +Index: gcc-6.4.0/libiberty/testsuite/demangle-expected +=================================================================== +--- gcc-6.4.0.orig/libiberty/testsuite/demangle-expected ++++ gcc-6.4.0/libiberty/testsuite/demangle-expected +@@ -4491,3 +4491,21 @@ void eat()::{lambda(short*, auto:1*, auto:2*)#2}>(int*&, void Bar()::{lambda(short*, auto:1*, auto:2*)#2}&) @@ -246,6 +221,3 @@ index 157d2ee..8793a0b 100644 + +__10%0__S4_0T0T0 +%0<>::%0(%0<>) --- -2.9.3 - diff --git a/meta/recipes-devtools/gcc/gcc-cross-canadian_6.3.bb b/meta/recipes-devtools/gcc/gcc-cross-canadian_6.4.bb similarity index 100% rename from meta/recipes-devtools/gcc/gcc-cross-canadian_6.3.bb rename to meta/recipes-devtools/gcc/gcc-cross-canadian_6.4.bb diff --git a/meta/recipes-devtools/gcc/gcc-cross-initial_6.3.bb b/meta/recipes-devtools/gcc/gcc-cross-initial_6.4.bb similarity index 100% rename from meta/recipes-devtools/gcc/gcc-cross-initial_6.3.bb rename to meta/recipes-devtools/gcc/gcc-cross-initial_6.4.bb diff --git a/meta/recipes-devtools/gcc/gcc-cross_6.3.bb b/meta/recipes-devtools/gcc/gcc-cross_6.4.bb similarity index 100% rename from meta/recipes-devtools/gcc/gcc-cross_6.3.bb rename to meta/recipes-devtools/gcc/gcc-cross_6.4.bb diff --git a/meta/recipes-devtools/gcc/gcc-crosssdk-initial_6.3.bb b/meta/recipes-devtools/gcc/gcc-crosssdk-initial_6.4.bb similarity index 100% rename from meta/recipes-devtools/gcc/gcc-crosssdk-initial_6.3.bb rename to meta/recipes-devtools/gcc/gcc-crosssdk-initial_6.4.bb diff --git a/meta/recipes-devtools/gcc/gcc-crosssdk_6.3.bb b/meta/recipes-devtools/gcc/gcc-crosssdk_6.4.bb similarity index 100% rename from meta/recipes-devtools/gcc/gcc-crosssdk_6.3.bb rename to meta/recipes-devtools/gcc/gcc-crosssdk_6.4.bb diff --git a/meta/recipes-devtools/gcc/gcc-runtime_6.3.bb b/meta/recipes-devtools/gcc/gcc-runtime_6.4.bb similarity index 100% rename from meta/recipes-devtools/gcc/gcc-runtime_6.3.bb rename to meta/recipes-devtools/gcc/gcc-runtime_6.4.bb diff --git a/meta/recipes-devtools/gcc/gcc-sanitizers_6.3.bb b/meta/recipes-devtools/gcc/gcc-sanitizers_6.4.bb similarity index 100% rename from meta/recipes-devtools/gcc/gcc-sanitizers_6.3.bb rename to meta/recipes-devtools/gcc/gcc-sanitizers_6.4.bb diff --git a/meta/recipes-devtools/gcc/gcc-source_6.3.bb b/meta/recipes-devtools/gcc/gcc-source_6.4.bb similarity index 100% rename from meta/recipes-devtools/gcc/gcc-source_6.3.bb rename to meta/recipes-devtools/gcc/gcc-source_6.4.bb diff --git a/meta/recipes-devtools/gcc/gcc_6.3.bb b/meta/recipes-devtools/gcc/gcc_6.4.bb similarity index 100% rename from meta/recipes-devtools/gcc/gcc_6.3.bb rename to meta/recipes-devtools/gcc/gcc_6.4.bb diff --git a/meta/recipes-devtools/gcc/libgcc-initial_6.3.bb b/meta/recipes-devtools/gcc/libgcc-initial_6.4.bb similarity index 100% rename from meta/recipes-devtools/gcc/libgcc-initial_6.3.bb rename to meta/recipes-devtools/gcc/libgcc-initial_6.4.bb diff --git a/meta/recipes-devtools/gcc/libgcc_6.3.bb b/meta/recipes-devtools/gcc/libgcc_6.4.bb similarity index 100% rename from meta/recipes-devtools/gcc/libgcc_6.3.bb rename to meta/recipes-devtools/gcc/libgcc_6.4.bb diff --git a/meta/recipes-devtools/gcc/libgfortran_6.3.bb b/meta/recipes-devtools/gcc/libgfortran_6.4.bb similarity index 100% rename from meta/recipes-devtools/gcc/libgfortran_6.3.bb rename to meta/recipes-devtools/gcc/libgfortran_6.4.bb From patchwork Sun Mar 11 00:42:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Jansa X-Patchwork-Id: 131323 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp2623319lja; Sat, 10 Mar 2018 16:44:34 -0800 (PST) X-Google-Smtp-Source: AG47ELvGD1R4wP5+ATEK2kUI4BLlpGiWu6hdeDyXjTgtNgQJuJtJkJ6W4gccwScvkAp7BLAGieJb X-Received: by 2002:a17:902:bb81:: with SMTP id m1-v6mr3397598pls.71.1520729074633; Sat, 10 Mar 2018 16:44:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520729074; cv=none; d=google.com; s=arc-20160816; b=L7G8bgpS/rfwjtlB3rOqbsm0MZADGgJKxYASG+m+sKzqpIqMdNvkklU9VuMRX+bVbe /JRjlf/Fd4P56oLm3GStOXGRSPwiYUdK8VU+AGeFfV68MuH+ICSbF7lrdp3RdTNdbLAI 4WNbrVf7jEZQ2RSlBam54c/RhzHR19cDiSS2G8fITRtvkIziP1COJedI98WAYEjPbYRz 02E5Fm12oGYaOUN2qsongpgptXo14tVuAZjPh/htpGQ5Lmyf5uVV/aW3l3VUCaiw/cZa Y/j9MFceYarQ5nKw6s26rJj9F7r1hyaA1tIREQZ6QhR3dtpnczyldt3d+UGspZhUEB/O WkyQ== 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=45jBfX1xm6ZT/ysVSzjokeFBwCjAT+sfz6W7Ay6ZEZ0=; b=B+Xa91xYJz3RZUa5krr4OTy6ts6+klIOWNxYbBr9jKlVnUve0ikLZPIFGvX7L+CWz0 Xg6xYWCO+28rF7D/ZqEyUSVQLx2tuLF2s1kMpVRqJfmbnFN9D14TzYKczTKTC4PRxFTR xFfJprcZ6oq3e7HV/GUAPCWr/M/7K3vpZ4pvg4gGJ6FcmA+koa4oU1p3OoQ7xKrHAaen 8yiyh2vOAJDbID5lqd3t50azI2zfxyuGnWItSSmJ+E9gEofmgviOVe5DUByBAYaEPE/E 2ggIWzrks3d2wywO1TEs9Hx0OLnq61C4ldbKNeTqDjOtICkHCZW5C6bpg0ojN86ju5xO gSvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=MeIzfMJl; 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 m8-v6si3497044plt.501.2018.03.10.16.44.34; Sat, 10 Mar 2018 16:44:34 -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=MeIzfMJl; 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 7AA9378955; Sun, 11 Mar 2018 00:43:06 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wr0-f177.google.com (mail-wr0-f177.google.com [209.85.128.177]) by mail.openembedded.org (Postfix) with ESMTP id D0F6F788E2 for ; Sun, 11 Mar 2018 00:42:49 +0000 (UTC) Received: by mail-wr0-f177.google.com with SMTP id o1so551659wro.10 for ; Sat, 10 Mar 2018 16:42:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references; bh=6tBsBCDlXMsk903PXoExlffAU+1xElvdXBwHfHAkWXQ=; b=MeIzfMJlUtGsaLh2mLtfUbgMz7PDMcQ4cXRmNsSJo38FA01ivtyp6yxW/26kDZnqte 9OFxXb2g3yE/ObVI4gyo16RjbfbnJvzbZB2HFHdSVHUVvMZ9o/yzMXQxtpLoTyqA5/2l JAal4slUBQpqDxgIJCDbhcIPk876fMD/DPAbYNotnJMCLtJt2Z7jMuWmfhhQpoBJFjQF NhttFIgrlM+V1pi/H7ujhavqFU+pqK31bA1/jJ9MqjnBMoqtzQhP8p6CnRatgG63BQvW YRFmjHcyJ2ZCgxM2MCJGMaQHx8uPVtHESif0bgl3NWz3nfag9aLuffqRL1izocn8LtpC TXjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=6tBsBCDlXMsk903PXoExlffAU+1xElvdXBwHfHAkWXQ=; b=P5+I7H8iGP4Lr3rIZlgWsuaa7Q3etfOzwrCLfwLY2EKhI2GFMM6NMmZrQK1aAy1FRY hSuUi09CLxvhMJeTSsXPwMHkK7KRCzf2ZeqCJ80jY40nDBfflg00WPnBsD6VkXSKhbIC +2Gl2+J6zgmQt50ePepKBcfffXiKrYWP5kSeqXEyWaQOL+/YCorsCix8uGF/6g6YFXeR +yeVBZfx/jOIKB7hVyDEcIuFHzs/f38ot1bbhOgtnoLroWNrJD5GiRGLI9mpXJcq0V8n z2Ud1L3wkTynMNU9e1AuY9iokayaNad8yf9LuDEuK4sAEdOz4JO8E0PgKZ3y5yppjIz0 Gp6Q== X-Gm-Message-State: AElRT7HR0zSri2pjp+KhBdC60MUdOb0uE0YPneBEOGAhtkd0WfD0/QiV Xry3G+05JGZgVo0n6pRoSiF65w== X-Received: by 10.223.134.121 with SMTP id 54mr2509696wrw.59.1520728970619; Sat, 10 Mar 2018 16:42:50 -0800 (PST) Received: from localhost ([217.30.68.212]) by smtp.gmail.com with ESMTPSA id u62sm165239wma.15.2018.03.10.16.42.49 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 10 Mar 2018 16:42:49 -0800 (PST) From: Martin Jansa X-Google-Original-From: Martin Jansa To: Armin Kuster , openembedded-core@lists.openembedded.org Date: Sun, 11 Mar 2018 00:42:26 +0000 Message-Id: <588382b586eb27ba4825d3bdc0d0a807e956cf24.1520728802.git.Martin.Jansa@gmail.com> X-Mailer: git-send-email 2.15.1 In-Reply-To: References: Subject: [OE-core] [morty][PATCH 14/16] gcc6: Fix unaligned STRD issue on ARM 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: Khem Raj Backport https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82445 Fixes [YOCTO 12297] Signed-off-by: Khem Raj Signed-off-by: Ross Burton (cherry picked from commit 568227133be3f9f015679df3525f6c4f86304fd0) --- meta/recipes-devtools/gcc/gcc-6.4.inc | 1 + ...5-suppress-32-bit-aligned-ldrd-strd-peeph.patch | 194 +++++++++++++++++++++ 2 files changed, 195 insertions(+) create mode 100644 meta/recipes-devtools/gcc/gcc-6.4/0057-ARM-PR-82445-suppress-32-bit-aligned-ldrd-strd-peeph.patch -- 2.15.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-6.4.inc b/meta/recipes-devtools/gcc/gcc-6.4.inc index 314994bed1..9ddd56f778 100644 --- a/meta/recipes-devtools/gcc/gcc-6.4.inc +++ b/meta/recipes-devtools/gcc/gcc-6.4.inc @@ -86,6 +86,7 @@ SRC_URI = "\ " BACKPORTS = "\ file://CVE-2016-6131.patch \ + file://0057-ARM-PR-82445-suppress-32-bit-aligned-ldrd-strd-peeph.patch \ " SRC_URI[md5sum] = "11ba51a0cfb8471927f387c8895fe232" SRC_URI[sha256sum] = "850bf21eafdfe5cd5f6827148184c08c4a0852a37ccf36ce69855334d2c914d4" diff --git a/meta/recipes-devtools/gcc/gcc-6.4/0057-ARM-PR-82445-suppress-32-bit-aligned-ldrd-strd-peeph.patch b/meta/recipes-devtools/gcc/gcc-6.4/0057-ARM-PR-82445-suppress-32-bit-aligned-ldrd-strd-peeph.patch new file mode 100644 index 0000000000..0214ab83d9 --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc-6.4/0057-ARM-PR-82445-suppress-32-bit-aligned-ldrd-strd-peeph.patch @@ -0,0 +1,194 @@ +From ad5bf450aef2ffee6d57ed193fabc5f72f8eaa65 Mon Sep 17 00:00:00 2001 +From: rearnsha +Date: Thu, 19 Oct 2017 13:16:42 +0000 +Subject: [PATCH] [ARM] PR 82445 - suppress 32-bit aligned ldrd/strd peepholing + with -mno-unaligned-access + +Peephole patterns exist in the arm backend to spot load/store +operations to adjacent memory operations in order to convert them into +ldrd/strd instructions. However, when we have strict alignment +enforced, then we can only do this if the accesses are known to be +64-bit aligned; this is unlikely to be the case for most loads. The +patch adds some alignment checking to the code that validates the +addresses for use in the peephole patterns. This should also fix +incorrect generation of ldrd/strd with unaligned accesses that could +previously have occurred on ARMv5e where all such operations must be +64-bit aligned. + +I've added some new tests as well. In doing so I discovered that the +ldrd/strd peephole tests could never fail since they would match the +source file name in the scanned assembly as well as any instructions +of the intended type. I've fixed those by tightening the scan results +slightly. + +gcc: + +* config/arm/arm.c (align_ok_ldrd_strd): New function. +(mem_ok_for_ldrd_strd): New parameter align. Extract the alignment of the +mem into it. +(gen_operands_ldrd_strd): Validate the alignment of the accesses. + +testsuite: + +* gcc.target/arm/peep-ldrd-1.c: Tighten test scan pattern. +* gcc.target/arm/peep-strd-1.c: Likewise. +* gcc.target/arm/peep-ldrd-2.c: New test. +* gcc.target/arm/peep-strd-2.c: New test. + + + +git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@253892 138bc75d-0d04-0410-961f-82ee72b054a4 +--- +Upstream-Status: Backport +Signed-off-by: Khem Raj + + gcc/ChangeLog | 8 +++++++ + gcc/config/arm/arm.c | 27 ++++++++++++++++++---- + gcc/testsuite/ChangeLog | 8 +++++++ + gcc/testsuite/gcc.target/arm/peep-ldrd-1.c | 2 +- + .../arm/{peep-ldrd-1.c => peep-ldrd-2.c} | 4 ++-- + gcc/testsuite/gcc.target/arm/peep-strd-1.c | 2 +- + .../arm/{peep-strd-1.c => peep-strd-2.c} | 4 ++-- + 7 files changed, 44 insertions(+), 11 deletions(-) + copy gcc/testsuite/gcc.target/arm/{peep-ldrd-1.c => peep-ldrd-2.c} (63%) + copy gcc/testsuite/gcc.target/arm/{peep-strd-1.c => peep-strd-2.c} (58%) + +diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c +index 9c0813d598d..e3da9f77fb6 100644 +--- a/gcc/config/arm/arm.c ++++ b/gcc/config/arm/arm.c +@@ -15926,12 +15926,23 @@ operands_ok_ldrd_strd (rtx rt, rtx rt2, rtx rn, HOST_WIDE_INT offset, + return true; + } + ++/* Return true if a 64-bit access with alignment ALIGN and with a ++ constant offset OFFSET from the base pointer is permitted on this ++ architecture. */ ++static bool ++align_ok_ldrd_strd (HOST_WIDE_INT align, HOST_WIDE_INT offset) ++{ ++ return (unaligned_access ++ ? (align >= BITS_PER_WORD && (offset & 3) == 0) ++ : (align >= 2 * BITS_PER_WORD && (offset & 7) == 0)); ++} ++ + /* Helper for gen_operands_ldrd_strd. Returns true iff the memory + operand MEM's address contains an immediate offset from the base +- register and has no side effects, in which case it sets BASE and +- OFFSET accordingly. */ ++ register and has no side effects, in which case it sets BASE, ++ OFFSET and ALIGN accordingly. */ + static bool +-mem_ok_for_ldrd_strd (rtx mem, rtx *base, rtx *offset) ++mem_ok_for_ldrd_strd (rtx mem, rtx *base, rtx *offset, HOST_WIDE_INT *align) + { + rtx addr; + +@@ -15950,6 +15961,7 @@ mem_ok_for_ldrd_strd (rtx mem, rtx *base, rtx *offset) + gcc_assert (MEM_P (mem)); + + *offset = const0_rtx; ++ *align = MEM_ALIGN (mem); + + addr = XEXP (mem, 0); + +@@ -15990,7 +16002,7 @@ gen_operands_ldrd_strd (rtx *operands, bool load, + bool const_store, bool commute) + { + int nops = 2; +- HOST_WIDE_INT offsets[2], offset; ++ HOST_WIDE_INT offsets[2], offset, align[2]; + rtx base = NULL_RTX; + rtx cur_base, cur_offset, tmp; + int i, gap; +@@ -16002,7 +16014,8 @@ gen_operands_ldrd_strd (rtx *operands, bool load, + registers, and the corresponding memory offsets. */ + for (i = 0; i < nops; i++) + { +- if (!mem_ok_for_ldrd_strd (operands[nops+i], &cur_base, &cur_offset)) ++ if (!mem_ok_for_ldrd_strd (operands[nops+i], &cur_base, &cur_offset, ++ &align[i])) + return false; + + if (i == 0) +@@ -16114,6 +16127,7 @@ gen_operands_ldrd_strd (rtx *operands, bool load, + /* Swap the instructions such that lower memory is accessed first. */ + std::swap (operands[0], operands[1]); + std::swap (operands[2], operands[3]); ++ std::swap (align[0], align[1]); + if (const_store) + std::swap (operands[4], operands[5]); + } +@@ -16127,6 +16141,9 @@ gen_operands_ldrd_strd (rtx *operands, bool load, + if (gap != 4) + return false; + ++ if (!align_ok_ldrd_strd (align[0], offset)) ++ return false; ++ + /* Make sure we generate legal instructions. */ + if (operands_ok_ldrd_strd (operands[0], operands[1], base, offset, + false, load)) +diff --git a/gcc/testsuite/gcc.target/arm/peep-ldrd-1.c b/gcc/testsuite/gcc.target/arm/peep-ldrd-1.c +index eb2b86ee7b6..d49eff6b87e 100644 +--- a/gcc/testsuite/gcc.target/arm/peep-ldrd-1.c ++++ b/gcc/testsuite/gcc.target/arm/peep-ldrd-1.c +@@ -8,4 +8,4 @@ int foo(int a, int b, int* p, int *q) + *p = a; + return a; + } +-/* { dg-final { scan-assembler "ldrd" } } */ ++/* { dg-final { scan-assembler "ldrd\\t" } } */ +diff --git a/gcc/testsuite/gcc.target/arm/peep-ldrd-1.c b/gcc/testsuite/gcc.target/arm/peep-ldrd-2.c +similarity index 63% +copy from gcc/testsuite/gcc.target/arm/peep-ldrd-1.c +copy to gcc/testsuite/gcc.target/arm/peep-ldrd-2.c +index eb2b86ee7b6..6822c2b1454 100644 +--- a/gcc/testsuite/gcc.target/arm/peep-ldrd-1.c ++++ b/gcc/testsuite/gcc.target/arm/peep-ldrd-2.c +@@ -1,6 +1,6 @@ + /* { dg-do compile } */ + /* { dg-require-effective-target arm_prefer_ldrd_strd } */ +-/* { dg-options "-O2" } */ ++/* { dg-options "-O2 -mno-unaligned-access" } */ + int foo(int a, int b, int* p, int *q) + { + a = p[2] + p[3]; +@@ -8,4 +8,4 @@ int foo(int a, int b, int* p, int *q) + *p = a; + return a; + } +-/* { dg-final { scan-assembler "ldrd" } } */ ++/* { dg-final { scan-assembler-not "ldrd\\t" } } */ +diff --git a/gcc/testsuite/gcc.target/arm/peep-strd-1.c b/gcc/testsuite/gcc.target/arm/peep-strd-1.c +index bd330769599..fe1beac7229 100644 +--- a/gcc/testsuite/gcc.target/arm/peep-strd-1.c ++++ b/gcc/testsuite/gcc.target/arm/peep-strd-1.c +@@ -6,4 +6,4 @@ void foo(int a, int b, int* p) + p[2] = a; + p[3] = b; + } +-/* { dg-final { scan-assembler "strd" } } */ ++/* { dg-final { scan-assembler "strd\\t" } } */ +diff --git a/gcc/testsuite/gcc.target/arm/peep-strd-1.c b/gcc/testsuite/gcc.target/arm/peep-strd-2.c +similarity index 58% +copy from gcc/testsuite/gcc.target/arm/peep-strd-1.c +copy to gcc/testsuite/gcc.target/arm/peep-strd-2.c +index bd330769599..bfc5ebe9eec 100644 +--- a/gcc/testsuite/gcc.target/arm/peep-strd-1.c ++++ b/gcc/testsuite/gcc.target/arm/peep-strd-2.c +@@ -1,9 +1,9 @@ + /* { dg-do compile } */ + /* { dg-require-effective-target arm_prefer_ldrd_strd } */ +-/* { dg-options "-O2" } */ ++/* { dg-options "-O2 -mno-unaligned-access" } */ + void foo(int a, int b, int* p) + { + p[2] = a; + p[3] = b; + } +-/* { dg-final { scan-assembler "strd" } } */ ++/* { dg-final { scan-assembler-not "strd\\t" } } */ +-- +2.15.0 +