From patchwork Wed Dec 26 20:09:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 154526 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp6203160ljp; Wed, 26 Dec 2018 12:10:30 -0800 (PST) X-Google-Smtp-Source: ALg8bN4HihPZ5dIXAESfcoWULCijQLp7tV5ge/iJm5VKEyYU0pJc3dAw+A7glFqWvamYX8MDPPVD X-Received: by 2002:a17:902:161:: with SMTP id 88mr21563936plb.306.1545855030055; Wed, 26 Dec 2018 12:10:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545855030; cv=none; d=google.com; s=arc-20160816; b=ed7P2av8CVX2MzMhpdN9Q17aLEqdM0LzqWb3YjAAWOqKLJKeG/ZsKSsYjzJzqfXwZB Fe6wxXhUxEEZYQsfDAjlVakFosX6wki26FDky5jnWa0D+E/pDC5So3fv2zIOGsCeBeIf rTZst1DxPgq9p1RuJ9ctgfGHLEntBRJl3fyZhmKsh2FgOFyoFZbf/CgX5d6pjUV+oTSx CeNdm6OPSCyVmm3H5k8VAWPc1Hn7XwQ9H74TGo37E4C1qYgu1ucARpq6lOWflO9nqGb2 NW+P2Q6yuQWJx3a976ZBhLlj6mnPJeWfADsXzo1GkHtZF622EzUva8tUMp6x7QH2j0eV C86g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:message-id:date:to:from:dkim-signature:delivered-to; bh=jm8wFkPIkgT3k4eCzH+3aob3EI3hhhG8C5kTwMstJgY=; b=PxoTb2dADHKvx9nQJZ9S6O9LNVcfw8Bq7YHS872Eeu+23YQCEvy6f8GzQhc5rmUl9b YiXmozHAJuxX2xKy5ZqTkDf72HefcBWvsb75mnXpnf/2r3nIqr8Pph8nbQpk5KLDq41d AXjlmBRYIlFo1bOJwisdpbmpzGNSkKqgyhAZgxdtTBCbeXs+7IJyJGccrE7AQ35b46ab fR0BcNmQXG2l1iObX6gtOPVt9C8tnZif/9PN56LhG07/KkUvIA+ACHoEqC+uyP/jFpBQ ag6NbymwJxldUgQbhx/BdqwX5J6iPehEXN9ZEwNKkxnFUu9g2StCd6tEIUAl6+x5yLBK uM4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=Pm4rrkbX; 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 j193si32092993pge.332.2018.12.26.12.10.29; Wed, 26 Dec 2018 12:10:30 -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=Pm4rrkbX; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from 165.28.230.35.bc.googleusercontent.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 7F29F6C123; Wed, 26 Dec 2018 20:10:23 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pl1-f181.google.com (mail-pl1-f181.google.com [209.85.214.181]) by mail.openembedded.org (Postfix) with ESMTP id 3AF9A6BB13 for ; Wed, 26 Dec 2018 20:10:21 +0000 (UTC) Received: by mail-pl1-f181.google.com with SMTP id u6so7875504plm.8 for ; Wed, 26 Dec 2018 12:10:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=B/bPFq5xgOVwpyIjUtlnx/AJcTwmf38ipwqWaAKGeE8=; b=Pm4rrkbXZxhW8F5LlokmnfhstV6/58RZgCM3ZTXISSzrBmIMvvvzq+WQYSb6MzrpJU gkjOPkUpZsLE4lWt2bwP8HARWa3cRZaTuBfquVXQlPgSANQKtFBDBPGeddrd0119mvg3 oGBupzKtqcqORhlfwTlY0Vrq6naxjlNKXYLIB8hOpb1OMJ1HR3wvPBX7J/K5WZ2lkRG8 tMtu679TUeLt6pdGdsftCYoVloI8UwcGZ/9hjocvTKg9Z2jW7S/7alzW0wrGL8Wv2pPx 2uDa60f0uNv0ztxUImOSVOijfoYrnxQie8goFufi2wPT2Ub5sj43NhFFT2FHB4Fqc9PS R+/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=B/bPFq5xgOVwpyIjUtlnx/AJcTwmf38ipwqWaAKGeE8=; b=TZs0QrWJbCCWy5wPf8/kfmxIZ4GNIIFq01unfFsaEKNW+hWP6liw5e2f+RH3S+ZgtU TVK/rJez1QHRPGe7dELs0G9FWmKFeh1mJ1OZIHsBh42cBVxSuDzy8Aaj4j7+MQmRXSSQ rG/x+uwuRCpjb4Cas1XkSsf3j4VSVJvRd+j8yGb1yrYPvdPKsGCmpA000ZgK8NCdJSip nj01E14G7lHvMUDySRmL/nrRB1YgXgioMkrUvMfHEsliELnYX9CjEvYmzQ9Fol5cJuRa Sv9yNCPp9Sh+E1uNNCfWPgQQYP+qOAPWzy3Gi3Wy1BjKD5yJHx3QrdH1Nmc2UIz6I4aN Zisw== X-Gm-Message-State: AJcUukeIxzurJXVJVNo4gA9sMM7JlsCzglDF57ycgf+AUx6dnecaacP4 3MLq1rWktHwSvlAFB7MbOsXPBPsyvDA= X-Received: by 2002:a17:902:48:: with SMTP id 66mr20485490pla.68.1545855021569; Wed, 26 Dec 2018 12:10:21 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:877f:9499::6e98]) by smtp.gmail.com with ESMTPSA id l3sm60029493pga.92.2018.12.26.12.10.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Dec 2018 12:10:20 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Wed, 26 Dec 2018 12:09:45 -0800 Message-Id: <20181226200954.5267-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [OE-core] [PATCH 01/10] grub2: Fix passing null to printf formats 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 Backport a patch that helps with this error which is found by gcc9 Signed-off-by: Khem Raj --- ...001-grub-setup-Debug-message-cleanup.patch | 34 +++++++++++++++++++ meta/recipes-bsp/grub/grub2.inc | 1 + 2 files changed, 35 insertions(+) create mode 100644 meta/recipes-bsp/grub/files/0001-grub-setup-Debug-message-cleanup.patch -- 2.20.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-bsp/grub/files/0001-grub-setup-Debug-message-cleanup.patch b/meta/recipes-bsp/grub/files/0001-grub-setup-Debug-message-cleanup.patch new file mode 100644 index 0000000000..e01fcdffb0 --- /dev/null +++ b/meta/recipes-bsp/grub/files/0001-grub-setup-Debug-message-cleanup.patch @@ -0,0 +1,34 @@ +From 4e9d9358e0cda6d01020005eb6343e3b69f7201a Mon Sep 17 00:00:00 2001 +From: Cao jin +Date: Tue, 3 Jul 2018 18:51:13 +0800 +Subject: [PATCH] grub-setup: Debug message cleanup + +Variable "root" is initialized after root device probing and is null in +current place, so, drop it. + +Signed-off-by: Cao jin +Reviewed-by: Daniel Kiper +--- +Upstream-Status: Backport [http://git.savannah.gnu.org/cgit/grub.git/commit/?id=4e9d9358e0cda6d01020005eb6343e3b69f7201a] + + util/setup.c | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/util/setup.c b/util/setup.c +index 80363075d..9c1e1b7da 100644 +--- a/util/setup.c ++++ b/util/setup.c +@@ -305,9 +305,8 @@ SETUP (const char *dir, + bl.first_block = (struct grub_boot_blocklist *) (core_img + + GRUB_DISK_SECTOR_SIZE + - sizeof (*bl.block)); +- grub_util_info ("root is `%s', dest is `%s'", root, dest); + +- grub_util_info ("Opening dest"); ++ grub_util_info ("Opening dest `%s'", dest); + dest_dev = grub_device_open (dest); + if (! dest_dev) + grub_util_error ("%s", grub_errmsg); +-- +2.17.2 (Apple Git-113) + diff --git a/meta/recipes-bsp/grub/grub2.inc b/meta/recipes-bsp/grub/grub2.inc index 325eca25bb..8e0f86217c 100644 --- a/meta/recipes-bsp/grub/grub2.inc +++ b/meta/recipes-bsp/grub/grub2.inc @@ -20,6 +20,7 @@ SRC_URI = "https://ftp.gnu.org/gnu/grub/grub-${PV}.tar.gz \ file://fix.build.with.gcc-7.patch \ file://gcc8.patch \ file://0001-x86-64-Treat-R_X86_64_PLT32-as-R_X86_64_PC32.patch \ + file://0001-grub-setup-Debug-message-cleanup.patch \ " SRC_URI[md5sum] = "1116d1f60c840e6dbd67abbc99acb45d" SRC_URI[sha256sum] = "660ee136fbcee08858516ed4de2ad87068bfe1b6b8b37896ce3529ff054a726d" From patchwork Wed Dec 26 20:09:46 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 154527 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp6203591ljp; Wed, 26 Dec 2018 12:10:59 -0800 (PST) X-Google-Smtp-Source: AFSGD/UDO/3bHEjvms194iaK87TfeuZ+JSDqJnBYvKZ5P7p8xLYo5OB0UEhzSTOy9JrUYY1MSthO X-Received: by 2002:a62:399b:: with SMTP id u27mr22211586pfj.181.1545855059339; Wed, 26 Dec 2018 12:10:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545855059; cv=none; d=google.com; s=arc-20160816; b=n1K34FLjI2w8XgiA8N4QhYwp5A/eMYCk6o3I3ir5toKinS/d6dWrVIIbux8j4Lbh5T yCwVqoBh6mt6e1rRgwHZCy0Ow4Y7F2+/QOiGVmS3nnB9nVWNTEB/tVehAyMphNGFv9f+ X8cwEgluv+edzsWCJ5WC0siZtxO4hzakxK9NKAwQoR7YIkwk4Yiw82IX/EcTG6V4QCCa JC6hsbIkBziYa0FIrPoXG/fZKghyqL0D6uBAxj1DVFvFTY6j4tbaQLaRWVoGTgZVNd0n uT8IzHiP/lh0nakXPvjTZ6YtoC/tyrA7WXvjGRxZRGAqMP3SpxAcayxiSPaYLHVaUBk4 ZfNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=1NqscA64D85NC8OHDUUh53MR90jG6FURcdg2YjdClco=; b=ApefhTPB24MUks70B5YoTOC62jlMMsgwc7Z+SdvOPD1a0JmDPvdmfAbKPJ04s1MA6n OyZzG32nhpfekw43eEjdKNgAyK0O2QUDQGf52XZIUr7Xq0OieX076JxiH7vVwBQAnl78 +w+Vb6vuw+W6gf80eVWzduZ4U98aTfoCjaTccGlK4UbWkSeDF+p8J5lXx13HPsGZD9bZ v7sDhWJMSn+/V7S7tHxBJjfvoe1Yh4il/gkSebiWH8zQ5/sCJ9kUC0TxQr4209+DoufU eh5q+iU0fVTOBZq150UiPWjPTu3IqWk4KpxBfMnLP9E5YVjAWaoo+BX4AMCkpVepTsBq AMnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=ZaMbyh+B; 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 j132si6060129pfc.84.2018.12.26.12.10.59; Wed, 26 Dec 2018 12:10:59 -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=ZaMbyh+B; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from 165.28.230.35.bc.googleusercontent.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 9F0BD6C14B; Wed, 26 Dec 2018 20:10:56 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pl1-f194.google.com (mail-pl1-f194.google.com [209.85.214.194]) by mail.openembedded.org (Postfix) with ESMTP id BBA166BB13 for ; Wed, 26 Dec 2018 20:10:21 +0000 (UTC) Received: by mail-pl1-f194.google.com with SMTP id b5so7886062plr.4 for ; Wed, 26 Dec 2018 12:10:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=43DeZ6b8+XqPFYGhPbHpk6QrERAi0y02ZOvXI3yd7VU=; b=ZaMbyh+B5idNistAUmSEhe5xtaNhbxGocp+VoD82ZMUM1qZkuDkkRwBGc0RGdQ6FV1 r/NiURoVffPyAzlENdtKtemRuMFNO5WlwDKeanA5RXO85sqw0rAv1ffRZqg0kuCeUdH+ Djjgw37nPzK8azYAC4NqKgK2pro81+g3LJHvtpVVExQulZbi5LummXXOrvzA/izItlLM Sm2XKzN6EqD1+dU9/oaFVBqHCSfAEsUobtHIdwK7uE7OwyuAMlGoSqWysFfyQ7r/XAKH 5Vq1fR8bNu5zlvHyEgMDsoyvSjIVlqLsxYlFS2xqKCxRt1bC4aHTllHI94IpyiIek9S7 2wHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=43DeZ6b8+XqPFYGhPbHpk6QrERAi0y02ZOvXI3yd7VU=; b=iWskpZRZCwXZ289ntq/irRfH99WovG0tupT2S9SrnCV3ol7cc2SfOk/BZqfsS4OcVh BFyciaX40rEqsFETali8CUlydoqtFsIVIdIz3ELzQhEYqnGyvmDh3cpQIbho+ucEZdHP CdEuUAL9RN+F+/HmEzHS2Df9XxQafXQ8BwgBkCO4d+Ya+47ua7RHK6AMWgmvW3sW7YZ7 EWwrXk0k0XYiKSUS4mNCahKAjl9QC40W1lm5s2PgCINVptZ5wDDgBrQnIVA0jvnVTxaB jDrdAfOXQA+IF8Jxiy4Y/8p86UE4DBqaEQ8TD49p9vz7D9+ddfeb2UYsrF2jGN3QqEpa rXdw== X-Gm-Message-State: AJcUukdfrjgDyvBbQ41nUgMPMTPFNVK+9IrUDJQEDAAKyzvdvVKWHIKQ 2fs2j2xoE3nZbyXrG4Yxg684rDbthBA= X-Received: by 2002:a17:902:6113:: with SMTP id t19mr20485669plj.248.1545855022324; Wed, 26 Dec 2018 12:10:22 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:877f:9499::6e98]) by smtp.gmail.com with ESMTPSA id l3sm60029493pga.92.2018.12.26.12.10.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Dec 2018 12:10:21 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Wed, 26 Dec 2018 12:09:46 -0800 Message-Id: <20181226200954.5267-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20181226200954.5267-1-raj.khem@gmail.com> References: <20181226200954.5267-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [OE-core] [PATCH 02/10] gnupg: Upgrade to 2.2.12 release X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- ...nfigure.ac-use-a-custom-value-for-the-location-of-.patch | 6 +++--- meta/recipes-support/gnupg/gnupg/relocate.patch | 2 +- .../gnupg/{gnupg_2.2.11.bb => gnupg_2.2.12.bb} | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) rename meta/recipes-support/gnupg/{gnupg_2.2.11.bb => gnupg_2.2.12.bb} (92%) -- 2.20.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-support/gnupg/gnupg/0001-configure.ac-use-a-custom-value-for-the-location-of-.patch b/meta/recipes-support/gnupg/gnupg/0001-configure.ac-use-a-custom-value-for-the-location-of-.patch index ab0b6dccc4..3f1c3abaeb 100644 --- a/meta/recipes-support/gnupg/gnupg/0001-configure.ac-use-a-custom-value-for-the-location-of-.patch +++ b/meta/recipes-support/gnupg/gnupg/0001-configure.ac-use-a-custom-value-for-the-location-of-.patch @@ -1,4 +1,4 @@ -From 5f38f1276a3651c30bddc508122da2e7d2d3ca92 Mon Sep 17 00:00:00 2001 +From 8eb4d25c25a1c1323797d94e0727a3e42b7f3287 Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Mon, 22 Jan 2018 18:00:21 +0200 Subject: [PATCH] configure.ac: use a custom value for the location of @@ -14,10 +14,10 @@ Signed-off-by: Alexander Kanavin 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac -index 8c80377..a66d393 100644 +index 4d66af9..b9ef235 100644 --- a/configure.ac +++ b/configure.ac -@@ -1841,7 +1841,7 @@ AC_DEFINE_UNQUOTED(GPGCONF_DISP_NAME, "GPGConf", +@@ -1848,7 +1848,7 @@ AC_DEFINE_UNQUOTED(GPGCONF_DISP_NAME, "GPGConf", AC_DEFINE_UNQUOTED(GPGTAR_NAME, "gpgtar", [The name of the gpgtar tool]) diff --git a/meta/recipes-support/gnupg/gnupg/relocate.patch b/meta/recipes-support/gnupg/gnupg/relocate.patch index 860f7f1d96..c494ef80b7 100644 --- a/meta/recipes-support/gnupg/gnupg/relocate.patch +++ b/meta/recipes-support/gnupg/gnupg/relocate.patch @@ -1,4 +1,4 @@ -From 1eaf630343cc77d8b5d41d0b0a3551fa193c5fcf Mon Sep 17 00:00:00 2001 +From f9fc214b0bf2f67b515ca8a5333f39c497d1b518 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Wed, 19 Sep 2018 14:44:40 +0100 Subject: [PATCH] Allow the environment to override where gnupg looks for its diff --git a/meta/recipes-support/gnupg/gnupg_2.2.11.bb b/meta/recipes-support/gnupg/gnupg_2.2.12.bb similarity index 92% rename from meta/recipes-support/gnupg/gnupg_2.2.11.bb rename to meta/recipes-support/gnupg/gnupg_2.2.12.bb index d259ed5324..1f381c2d91 100644 --- a/meta/recipes-support/gnupg/gnupg_2.2.11.bb +++ b/meta/recipes-support/gnupg/gnupg_2.2.12.bb @@ -19,8 +19,8 @@ SRC_URI_append_class-native = " file://0001-configure.ac-use-a-custom-value-for- file://relocate.patch" -SRC_URI[md5sum] = "e23a896d634e8b81681314780f5158a4" -SRC_URI[sha256sum] = "496c3e123ef53f35436ddccca58e82acaa901ca4e21174e77386c0cea0c49cd9" +SRC_URI[md5sum] = "421b17028878b253c5acfef056bc6141" +SRC_URI[sha256sum] = "db030f8b4c98640e91300d36d516f1f4f8fe09514a94ea9fc7411ee1a34082cb" EXTRA_OECONF = "--disable-ldap \ --disable-ccid-driver \ From patchwork Wed Dec 26 20:09:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 154529 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp6203798ljp; Wed, 26 Dec 2018 12:11:12 -0800 (PST) X-Google-Smtp-Source: ALg8bN6AwfbnvjkylRHLmFVADDTFb2n2gqVY1dcc1Zjk28YG4H4L6cbXEAEr0pj+xG9AtStuB+p5 X-Received: by 2002:a65:448a:: with SMTP id l10mr20186929pgq.387.1545855072243; Wed, 26 Dec 2018 12:11:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545855072; cv=none; d=google.com; s=arc-20160816; b=Md3wPSmflEfUGa1lsjxGvxnuipbTuwFumRViqsrqQjZrGjU4aUb57wGpTs9dItep+W d8BFNZW6kRLiB653OCSovBxpHkp4S9MHc7ECsPewXh6u/PgBoyQsJirRudP/WbbC31ZD IpTh4Rx/kr+Qjw+fEt+qAXapVsxYQhb2Jx4qj9sfqgoWrYgKecRyyZVQVEAt7SH3zxiP Y3/VNNsBGn/gJ8nlcG0ixR82vJUPxh69Rro8nBBfB31xNB43WiisOaruPTALwj/7X2Lh y7WlVHSWqVkLy0M5ycpL3q0SUShy3z1sXlWk6BQgFIc1mfB2pQaPalcil7asircKRXgk 9ojQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=WbiWkOj2qTszBVuRF7VWqAHcQn2D0BdBUcOb3KTLfAs=; b=YkZST8ZbTypQ9sWErqo5JbR3KAfxt7sN3/pD03d44HvdfA8QimE4Wt7BOKWUXyZ8jm Uq+9dRBP04JeDMvuKnFzftGKrD9RJxAt0BOwLsOt8Kzu75s7xP6UGPsqY7KT/dsIqQJC +tYvbhw9etzA4pKm/uivBm8Zi85zQAcn6EIkSXaG2V5GrDrsuefvpf+0UdTf9fjCOY23 zgjw1beea0UkgNAnGxbKoYD8HrCfBIK+3wQF6UbkDNv9oB6iofdXusvJfmW9CN1VrgYl OSBGBOkF3xtpmq8r706jcb8HPAIdadNNu+l9vfcTItHGymlQnqVmfVeNLqrbNqt7Whf5 wqPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=LKPAiznf; 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 l8si1190285pgm.250.2018.12.26.12.11.11; Wed, 26 Dec 2018 12:11:12 -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=LKPAiznf; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from 165.28.230.35.bc.googleusercontent.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 5A9366C373; Wed, 26 Dec 2018 20:10:59 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf1-f195.google.com (mail-pf1-f195.google.com [209.85.210.195]) by mail.openembedded.org (Postfix) with ESMTP id B02F96BB13 for ; Wed, 26 Dec 2018 20:10:23 +0000 (UTC) Received: by mail-pf1-f195.google.com with SMTP id c73so8196747pfe.13 for ; Wed, 26 Dec 2018 12:10:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ZMIKgWj6q8t48KQDCVFycnHObsygYrs/inlsJ4X9d38=; b=LKPAiznfjmmRDZE07jNmu5fgZYGWPlRH8wYM9Wg4SxOx4nQSXvV81ZhZRKh1D8wL0p NO8AMwUh0HXmisTGDIymlrn1c9757sbJR2bxmrQvm5odVnU8CstRkZI56bI8z4WKa+yq 9BFh1RhqDvrgRQ1V/p2CsdX3jrOeYNK49nCXqPloHpWhp0qvMv6SD64W3BsGt38Zsbxo 2H1DzOTXGImEpE4/BfDLwD6KwokjRyY7j2k7dkmoJwqPXKi/N3bHhby+yigfjDJjRrcO FMzbV36QuPLcR+3o4pc3YLMsumPTVnt48PScrsbAkI68v6e5Q3a/3kSOg8y1aQd+NfGf h/gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ZMIKgWj6q8t48KQDCVFycnHObsygYrs/inlsJ4X9d38=; b=HF4EZYZLNgx7piRQImifnxnR/ZY1OPy4PZBxaoWqC0Dh35EqJJ7uCVsVDgb74r30PB +PRJLbU6tTi4eyfS9/XH20zF3cudQWV5jSPhLbwuA3TUQ1OMweAF8gF02T3hWOHSdAKv w7clZuparVyO+KfRKbi1durpDvSt21snGGVPk7pxBpgKKf0cPPnfhb+RA+QeSVUD0xso yAuJNXvfwwlI52E2vh5ZYLbxmqaFvCG/dsD7AwWrPCvnYLtnNw3z6MtpsGKcED7Gia15 HZ3vJDCMxsddSgkq6ZUkCcRsegStaZPpyn9WT2NQaiTOYK4HWObzPM36QOyjMttxcBLV pnfQ== X-Gm-Message-State: AJcUukfhXqbKrfS7ezW40UB9vfC3sj56fX1uNsOBhkXx1lnQ3rnBbXJz 2M8HegnEEYtWVvUm1W3kFH9Iq3vKWCI= X-Received: by 2002:a62:6cc9:: with SMTP id h192mr8381769pfc.223.1545855023340; Wed, 26 Dec 2018 12:10:23 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:877f:9499::6e98]) by smtp.gmail.com with ESMTPSA id l3sm60029493pga.92.2018.12.26.12.10.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Dec 2018 12:10:22 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Wed, 26 Dec 2018 12:09:47 -0800 Message-Id: <20181226200954.5267-3-raj.khem@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20181226200954.5267-1-raj.khem@gmail.com> References: <20181226200954.5267-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [OE-core] [PATCH 03/10] gnupg: Do not apply -Woverride-init guard for gcc >= 9 X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- ...erride-init-is-not-needed-with-gcc-9.patch | 31 +++++++++++++++++++ ...-a-custom-value-for-the-location-of-.patch | 6 ++-- .../gnupg/gnupg/relocate.patch | 2 +- meta/recipes-support/gnupg/gnupg_2.2.12.bb | 3 +- 4 files changed, 37 insertions(+), 5 deletions(-) create mode 100644 meta/recipes-support/gnupg/gnupg/0001-Woverride-init-is-not-needed-with-gcc-9.patch -- 2.20.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-support/gnupg/gnupg/0001-Woverride-init-is-not-needed-with-gcc-9.patch b/meta/recipes-support/gnupg/gnupg/0001-Woverride-init-is-not-needed-with-gcc-9.patch new file mode 100644 index 0000000000..4a280f9d5c --- /dev/null +++ b/meta/recipes-support/gnupg/gnupg/0001-Woverride-init-is-not-needed-with-gcc-9.patch @@ -0,0 +1,31 @@ +From 0df5800cc2e720aad883a517f7d24a9722fe5845 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Thu, 20 Dec 2018 17:37:48 -0800 +Subject: [PATCH] Woverride-init is not needed with gcc 9 + +Fixes +| ../../gnupg-2.2.12/dirmngr/dns.h:525:16: error: lvalue required as +unary '&' operand | +525 | dns_rr_i_init(&dns_quietinit((struct dns_rr_i){ 0, __VA_ARGS__ +}), (P)) + +Upstream-Status: Pending + +Signed-off-by: Khem Raj +--- + dirmngr/dns.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/dirmngr/dns.h b/dirmngr/dns.h +index 30d0b45..98fe412 100644 +--- a/dirmngr/dns.h ++++ b/dirmngr/dns.h +@@ -154,7 +154,7 @@ DNS_PUBLIC int *dns_debug_p(void); + + #define dns_quietinit(...) \ + DNS_PRAGMA_PUSH DNS_PRAGMA_QUIET __VA_ARGS__ DNS_PRAGMA_POP +-#elif (__GNUC__ == 4 && __GNUC_MINOR__ >= 6) || __GNUC__ > 4 ++#elif (__GNUC__ == 4 && __GNUC_MINOR__ >= 6) || (__GNUC__ > 4 && __GNUC__ < 9) + #define DNS_PRAGMA_PUSH _Pragma("GCC diagnostic push") + #define DNS_PRAGMA_QUIET _Pragma("GCC diagnostic ignored \"-Woverride-init\"") + #define DNS_PRAGMA_POP _Pragma("GCC diagnostic pop") diff --git a/meta/recipes-support/gnupg/gnupg/0001-configure.ac-use-a-custom-value-for-the-location-of-.patch b/meta/recipes-support/gnupg/gnupg/0001-configure.ac-use-a-custom-value-for-the-location-of-.patch index 3f1c3abaeb..c43ecdf861 100644 --- a/meta/recipes-support/gnupg/gnupg/0001-configure.ac-use-a-custom-value-for-the-location-of-.patch +++ b/meta/recipes-support/gnupg/gnupg/0001-configure.ac-use-a-custom-value-for-the-location-of-.patch @@ -1,4 +1,4 @@ -From 8eb4d25c25a1c1323797d94e0727a3e42b7f3287 Mon Sep 17 00:00:00 2001 +From c69c3a49f3295179c247db5ceb3ef8952928a724 Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Mon, 22 Jan 2018 18:00:21 +0200 Subject: [PATCH] configure.ac: use a custom value for the location of @@ -14,10 +14,10 @@ Signed-off-by: Alexander Kanavin 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac -index 4d66af9..b9ef235 100644 +index 919ab31..cd58fdb 100644 --- a/configure.ac +++ b/configure.ac -@@ -1848,7 +1848,7 @@ AC_DEFINE_UNQUOTED(GPGCONF_DISP_NAME, "GPGConf", +@@ -1855,7 +1855,7 @@ AC_DEFINE_UNQUOTED(GPGCONF_DISP_NAME, "GPGConf", AC_DEFINE_UNQUOTED(GPGTAR_NAME, "gpgtar", [The name of the gpgtar tool]) diff --git a/meta/recipes-support/gnupg/gnupg/relocate.patch b/meta/recipes-support/gnupg/gnupg/relocate.patch index c494ef80b7..1a5ea4aa2b 100644 --- a/meta/recipes-support/gnupg/gnupg/relocate.patch +++ b/meta/recipes-support/gnupg/gnupg/relocate.patch @@ -1,4 +1,4 @@ -From f9fc214b0bf2f67b515ca8a5333f39c497d1b518 Mon Sep 17 00:00:00 2001 +From 6d31b04d7a75f1d73c3518bf043b5b0a2dc40cb1 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Wed, 19 Sep 2018 14:44:40 +0100 Subject: [PATCH] Allow the environment to override where gnupg looks for its diff --git a/meta/recipes-support/gnupg/gnupg_2.2.12.bb b/meta/recipes-support/gnupg/gnupg_2.2.12.bb index 1f381c2d91..a02c66a0c8 100644 --- a/meta/recipes-support/gnupg/gnupg_2.2.12.bb +++ b/meta/recipes-support/gnupg/gnupg_2.2.12.bb @@ -14,7 +14,8 @@ SRC_URI = "${GNUPG_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \ file://0002-use-pkgconfig-instead-of-npth-config.patch \ file://0003-dirmngr-uses-libgpg-error.patch \ file://0004-autogen.sh-fix-find-version-for-beta-checking.patch \ - " + file://0001-Woverride-init-is-not-needed-with-gcc-9.patch \ + " SRC_URI_append_class-native = " file://0001-configure.ac-use-a-custom-value-for-the-location-of-.patch \ file://relocate.patch" From patchwork Wed Dec 26 20:09:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 154528 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp6203699ljp; Wed, 26 Dec 2018 12:11:05 -0800 (PST) X-Google-Smtp-Source: ALg8bN6k37rutA7hmMyzUITxoZ/eIvaRmFPwCFCl4ddqY9uBZw4OUg1CIQRh4AlvDpXALAue5iSj X-Received: by 2002:a17:902:930b:: with SMTP id bc11mr21491017plb.17.1545855065157; Wed, 26 Dec 2018 12:11:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545855065; cv=none; d=google.com; s=arc-20160816; b=Qn+KHYVYB0gUQzXv8MUaRcYcDBEtCoB/rhHul1WJLQvrjOamFh7MGQLi5Ejl6nbHee beCRbpRwqW1EpyikYtuaQ7JsWyLgKKDALSG7+ltzPgCScEYsRGBS0BGnCIUdcyTqJFpc qnjqDpSwpc/KJWITPqaReT7ytMl97433+G7H3/YNJG6BlGgnoRK+oo0rayWXZCkVUMSQ Il8o2RA2Kqh/dNqPCXD4Hx0NVsSzPHkOLwwCD6g4UegQbbrB6UqTP6tBOIUhL2StpAxy iJqiZJqhZtZGiJT8MsPGSH7XOFxdmDpado8W9fa+sVgC7xYi/THN7uQxuRBw7u7XOj0e t5cg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=6E+tZcKtGJRS1RC12n2jE5zWq8Joh4KatU+0RmzIp78=; b=vVYKoycUmMBCz+wReELfohGcZX4yUdPNckd9QDrL7/cYoayz3VEtGOILTY9plvPgcG VcC1sOAO1TJxkSux24+uAexpd2HkIQdic3Sm+IdGnRsLe2ug/xvHdEOKEKXv9zupMa11 T+kVB99pTzdtxv2ferRunVkxHbbidpFG5z4PBo+pBTp9yP1NCPVWMH3h8ZrVwIrlBenj RIS8E+7b78saGrIfwDA3VngA6GWB1bX/JLNRck5zKeQGiA3w9YOAtC2mfQ9XTMOiwGaD 4ryjrxEnQjG6ycmgdfhltL2Agj8p+bvpq+7hzlOnoke1N61H60MeZ2kKBz57mDZjif8Y JBtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=DwwMUuI1; 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 j195si762016pfd.165.2018.12.26.12.11.04; Wed, 26 Dec 2018 12:11:05 -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=DwwMUuI1; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from 165.28.230.35.bc.googleusercontent.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 1428C6C2B3; Wed, 26 Dec 2018 20:10:58 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg1-f178.google.com (mail-pg1-f178.google.com [209.85.215.178]) by mail.openembedded.org (Postfix) with ESMTP id 6BADD6BB13 for ; Wed, 26 Dec 2018 20:10:23 +0000 (UTC) Received: by mail-pg1-f178.google.com with SMTP id m1so7903041pgq.8 for ; Wed, 26 Dec 2018 12:10:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=avKpXa98tBJS24yJpBOzjoYabvIDgSkVh9yn92qS6ls=; b=DwwMUuI1lcD2ojAoyyU2dgF4Aqgmf81NnIcOQlIxTHIw+R3HVXDv2g7QmHU+Fqm/ZZ euNRdIoOZEC0Qp0uTUtRpIVx/SBMMtejHzkaxExcd4sJUz5cBlLP4ge6caRW/AAfC3cc lBsZkon84fIJVej2CvN69W9i7AzIPSCwyZywN9N+7ueDMAhnjy7Erhc/SxYAzPlpTZK1 ntqt39qYEzQIvokoe+IBtNFdAoati1qIy1hm95UB7QW42UrxsW+FuKS4w+yr5CH6au3n IAAIvD5ykH0Ue9vUViRiJ3w/u72TT3gayRCSkgvVeZvoinrzKazs7zsRytSm/pR6JWvz 5Zcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=avKpXa98tBJS24yJpBOzjoYabvIDgSkVh9yn92qS6ls=; b=UqZzDnrzskJja+z4bhp/juwszBUa1U3i6fmEHgmfB1loH+4zJJKOhC0NTZfVwMo1o1 24IHT2R/Oe/3QiGejNc+W2AzEetmvHKfm8a9JK6ng5Joky2o/bQ2uJTHGsHxkdTtug0f 47NAgq5X6HlVdIQXQjA0XWVS6B4dl1dmPp9mVsAzhWtTDJL9mtWwb4Pft9HlbXfI7EE7 KK6kCQGZ/FPLfjYwkb7LHDAMsIeUGrUwWaF4leQzlq3CRF65q49q1j5pBV8bym2vJojH kRRY270UB23ZpkM5bfXcIWhWE9j5s2iwkpPgAqPs/Ui4JZiJq42KQkEL+9uo0liF8oCZ gkQg== X-Gm-Message-State: AJcUukf4vFBVPEvAhZcpcuJfQXRZGBAjF5/FXjEzVUkZcjbmVeE3b9Ft cyJMAldm07epLotV08ua1BL7MiO3BEg= X-Received: by 2002:a63:4384:: with SMTP id q126mr19975517pga.160.1545855024209; Wed, 26 Dec 2018 12:10:24 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:877f:9499::6e98]) by smtp.gmail.com with ESMTPSA id l3sm60029493pga.92.2018.12.26.12.10.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Dec 2018 12:10:23 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Wed, 26 Dec 2018 12:09:48 -0800 Message-Id: <20181226200954.5267-4-raj.khem@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20181226200954.5267-1-raj.khem@gmail.com> References: <20181226200954.5267-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [OE-core] [PATCH 04/10] nfs-utils: Disable format-overflow as Werror 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 These warnings are intricate and we can ignore that for now as they are being found by gcc 9, eventually this should be not needed when code upstream is fixed Signed-off-by: Khem Raj --- meta/recipes-connectivity/nfs-utils/nfs-utils_2.3.3.bb | 2 ++ 1 file changed, 2 insertions(+) -- 2.20.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils_2.3.3.bb b/meta/recipes-connectivity/nfs-utils/nfs-utils_2.3.3.bb index 6be2aab47c..63aa6add5a 100644 --- a/meta/recipes-connectivity/nfs-utils/nfs-utils_2.3.3.bb +++ b/meta/recipes-connectivity/nfs-utils/nfs-utils_2.3.3.bb @@ -64,6 +64,8 @@ EXTRA_OECONF = "--with-statduser=rpcuser \ --with-statdpath=/var/lib/nfs/statd \ " +CFLAGS += "-Wno-error=format-overflow" + PACKAGECONFIG ??= "tcp-wrappers \ ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} \ " From patchwork Wed Dec 26 20:09:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 154530 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp6203924ljp; Wed, 26 Dec 2018 12:11:21 -0800 (PST) X-Google-Smtp-Source: ALg8bN6chvXAhPvcEBVSkM/uWmTR9GD04Y7wfjyD5hXs+kD5TDRy2RgcjFJC4paVU2Ivqnti3MmY X-Received: by 2002:a17:902:6b83:: with SMTP id p3mr20903533plk.118.1545855080970; Wed, 26 Dec 2018 12:11:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545855080; cv=none; d=google.com; s=arc-20160816; b=gqhrs3G/jPrAtQjPOiNGUE1baoazC+FA2C2NBPNYMU4P/ltU/zhAjTQr7PIU0sAynP Tk1SVTFkeUI62CrhGvnN2jE/Fe/4zSvOiBNPIXpKF1J+zxro0MwvGNbz45OcOWT86nMc qyA5G0zPhtTWcPNHszPHu7jAMvkuf7+q488StjpeFz+5qdIJJAERjh3qo46A42MXm/1Z sUc2ZaWUTkMjyxV0LnkMjqAGTgDArDvldKfCY/gWvHTwAtwmtu0Wi4m0l6d+BvQRlfGq IRFATrvwONWKbxDfFhgOHXVtX84YEIRa2jOC8Qgx1XsGFF+s3/U6YzoUcxCd26ms1iYI 9sSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=mQZAUTtDEXH1aM30cQpqMRVZWWcFBRLAugHf9ncDKqU=; b=j6FqMrTXaFvtsgASwiWBwdM9WTOeASOIm9kIpLDKOK15S5XlOnv9BXOt8Ee+LU1X1S Ki1Br2RA3joViPcqeXsA6d4dyWCZ8OJsh1MzSFH0+JVtMqWSInTt8ZgdhtdKvNJ27V1U 44nYbdnnyHEm4SlxOxVSpsIHCnC9HZNNq4tvYvE0A5dgSk20DlAF6VCyCKNRVRPJNHNi rPIqRczbzmGhTC+LUttVxrqKiJbVyNYbZxdbqMFS6uI8ibiEr4r+CKx3rZuQb7PfWQQq xtS74xN+Db9N+jWjuuFd0q4JeoCzl3RZNCBZtWkFOzDGGvOoUS1qwblsJXHeiwYbzRPP wZjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=r8m+bV6F; 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 b3si32930847pgh.496.2018.12.26.12.11.20; Wed, 26 Dec 2018 12:11:20 -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=r8m+bV6F; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from 165.28.230.35.bc.googleusercontent.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id D1D346C176; Wed, 26 Dec 2018 20:11:04 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pl1-f194.google.com (mail-pl1-f194.google.com [209.85.214.194]) by mail.openembedded.org (Postfix) with ESMTP id 09A556C12F for ; Wed, 26 Dec 2018 20:10:24 +0000 (UTC) Received: by mail-pl1-f194.google.com with SMTP id u6so7875572plm.8 for ; Wed, 26 Dec 2018 12:10:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=SKZDLWX/zIn/kKSMe372e9IS0WFdHm28pVDmw2Iqrzw=; b=r8m+bV6FfHkx+TlaJ26G+2UsNsEmgeK8xdND2cgA9p9o5NKuokFMOKjsdYildyHdG5 1wWu4vp1BYFI2bmsvOjrzqAWU5oGEj4boJ1EkJ7KUQ8CFY6+U6TafxG3gVJ/ovOQ/FGu mq7lcaP7IX4EmOIGKRVt9pVplfnawwEhtVCJ3c8s89MBWhqVYDIhHKaMRtg5ymxuUHoS JfF8591n07IGYZfqZAaOvoGSIev9gqgfUtKK56ywV7DhUBvr4imIKByEDov6I8+zQ0Q0 TbERXqznoA6nVkkF2fih+igBSH3jui+wIaENOX+EyGJ/SwXGGIYHkihumlY2GXPuGKVd I2Jg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=SKZDLWX/zIn/kKSMe372e9IS0WFdHm28pVDmw2Iqrzw=; b=GI6JQA2Z3yP4DCs92jtyy1Brvvxxeecp+sfRocNdw9CyN7jhfpmcRE514xDB/zTp45 HXEkGQqH76p7MYr0zDpVeOMN4zWP/bTBzBk00zSHTnljLN1HOCO8cUoa+77rDZmF+0YP lRMAEgquNw6iW5j64bgpEckzegpPPCSXUFf1ek8RJp7SLgQ7h7VncRA+Ma841n+LiUQJ ujLJfDfICzW+2O4X7Kg0i16a893EOEdQrOTPE2BshV6fZtZFn2eAk0LKxVey8u5WNPfa 4ZX6VofaJAmTTOYAG023kmZKkCHdCi9LTPqUDbAUuAQetyfflSoQeYxc/rbqJez473km ERzQ== X-Gm-Message-State: AJcUukf+2OAhb28RHXBbWY5jj5MnvhQH2let3ulqZ/TdYwrdRKFjaS7K wZs910nJalEAyS6ZZemHKVptbV6J8Go= X-Received: by 2002:a17:902:1127:: with SMTP id d36mr20469034pla.299.1545855025727; Wed, 26 Dec 2018 12:10:25 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:877f:9499::6e98]) by smtp.gmail.com with ESMTPSA id l3sm60029493pga.92.2018.12.26.12.10.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Dec 2018 12:10:24 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Wed, 26 Dec 2018 12:09:49 -0800 Message-Id: <20181226200954.5267-5-raj.khem@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20181226200954.5267-1-raj.khem@gmail.com> References: <20181226200954.5267-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [OE-core] [PATCH 05/10] musl: Update to latest master 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 * sync APIs from kernel v4.18 * Misc bug fixes Full logs https://git.musl-libc.org/cgit/musl/log/?qt=range&q=39ef612aa193cc6e954ac5a01574300ccd4b7ef9..21a172dd36cae7a08492fd3a7500d7bf0daee13e Signed-off-by: Khem Raj --- meta/recipes-core/musl/musl_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.20.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-core/musl/musl_git.bb b/meta/recipes-core/musl/musl_git.bb index 046a08aec2..33d6e69130 100644 --- a/meta/recipes-core/musl/musl_git.bb +++ b/meta/recipes-core/musl/musl_git.bb @@ -4,7 +4,7 @@ require musl.inc inherit linuxloader -SRCREV = "39ef612aa193cc6e954ac5a01574300ccd4b7ef9" +SRCREV = "21a172dd36cae7a08492fd3a7500d7bf0daee13e" PV = "1.1.20+git${SRCPV}" From patchwork Wed Dec 26 20:09:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 154531 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp6204024ljp; Wed, 26 Dec 2018 12:11:27 -0800 (PST) X-Google-Smtp-Source: ALg8bN5N3wat5KWMKE8lNJW52Sfyxn7gUJCMJlixgNjkd1d1NH1ACev89EMACi3iIgykrTQ44qaz X-Received: by 2002:a17:902:7443:: with SMTP id e3mr21108996plt.304.1545855087846; Wed, 26 Dec 2018 12:11:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545855087; cv=none; d=google.com; s=arc-20160816; b=d4wRu23iAVtmmRdNo4G3nGvqcX91PIMVw0qTk29p5J738ZMMPxVZRpktDOpE3/hxUh yZVFLBIDPZ8/AvIqJvYyKjx43g0sls/AJclSCE5FzYisdj0KZ6eVp5XDrfWs954hecGH kXklq5lEonq3seDYBeNvgctv2NN43BSnka6bRNv3cw76MLvlW3SSLMs0jqWg6/O9uWMf sGpkz4ELsoLUADCLwvzC2WEG62JsshTXelAxmNu1aoo+1eG3SB1r59+ssgZ3GAbdMj+3 OOKatdEz25K67pKCIlu/fdvQIjxsfcqjCBjSruKtT03jcB9f8stYcMfI76q7n3d8A3Iy KusA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=FsxyHNKnlsDlSaXZ6PmaDL7Vc7VXcl/LqDIV8InnOL8=; b=iLjD2J2fyWw49E65FC5fbSmfszgIHCimIaFw0Oj0FDzEBYmbvDh+H6yTz7YbXGt4CK PSVafd7JOcv/iP1a5LMwIvvfrNqP5Pqvm3NRClvuOA7CCsVLbczeB6Tw0UcOTlYCltCD +C4KrI8pUlLukdW2Osiwk5eSq0dUtzWcn4zVyeQYIgetEEOuUY56I5IPS96kLlAYNKHl Ma/xm6nwQ8GNYE+yL2/bpGhcwuCexU1mUq4qiyCG5JVbhysdUOeVRO0X+5GdMLz60XfH jYz4p9m3iI3F3DnRqMvbUluqVk3+qXy0VzBl7dpLbiiFyukzRGAgACYV49KMX5q5a9jo j1+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=MYkgAk9R; 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 s8si31322193pgm.508.2018.12.26.12.11.27; Wed, 26 Dec 2018 12:11:27 -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=MYkgAk9R; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from 165.28.230.35.bc.googleusercontent.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 047C26C3B0; Wed, 26 Dec 2018 20:11:06 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg1-f194.google.com (mail-pg1-f194.google.com [209.85.215.194]) by mail.openembedded.org (Postfix) with ESMTP id 65D1E6C182 for ; Wed, 26 Dec 2018 20:10:26 +0000 (UTC) Received: by mail-pg1-f194.google.com with SMTP id w7so7889602pgp.13 for ; Wed, 26 Dec 2018 12:10:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=bhX78Fm5v4jKahiCEgxmMAgkimBRFjPraSdCmauN5xc=; b=MYkgAk9R9QexrNwMazLnHRhPV8zYfRUIV8kZtiCZi5RzU/0M3GCXIorcaY4W+FL0vl BypxxO4R0dvvkHwu2U4jHT/99oHKSmX5rEHkDXoFX5zlNFD0n99+7SPizBqgf5EllBQx Nz6Pb480RCNb3R+GSZ60oJuWLmpZHZoWXTSLKqZAmdKSKPrUG5IN/DtXPod9rJwbNNMW tLzmwQROQZjy6nnmX/OwiZEvWAimsd9Nqa6QbMtbVSaZzKZqVbWZWUp0XqvzdbMz/pQW /1xaJ72ESLuLnJAJBelPRmUICQnaQBiHyvzxzYHq3GyCI2hT6BI7GOpA5V8Fb3vzxbEI MkkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=bhX78Fm5v4jKahiCEgxmMAgkimBRFjPraSdCmauN5xc=; b=nvrz3bn+CkC8IRYBJdbjJrtcYy9h/8nxdAph7fSSt0UaqAugS+CFqlIyrxjUxnezMp jmLbz5mdV/HDkb6jYHkvLG20heXznc1D0Wb0FTTLbdqPlSdYlKApdxUseMtKhp8SN8vj py+/1IHZbA+6BujLwfskpOEJkhK3n6LfLq5otDc5LNutvhMjItF+CDYPlUjV8ZkQZsCs r+GnRi0m+wDWG8m8QkPPYP2SDA+ZCJQthiGaTHD92ADeF7g5QTxuyJzZVXjUReTyPWN2 DTZf93TaUa54LincvRJVZZZeGlaFOPUeCJYu2kzSLVkUslnPYTO75g0MchA0mH9q7RX3 E6rg== X-Gm-Message-State: AJcUukeyZ+6DSFWMAX3ta/Xpkuhuu6gmkYcBCYbfeOFxDC1rF8wwPM/p GBypU6xXCF+WvPcQxELNxv3w5QHML7U= X-Received: by 2002:a63:cc12:: with SMTP id x18mr19951587pgf.33.1545855027033; Wed, 26 Dec 2018 12:10:27 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:877f:9499::6e98]) by smtp.gmail.com with ESMTPSA id l3sm60029493pga.92.2018.12.26.12.10.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Dec 2018 12:10:26 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Wed, 26 Dec 2018 12:09:50 -0800 Message-Id: <20181226200954.5267-6-raj.khem@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20181226200954.5267-1-raj.khem@gmail.com> References: <20181226200954.5267-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [OE-core] [PATCH 06/10] libxcrypt: Upgrade to 4.4.2 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 Licence-Update: Copyright Alexander Peslyak; 0-clause BSD added see https://github.com/besser82/libxcrypt/commit/e07290ec7c3de301ce2b813ee2b42131bef2b119 Rename recipe to ve versionless and add PV in recipe itself, makes it easy to traverse git history Drop upstreamed patch Signed-off-by: Khem Raj --- .../0001-Add-x32-specific-inline-asm.patch | 42 ------------------- .../{libxcrypt_4.4.1.bb => libxcrypt.bb} | 8 ++-- 2 files changed, 4 insertions(+), 46 deletions(-) delete mode 100644 meta/recipes-core/libxcrypt/files/0001-Add-x32-specific-inline-asm.patch rename meta/recipes-core/libxcrypt/{libxcrypt_4.4.1.bb => libxcrypt.bb} (80%) -- 2.20.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-core/libxcrypt/files/0001-Add-x32-specific-inline-asm.patch b/meta/recipes-core/libxcrypt/files/0001-Add-x32-specific-inline-asm.patch deleted file mode 100644 index 9e31b03561..0000000000 --- a/meta/recipes-core/libxcrypt/files/0001-Add-x32-specific-inline-asm.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 7d01f2acf6fde6341a68a91f9b343841cc424af7 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Mon, 17 Dec 2018 11:33:35 -0800 -Subject: [PATCH] Add x32 specific inline asm - -Upstream-Status: Pending [https://github.com/besser82/libxcrypt/issues/74#issuecomment-447966455] - -Signed-off-by: Khem Raj ---- - alg-yescrypt-opt.c | 9 +++++++-- - 1 file changed, 7 insertions(+), 2 deletions(-) - -diff --git a/alg-yescrypt-opt.c b/alg-yescrypt-opt.c -index 5dbd822..060caf4 100644 ---- a/alg-yescrypt-opt.c -+++ b/alg-yescrypt-opt.c -@@ -528,6 +528,11 @@ static volatile uint64_t Smask2var = Smask2; - #undef MAYBE_MEMORY_BARRIER - #define MAYBE_MEMORY_BARRIER \ - __asm__("" : : : "memory"); -+#ifdef __ILP32__ /* x32 */ -+#define REGISTER_PREFIX "e" -+#else -+#define REGISTER_PREFIX "r" -+#endif - #define PWXFORM_SIMD(X) { \ - __m128i H; \ - __asm__( \ -@@ -537,8 +542,8 @@ static volatile uint64_t Smask2var = Smask2; - "pmuludq %1, %0\n\t" \ - "movl %%eax, %%ecx\n\t" \ - "shrq $0x20, %%rax\n\t" \ -- "paddq (%3,%%rcx), %0\n\t" \ -- "pxor (%4,%%rax), %0\n\t" \ -+ "paddq (%3,%%" REGISTER_PREFIX "cx), %0\n\t" \ -+ "pxor (%4,%%" REGISTER_PREFIX "ax), %0\n\t" \ - : "+x" (X), "=x" (H) \ - : "d" (Smask2), "S" (S0), "D" (S1) \ - : "cc", "ax", "cx"); \ --- -2.20.1 - diff --git a/meta/recipes-core/libxcrypt/libxcrypt_4.4.1.bb b/meta/recipes-core/libxcrypt/libxcrypt.bb similarity index 80% rename from meta/recipes-core/libxcrypt/libxcrypt_4.4.1.bb rename to meta/recipes-core/libxcrypt/libxcrypt.bb index 594203a59c..3b9af6d739 100644 --- a/meta/recipes-core/libxcrypt/libxcrypt_4.4.1.bb +++ b/meta/recipes-core/libxcrypt/libxcrypt.bb @@ -3,18 +3,18 @@ DESCRIPTION = "Forked code from glibc libary to extract only crypto part." HOMEPAGE = "https://github.com/besser82/libxcrypt" SECTION = "libs" LICENSE = "LGPLv2.1" -LIC_FILES_CHKSUM ?= "file://LICENSING;md5=e28ba6195a4e39904919b78a92bcf27e \ +LIC_FILES_CHKSUM ?= "file://LICENSING;md5=be275bc7f91642efe7709a8ae7a1433b \ file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c \ " inherit autotools pkgconfig -# v4.4.1 -SRCREV ?= "b8714d4e9e37cf0d511917bd5eea0e51e4a397d5" +PV = "4.4.2" +# v4.4.2 +SRCREV ?= "cf6abf18083566ec1612af27982a5160c9e0f137" SRCBRANCH ?= "develop" SRC_URI = "git://github.com/besser82/libxcrypt.git;branch=${SRCBRANCH} \ - file://0001-Add-x32-specific-inline-asm.patch \ " PROVIDES = "virtual/crypt" From patchwork Wed Dec 26 20:09:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 154532 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp6204141ljp; Wed, 26 Dec 2018 12:11:34 -0800 (PST) X-Google-Smtp-Source: ALg8bN6R1skLFAdM8iHvSNI2YFyEoxSUBYjlQH5/GJq7lehwTfrID1Deou7w7KDoSoKhJV8kr/EM X-Received: by 2002:a63:6782:: with SMTP id b124mr20392002pgc.151.1545855094686; Wed, 26 Dec 2018 12:11:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545855094; cv=none; d=google.com; s=arc-20160816; b=Jg9HwZUdAnc5z/irgmj4xhEzNG5iWEIksamMx0onJt3lVz1ePwJP25zg8l/Dj9VGuZ dRwdYviBxxoEAuVTma4doxgoREfehLO9hWh3eE0Be63X2Zz4P9uWjoS6Yh2LT/6/OO7R FqDlqguHxh612K8523g5pDJ2lNt65UwzsY+b2jfVpSorbl0SlbEaY0za8idtDmVsgDKy 701WJEpfZh7D5unEDlQlKaq7V9BHve+vznEneQtqMk6jdyP9+xEHvR2GIHYpheDL8Hgn okJRggGKQ17Wpkt406QrlopkTddXVKMvRWwN1RsgrKW3VzUVD9XJlFjdgXBB3sX8JYcJ hzXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=g33PDGSSOPzt9VbRAfrBXTv46jHHHWCjakepJDihX9g=; b=fTwvx9vcrR5tcW2+NmK7H3rlpFYY3rxPPmc1bJUh3jbofR63TOXz7RhE129XrHRmrx VVtlps2QqcEIN3kOS4Hu0z6twKL0Ss9deOeKEK3juqHT8yDleEW/CPaOpM3OaZVKVmDV dGB2k0Utir7A4wcs68icYz4AbjJVH7LckcOhsydb3PL2tKblRGQAW9yhMsUxV/1gqNr2 hnZfkxtAjvXoMRIISvWJUPBwguzmJsEiKFEQ4byDKSrTXdu94sfBLh4P7YZEueZRVlMM iZCfCqucZaauE4cs1Ddl/B5MXKtpxksifAGGkgPif5NBmfYSH8OBM8t+VyVpd13CIC2B oCFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b="aA/YA10A"; 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 101si35297504pld.22.2018.12.26.12.11.34; Wed, 26 Dec 2018 12:11: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="aA/YA10A"; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from 165.28.230.35.bc.googleusercontent.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 279856C42C; Wed, 26 Dec 2018 20:11:07 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf1-f194.google.com (mail-pf1-f194.google.com [209.85.210.194]) by mail.openembedded.org (Postfix) with ESMTP id 85D7A6C12F for ; Wed, 26 Dec 2018 20:10:27 +0000 (UTC) Received: by mail-pf1-f194.google.com with SMTP id r136so8206993pfc.6 for ; Wed, 26 Dec 2018 12:10:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=0pLDxKS3iPjVQEcXjiGvACUVv3xyzkF9acS1Y60kpbE=; b=aA/YA10AzRl9MXbQZ0KI9j1H/W4a+HoIButE1Out0ejt2tG52co7b78s7jl/uCWxjE XKKJYIL/iIbO6OA+qPhB7545UrDC5yf/Pw+1TJXodEgkV/XuJ+HUT3F+zxXiJktgla+i j374qTImySZs+AEsJPPKJ4J88EZcsLg7aLfPj+Ef54o5zuR6IyG+I73Ca3sPC6bFJALL Cnyc5qj9Io2jtFLcBhIVVo9aYRwbU3AVVXf1qgTVSICqEwj7/a2XfGdiJkvWMli2q8zJ YjoPrOTEcpAngCYAOO+BUaIoEd6bGGEmzwuU3tPRIQSCNA2bG/dWgegE4LAuV3rPKNB5 qfxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=0pLDxKS3iPjVQEcXjiGvACUVv3xyzkF9acS1Y60kpbE=; b=T2dh71KwOjuOSGQhOmBU7gpQZCD2AZzu+0Zf5LvDQit7PbofvBOCCfGg2ddoqA1Uu+ tiZDKm4luw6BuJWKkuijRpAoFqm1i332YMq9T8HNFJq8pUJjIZESrbYvHs8Tfpz84hTG eR/w8CnWDgM78E/1nrCBAnnKYT5rPrrO+y9iJQ4mwFEzpAwhPzxKInfMUY41TXCjrB57 9oTkkSR1HMIK6TYIM7aCPWkimHDyJSh7Ja8yBm2rn9I5/q2SV/Qw6j4a8xHhCjRXcK+p rstjgzbFEKQFWaeAdJiaM11eTIg1E4wNZv55J/X166xEzRFQNFhlytk1CHNg4j0Y3GMo oKsA== X-Gm-Message-State: AJcUukfRRYAwxo1UIFxhm7HE3zOWzs0ki0S2sJTAPb5d3jM+mpfByO6K Xdpqq/BAVomYulf1FMTMEN7LG7uF7v4= X-Received: by 2002:a65:64c8:: with SMTP id t8mr19868144pgv.31.1545855028276; Wed, 26 Dec 2018 12:10:28 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:877f:9499::6e98]) by smtp.gmail.com with ESMTPSA id l3sm60029493pga.92.2018.12.26.12.10.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Dec 2018 12:10:27 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Wed, 26 Dec 2018 12:09:51 -0800 Message-Id: <20181226200954.5267-7-raj.khem@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20181226200954.5267-1-raj.khem@gmail.com> References: <20181226200954.5267-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [OE-core] [PATCH 07/10] gdb: Backport a fix to build with gcc9 X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- meta/recipes-devtools/gdb/gdb-8.2.inc | 1 + ...1-Fix-build-with-latest-GCC-9.0-tree.patch | 50 +++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 meta/recipes-devtools/gdb/gdb/0001-Fix-build-with-latest-GCC-9.0-tree.patch -- 2.20.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/gdb/gdb-8.2.inc b/meta/recipes-devtools/gdb/gdb-8.2.inc index 7e0809de72..f6d75ed081 100644 --- a/meta/recipes-devtools/gdb/gdb-8.2.inc +++ b/meta/recipes-devtools/gdb/gdb-8.2.inc @@ -16,6 +16,7 @@ SRC_URI = "http://ftp.gnu.org/gnu/gdb/gdb-${PV}.tar.xz \ file://0010-resolve-restrict-keyword-conflict.patch \ file://0011-Fix-invalid-sigprocmask-call.patch \ file://gdbserver-ctrl-c-handling.patch \ + file://0001-Fix-build-with-latest-GCC-9.0-tree.patch \ " SRC_URI[md5sum] = "b5a49dbff00d9a87fbe114d14b3101c0" SRC_URI[sha256sum] = "c3a441a29c7c89720b734e5a9c6289c0a06be7e0c76ef538f7bbcef389347c39" diff --git a/meta/recipes-devtools/gdb/gdb/0001-Fix-build-with-latest-GCC-9.0-tree.patch b/meta/recipes-devtools/gdb/gdb/0001-Fix-build-with-latest-GCC-9.0-tree.patch new file mode 100644 index 0000000000..2a962929d7 --- /dev/null +++ b/meta/recipes-devtools/gdb/gdb/0001-Fix-build-with-latest-GCC-9.0-tree.patch @@ -0,0 +1,50 @@ +From 7406a50077773e78282a495cb32ef5b8179f6a33 Mon Sep 17 00:00:00 2001 +From: Dimitar Dimitrov +Date: Mon, 17 Dec 2018 21:30:52 +0200 +Subject: [PATCH] Fix build with latest GCC 9.0 tree + +A recent patch [1] to fix a GCC PR [2] actually broke the GDB build. +To fix, remove the stack pointer clobber. GCC will ignore the clobber +marker, and will not save or restore the stack pointer. + +I ran "make check-gdb" on x86_64 to ensure there are no regressions. + +gdb/ChangeLog: + +2018-12-17 Dimitar Dimitrov + + * nat/linux-ptrace.c (linux_ptrace_test_ret_to_nx): Remove sp clobbers. + +[1] https://gcc.gnu.org/ml/gcc-patches/2018-12/msg00532.html +[2] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52813 + +Upstream-Status: Backport +Signed-off-by: Dimitar Dimitrov +--- + gdb/ChangeLog | 5 +++++ + gdb/nat/linux-ptrace.c | 4 ++-- + 2 files changed, 7 insertions(+), 2 deletions(-) + +diff --git a/gdb/nat/linux-ptrace.c b/gdb/nat/linux-ptrace.c +index d4c1b8f9fd..187cfeb9bc 100644 +--- a/gdb/nat/linux-ptrace.c ++++ b/gdb/nat/linux-ptrace.c +@@ -161,14 +161,14 @@ linux_ptrace_test_ret_to_nx (void) + ".globl linux_ptrace_test_ret_to_nx_instr;" + "linux_ptrace_test_ret_to_nx_instr:" + "ret" +- : : "r" (return_address) : "%esp", "memory"); ++ : : "r" (return_address) : "memory"); + #elif defined __x86_64__ + asm volatile ("pushq %0;" + ".globl linux_ptrace_test_ret_to_nx_instr;" + "linux_ptrace_test_ret_to_nx_instr:" + "ret" + : : "r" ((uint64_t) (uintptr_t) return_address) +- : "%rsp", "memory"); ++ : "memory"); + #else + # error "!__i386__ && !__x86_64__" + #endif +-- +2.20.1 From patchwork Wed Dec 26 20:09:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 154533 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp6204266ljp; Wed, 26 Dec 2018 12:11:42 -0800 (PST) X-Google-Smtp-Source: ALg8bN5VwhzrVLtPRqcXuaXHqHt4PKTr+cSSUTja1ZG6YmUYEZrSZVTvTsDQfgq8MFMAQWqS3TKo X-Received: by 2002:a63:1b48:: with SMTP id b8mr20245849pgm.187.1545855101911; Wed, 26 Dec 2018 12:11:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545855101; cv=none; d=google.com; s=arc-20160816; b=Gv2XtsfrCBA6BeycbWBJtaOVTVOwjV+BikHLQf3clmLCor0rdd/EJRsFIGQH4KP1U8 YgLs2LCvIGw+7aKjkjpqtI5mRn9X+hiBbVzFndgy48amuhVURBf1uupsipHFM05EA+5U cAhUCPPQeX8vKY30+DAcocq7ebCIaMWKgS748id9YKRxI07sdg1XXOnLe12XzYxziIPc eJFxbQqYbTwiHUZFMRYu9i7Dr8oLLx6WehQUfDOcJwRWQJc6v6ZQgA3v7KgUqnFytjn7 9GhBXs4/3mEAf7dXDRCHYqcWpusycWs2jlDXa4DkG2oqrvAvqc/3uHzJ9KzaT1lE9DTy CwVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=C7FB/+0Sn94TkrBD5KEVycZA9f7GbtvKo9wZ8e4AksA=; b=bjt6PSm/DaHTVlPVPNTT5ULmAxxRt8lo4CzPyPQV1KTOztDy/yC8miS575a8v2hVTf 720zvnqdmQtavDf8RtfA1Vizs1z9R1HQysgHKsccdaOjpVk/g3Dx/Zi5o+Aqa0YDpztF BzR1l/yI/MRbn2gMvjqo+j5y1YzOnU800AiaK71YA5nib8DcrawWuparTdxxmf0EWdkb vSVqExE78EMeDXsyjICZ8BqYRhkLqdTQ9p+xj7REbtrxe6WxEpZT0EvrxeOn1l1Aukfu i2rwyg7avN4AAzFuvZAThF1K3vyf/GENZe5JPWIX6VZc9gpU7im/4nYnYHJb8XfP46wC FRLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=S9R4PfHe; 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 t3si18892252ply.126.2018.12.26.12.11.41; Wed, 26 Dec 2018 12:11:41 -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=S9R4PfHe; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from 165.28.230.35.bc.googleusercontent.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 49B1D6C45A; Wed, 26 Dec 2018 20:11:08 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg1-f195.google.com (mail-pg1-f195.google.com [209.85.215.195]) by mail.openembedded.org (Postfix) with ESMTP id 4D4726C230 for ; Wed, 26 Dec 2018 20:10:28 +0000 (UTC) Received: by mail-pg1-f195.google.com with SMTP id s198so7911600pgs.2 for ; Wed, 26 Dec 2018 12:10:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=pINMDN3e6ph5452cRwpb+SXrJLEfaqLuCeYdA73rRng=; b=S9R4PfHe5IluoG6XZw8f0HYt7ap0JRju3Z0M5ds8Iyql8iO5qNEpfPGkFr6rjITCDk 4Pdon4xOUCPMpphH5zYgmVSNBOvj0ZhLgYboiPUTcScmHcgMXCgEmOaPJiV1vutkly2E pnyYnDC9s8xomrPz8wFi6dOa16acCNafzJP+s2OyQO0Lo/HJq0ytqRm9CzlDZ/+R9mB8 QjUm+v3PAziUtL9txS4sTb+JVdTrbXYX4BHCGy7vciHZOI4bHqVAHxKOhIj6gae/n2RP OzfIGDkRyvudGJXSt5laCibIVyL/QIuXqEQk6vk5cC51e0tedJgm93WojzDQfQFXHJPy +dnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=pINMDN3e6ph5452cRwpb+SXrJLEfaqLuCeYdA73rRng=; b=lfhoCyHRMHupP98am6PCpldiLK2TiBfrXu7rRpH3bMyepWi3hsJZ3nrej02nTOLlI4 Zl6PLQ3q1fXUPtJ4slcB5h5R3s5F5lMcnoqe0ucnHZP1lKpKwLWEhNELPti8Blf/dYnJ xJFjW8y79Nm5BDM/s1R1OhJF9PaC1y//aSYt84ZM1cEyk9Eh/oP/Ob5L4Ay92aLScmt+ li34ZcVq/j0bPdXqmMffhN3Ssfrni2lmRUb7O/LjXkGCVx/VEr5Z6ePAxZtGanuwBN+9 yE6N7xD9za1A8CGTbVtekmpgDoVPntYg9A+LpFczsMPiowZi+2g060Kn9V5aoB1XuS8L lmBw== X-Gm-Message-State: AJcUuke6dmzArKaOeyXqPZuAwM9F0ooJh+hoQS0pZqYGZhZpNrtuGv2W 408x9b30yYUDBqkpA757eXeE+tME8Iw= X-Received: by 2002:a63:fe48:: with SMTP id x8mr20474082pgj.261.1545855029014; Wed, 26 Dec 2018 12:10:29 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:877f:9499::6e98]) by smtp.gmail.com with ESMTPSA id l3sm60029493pga.92.2018.12.26.12.10.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Dec 2018 12:10:28 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Wed, 26 Dec 2018 12:09:52 -0800 Message-Id: <20181226200954.5267-8-raj.khem@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20181226200954.5267-1-raj.khem@gmail.com> References: <20181226200954.5267-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [OE-core] [PATCH 08/10] valgrind: Fix x86_64 build failure with gcc9 X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- ...ts-amd64-Do-not-clobber-rsp-register.patch | 37 +++++++++++++++++++ .../valgrind/valgrind_3.14.0.bb | 1 + 2 files changed, 38 insertions(+) create mode 100644 meta/recipes-devtools/valgrind/valgrind/0001-tests-amd64-Do-not-clobber-rsp-register.patch -- 2.20.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/valgrind/valgrind/0001-tests-amd64-Do-not-clobber-rsp-register.patch b/meta/recipes-devtools/valgrind/valgrind/0001-tests-amd64-Do-not-clobber-rsp-register.patch new file mode 100644 index 0000000000..657f80335d --- /dev/null +++ b/meta/recipes-devtools/valgrind/valgrind/0001-tests-amd64-Do-not-clobber-rsp-register.patch @@ -0,0 +1,37 @@ +From 8c1ebb564f5eca2baeedc27a703200786d1abb0b Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 22 Dec 2018 15:28:40 -0800 +Subject: [PATCH] tests/amd64: Do not clobber %rsp register + +This is seen with gcc-9.0 compiler now which is fix that gcc community +did recently +https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52813 + +Upstream-Status: Submitted [https://bugs.kde.org/show_bug.cgi?id=402480] + +Signed-off-by: Khem Raj +--- + none/tests/amd64-linux/bug345887.c | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/none/tests/amd64-linux/bug345887.c b/none/tests/amd64-linux/bug345887.c +index 0f9237d..4b07fe1 100644 +--- a/none/tests/amd64-linux/bug345887.c ++++ b/none/tests/amd64-linux/bug345887.c +@@ -20,13 +20,14 @@ static void inner(void) + "movq $0x10d, %%r14\n" + "movq $0x10e, %%r15\n" + // not %rbp as mdb is then not able to reconstruct stack trace +- "movq $0x10f, %%rsp\n" ++ // not %rsp since gcc ignores it and since gcc >= 9.0 errors about it ++ // see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52813 + "movq $0x1234, (%%rax)\n" // should cause SEGV here + "ud2" // should never get here + : // no output registers + : // no input registers + : "memory", "%rax", "%rbx", "%rcx", "%rdx", "%rsi", "%rdi", +- "%r8", "%r9", "%r10", "%r11", "%r12", "%r13", "%r14", "%r15", "%rsp"); ++ "%r8", "%r9", "%r10", "%r11", "%r12", "%r13", "%r14", "%r15"); + } + + __attribute__((noinline)) diff --git a/meta/recipes-devtools/valgrind/valgrind_3.14.0.bb b/meta/recipes-devtools/valgrind/valgrind_3.14.0.bb index 50f8221ebb..bbbc3bf695 100644 --- a/meta/recipes-devtools/valgrind/valgrind_3.14.0.bb +++ b/meta/recipes-devtools/valgrind/valgrind_3.14.0.bb @@ -36,6 +36,7 @@ SRC_URI = "http://www.valgrind.org/downloads/valgrind-${PV}.tar.bz2 \ file://0001-fix-opcode-not-supported-on-mips32-linux.patch \ file://0001-Guard-against-__GLIBC_PREREQ-for-musl-libc.patch \ file://0001-Make-local-functions-static-to-avoid-assembler-error.patch \ + file://0001-tests-amd64-Do-not-clobber-rsp-register.patch \ " SRC_URI[md5sum] = "74175426afa280184b62591b58c671b3" SRC_URI[sha256sum] = "037c11bfefd477cc6e9ebe8f193bb237fe397f7ce791b4a4ce3fa1c6a520baa5" From patchwork Wed Dec 26 20:09:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 154534 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp6204380ljp; Wed, 26 Dec 2018 12:11:49 -0800 (PST) X-Google-Smtp-Source: ALg8bN7ufxyQMHJNkYuWvqqgowg8agWTi3qCH2lEGmEeO24xOpVnmtOFPCBnpafwHA7gO1LxPPkk X-Received: by 2002:a17:902:5a86:: with SMTP id r6mr20230491pli.301.1545855109049; Wed, 26 Dec 2018 12:11:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545855109; cv=none; d=google.com; s=arc-20160816; b=jUtKWp69iIS/7hKY0RK/aU1CxfwXx/1ufaOe6UAP/Ebra7oiymoxtfhjtF0gcv2DoM yH5DQ2GI/F5U3gkk8juOcGLRbKZ1eMv5OMXHANUKyPREtlKwX0X//8eAAZB5nnqCq3Nr qsMInHwRjYcdJUvQELSQwXEDIzov/grLepndMtOOkbGr2WJ0qYQYd+zX+IzRqn8IntS4 itTmcxUCQMMocSplrnrRRyEo6HNbG/cI/rr075xVH2diJjltcHmYmeXL2aRmF3i0Ym5U r6Z68+GDW6ut2QEE9zcia573p28S4im6ovkrm2EShE8ByfEDmZHZiMd2Szw5YfrqShEc xt6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=iH9CdGzxwcmDXEOT0x0t/L16WRI9XrQ5J/eeHKdfkMQ=; b=i5ytBjIq/Se7s86YJLZnsI1zYi56JTMGEMCYw774ZhU9IEOj2FkqODeTY2PVPG/Yt6 CL8pKfT1bRZtdW4ReIFVcPfHsKWzn+dNBwtGoIBTAWuLIXWc8eb3L77x2A7+CvaX6foO mrKCAzZga91jc6NX7zSEMilpdJMoMvm56WwLRxJsqxRkcAVDvgDhOaOeTDTUx/jaHfdi HcupJKqsHhbysukY0q3mvZseI3brVt7FGhGiP7EP0VQyqoYcJNapeL2Io6akyajLJqok HjYhkpzfmIRWaRSZodvCjnCv5rDevdFKFxr9wayuyZhHj/gHyh5FpPk0/zN/6En4h0Sz 8OcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b="tAA/NCjo"; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id v13si16145558pgn.355.2018.12.26.12.11.48; Wed, 26 Dec 2018 12:11:49 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b="tAA/NCjo"; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from 165.28.230.35.bc.googleusercontent.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 91F3C6C460; Wed, 26 Dec 2018 20:11:09 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com [209.85.210.178]) by mail.openembedded.org (Postfix) with ESMTP id 5ADE06C1BE for ; Wed, 26 Dec 2018 20:10:29 +0000 (UTC) Received: by mail-pf1-f178.google.com with SMTP id u6so8198128pfh.11 for ; Wed, 26 Dec 2018 12:10:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=0PirIaUmrHcHMLFHxt3nnpX4dRi3oQr9JldN64N5m40=; b=tAA/NCjo/ojEJys1lgoFDL7gdo9d+UmM4+8FU++J5qLAXQLXNPfoU4woFhSUhyzSh8 LN9jqzGqGe1S4IZYBTiMp87DAD/eYjmPGvovhvOfi9DIezwgHuXTmUjg2l71JVRRIiMO +KpYX1x65gjFZD6o19tAPX/tYgCOOnbH1Ijp2m69P3QFeAhhGRbBSq7M9oyaQzJbAJB2 LgxKz/nCat21zpVNUD/X0VqXv2iPjnyGY1jgkNokIyhq9nmgvfoFKJoHQJ4gYPK9jZCd TBfX5ZAL4OsmT+xpB9FVobBzDOH60H6oqm+4/MujKO7WFZu+J6lP/eNGOtiyDOoOhZEW egDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=0PirIaUmrHcHMLFHxt3nnpX4dRi3oQr9JldN64N5m40=; b=bfoGNjJuD3L6DSS9JZGGSO/ABNUiruE+mWMmmpBxZ1kn7Tc002hjSHkrEw1P6KZkkm P5lD40mALt/iMq/IVZSHGVSr71dqfYt8ah/AfMlWISVVNQlheviyKWc3Nnlce8Lc5V6M WCyLxTaei0oPrUk+9Ky+lPzSeVicx8afLrRH6DG3f9beH/qAcQQjDPICnZ98vzztherr afIQmOu1/v0Vwe+yX6lPfwfON0s+2CA6jBkm7NlY9qLvcbXqqnekT+KG6VXD6jvkth3U HLRJHI1EknZzIBeM88EyMU0mfoCHs43VL2xs0/DI2k0aA0zFp+SXSuldntbzCgtOtncv KKIw== X-Gm-Message-State: AJcUukeyv8XoYKCIFWJb56MR2NKcVK49hNQ0RUNAGUxRbCmVcHn7plI5 6P/mFWJYlDc44tpiE56wAg8r5v8/80k= X-Received: by 2002:a63:ce50:: with SMTP id r16mr19909154pgi.217.1545855030135; Wed, 26 Dec 2018 12:10:30 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:877f:9499::6e98]) by smtp.gmail.com with ESMTPSA id l3sm60029493pga.92.2018.12.26.12.10.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Dec 2018 12:10:29 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Wed, 26 Dec 2018 12:09:53 -0800 Message-Id: <20181226200954.5267-9-raj.khem@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20181226200954.5267-1-raj.khem@gmail.com> References: <20181226200954.5267-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [OE-core] [PATCH 09/10] ffmpeg: Backport patch to fix build with gcc9 X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- ...cess_template-remove-FF_REG_sp-from-.patch | 31 +++++++++++++++++++ .../recipes-multimedia/ffmpeg/ffmpeg_4.0.2.bb | 1 + 2 files changed, 32 insertions(+) create mode 100644 meta/recipes-multimedia/ffmpeg/ffmpeg/0001-postproc-postprocess_template-remove-FF_REG_sp-from-.patch -- 2.20.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg/0001-postproc-postprocess_template-remove-FF_REG_sp-from-.patch b/meta/recipes-multimedia/ffmpeg/ffmpeg/0001-postproc-postprocess_template-remove-FF_REG_sp-from-.patch new file mode 100644 index 0000000000..83fb4b81af --- /dev/null +++ b/meta/recipes-multimedia/ffmpeg/ffmpeg/0001-postproc-postprocess_template-remove-FF_REG_sp-from-.patch @@ -0,0 +1,31 @@ +From c1cbeb87db4bfc6e281e4254a6c7fdd3854fc9b9 Mon Sep 17 00:00:00 2001 +From: Michael Niedermayer +Date: Thu, 20 Dec 2018 22:40:06 +0100 +Subject: [PATCH] postproc/postprocess_template: remove FF_REG_sp from clobber + list + +Future gcc may no longer support this + +Upstream-Status: Backport [https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/c1cbeb87db4bfc6e281e4254a6c7fdd3854fc9b9] +Tested-by: James Almer +Signed-off-by: Michael Niedermayer +--- + libpostproc/postprocess_template.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/libpostproc/postprocess_template.c b/libpostproc/postprocess_template.c +index 485eb5cfc0..b0adfd168c 100644 +--- a/libpostproc/postprocess_template.c ++++ b/libpostproc/postprocess_template.c +@@ -1317,7 +1317,7 @@ DERING_CORE((%0, %1, 8) ,(%%FF_REGd, %1, 4),%%mm2,%%mm4,%%mm0,%%mm3,%%mm5, + "1: \n\t" + : : "r" (src), "r" ((x86_reg)stride), "m" (c->pQPb), "m"(c->pQPb2), "q"(tmp) + NAMED_CONSTRAINTS_ADD(deringThreshold,b00,b02,b08) +- : "%"FF_REG_a, "%"FF_REG_d, "%"FF_REG_sp ++ : "%"FF_REG_a, "%"FF_REG_d + ); + #else // HAVE_7REGS && (TEMPLATE_PP_MMXEXT || TEMPLATE_PP_3DNOW) + int y; +-- +2.20.1 + diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_4.0.2.bb b/meta/recipes-multimedia/ffmpeg/ffmpeg_4.0.2.bb index 7d1af04047..0c227b7fc9 100644 --- a/meta/recipes-multimedia/ffmpeg/ffmpeg_4.0.2.bb +++ b/meta/recipes-multimedia/ffmpeg/ffmpeg_4.0.2.bb @@ -26,6 +26,7 @@ LIC_FILES_CHKSUM = "file://COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ SRC_URI = "https://www.ffmpeg.org/releases/${BP}.tar.xz \ file://mips64_cpu_detection.patch \ file://CVE-2018-15822.patch \ + file://0001-postproc-postprocess_template-remove-FF_REG_sp-from-.patch \ " SRC_URI[md5sum] = "ae0bfdf809306a212b4f0e6eb8d1c75e" SRC_URI[sha256sum] = "a95c0cc9eb990e94031d2183f2e6e444cc61c99f6f182d1575c433d62afb2f97" From patchwork Wed Dec 26 20:09:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 154535 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp6204491ljp; Wed, 26 Dec 2018 12:11:56 -0800 (PST) X-Google-Smtp-Source: ALg8bN6oNPh4W3EHg4P477NbSyHq778EShBQLLUUv52VqPr1PeUAwMbE5yPG9avVpMBQ457G5Lxn X-Received: by 2002:a17:902:6948:: with SMTP id k8mr20826049plt.2.1545855116539; Wed, 26 Dec 2018 12:11:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545855116; cv=none; d=google.com; s=arc-20160816; b=AtGMa3Fuv7nLOF9XokCecd0agMz3KnAhNAoeEBZ1L2uwxYmt+O+wyiFoHlNvIQkp+j wTGnj02YPHRW8+fAUO+/7VpJIVJLccoGfXG7Qz4fPZXJYODOAb/zx7vFeVzOxF73M08m EK4yNz9yl3JDSoYPs372GpFprPnbffpoE20PruX8M3dWEyEZ6sG6HumqcVkYu+kXVecR aFCCJjj2jJEkB3ipEAUKcclwTyEB1VBAQL+QwGOArtAtvK+nFUcHbbv27rXvR+/4bfc1 82alOYYcEi4K1E7Zex18TAER0jp8uvRlggytroxZ6s5P5GV/Ee1AvZgVEoAnFY8Cd18X MaMQ== 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 :cc:mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=CGOefjZi7EvN/2xotqMc3veE0CFdZczlouVMVS95Uqc=; b=w+TKskCKFbyZH79CfwtHVw7nIQdu6hZJVimvy7UmgngV8RzVOJTMMP/m4AwmjEapmR RIjQqEg0FLvZyng07Guut8jYSItdivlt75lax2dRinfNaXVTClFHwASciJUa1tI8BCAc XjMT5cGmhMjDCIlf4ZGjRbpUWCbiIR4AUbO16NLr8Tk5nVE/rhwccrvWj+L9geOMN+IB TMwc9W2pGe6ysJTzGcEu15D8E5aAH2yhDfUKKBFr0wceTL9kAg/7+tnGAyjv1qErfTl0 Z+/aVpRp6Vz9GvR82fwgvTVxrWhOJQ6sOwTJMAekeJ2faH+xOOUdelEIdPDOeMt+zO3T 3jfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=BAQRwl26; 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 b8si33071654plx.383.2018.12.26.12.11.56; Wed, 26 Dec 2018 12:11: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=BAQRwl26; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from 165.28.230.35.bc.googleusercontent.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id F02E96C46E; Wed, 26 Dec 2018 20:11:10 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg1-f195.google.com (mail-pg1-f195.google.com [209.85.215.195]) by mail.openembedded.org (Postfix) with ESMTP id 39BEA6C135 for ; Wed, 26 Dec 2018 20:10:31 +0000 (UTC) Received: by mail-pg1-f195.google.com with SMTP id z10so7901677pgp.7 for ; Wed, 26 Dec 2018 12:10:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=53t9zUuBpnMmMpx0IOdNliPltAMK97EvWl+oQHIV0NM=; b=BAQRwl26bo2iytqnghoEf3KcV23iLJPp3cOI/tqwV/02JrkIk9ytKFl48SG0v5L13A WTZl7FO4YhsRkaEjRqJoSzkcxs15TmiuPmUw7ExpFSW1GNvulGGvNjGaoBt2RasZYmJu SBWKQmJaTwGo3agN+mYU9r5e5W4zy6TLKviWXg+7oq1jxgRKh6KnCdKWF3AaENaJkzeP X6PT115Hwj4Wj5VdGum4aJPvT4e0H54jq1TiFWe0PqlHH31F9kuXChATAZNyIeDwydzy Xei+VM8fX2XMr5MG+tFeZrGyPK3nZjl8wBwIfd0qewzGxuPBovANVtmsz4UQjAj1j7Wr A3cQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=53t9zUuBpnMmMpx0IOdNliPltAMK97EvWl+oQHIV0NM=; b=WdLGfUkWXmg8owwUeUuFYqDatOxq+GnYOEYWZGmfZQ7OBi2SmSkQ2dXcnnyQ6WpdVo w3Un4SP9KRWLJW1JWeNrTUO9KQO0d6jdf3rgpLlxO554AVGeRBSrGwxfHQc2KfT51ycQ vKJ+AMv/1T7HegR1gN10wJUfvDOVU4hFmUQcizwHgwclnWncQPFbQGZxhRZqID5dPcuQ w7MxScbYjUOtLPe03+DuyD++c4eKGSDEaXT2Pyzk7FiOqUXl+3ygqCVeKghnqQ9ls6k7 058ZCKxYyFsG2+PgPTW3Ov9NDgOaBV8wdU4xu675L4U2RIPKrMWNS1/r14k9ZT9ZtYvM g0rA== X-Gm-Message-State: AJcUukfexvoIB6bs3zOlNZQpBMJQzWIsDq0zTNkuJPXasD5mJ9GF8Dky PLFpnsAoz05ZiVJDtR6FxLiau7qSUiI= X-Received: by 2002:a62:848d:: with SMTP id k135mr21228215pfd.47.1545855031468; Wed, 26 Dec 2018 12:10:31 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:877f:9499::6e98]) by smtp.gmail.com with ESMTPSA id l3sm60029493pga.92.2018.12.26.12.10.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Dec 2018 12:10:30 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Wed, 26 Dec 2018 12:09:54 -0800 Message-Id: <20181226200954.5267-10-raj.khem@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20181226200954.5267-1-raj.khem@gmail.com> References: <20181226200954.5267-1-raj.khem@gmail.com> MIME-Version: 1.0 Cc: Cupertino Miranda , Romain Naour , Alexey Brodkin Subject: [OE-core] [PATCH 10/10] binutils: Upgrade to latest on 2.31 release branch 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 * Append minor version to PV so recipe checker is happy * Drop upstreamed patches * Remove changelog from CVE patches, they dont apply and are in patch log anyway Signed-off-by: Khem Raj --- .../binutils/binutils-2.31.inc | 8 +- ...-for-input-file-matching-output-file.patch | 59 ----- ...ion-where-GOT-information-is-collect.patch | 201 ------------------ ...ess.-Return-FALSE-in-case-of-NULL-po.patch | 38 ---- ...-symbol-is-not-an-indirect-or-warnin.patch | 46 ---- ...was-still-being-generated-when-symbo.patch | 40 ---- .../binutils/binutils/CVE-2018-17358.patch | 37 +--- .../binutils/binutils/CVE-2018-17360.patch | 24 +-- .../binutils/binutils/CVE-2018-18309.patch | 87 ++------ .../binutils/binutils/CVE-2018-18605.patch | 20 +- .../binutils/binutils/CVE-2018-18606.patch | 22 +- .../binutils/binutils/CVE-2018-18607.patch | 25 +-- .../binutils/binutils/clang-bfd-fix.patch | 8 +- 13 files changed, 33 insertions(+), 582 deletions(-) delete mode 100644 meta/recipes-devtools/binutils/binutils/0017-improve-check-for-input-file-matching-output-file.patch delete mode 100644 meta/recipes-devtools/binutils/binutils/0018-Refactored-location-where-GOT-information-is-collect.patch delete mode 100644 meta/recipes-devtools/binutils/binutils/0019-Improved-robustness.-Return-FALSE-in-case-of-NULL-po.patch delete mode 100644 meta/recipes-devtools/binutils/binutils/0020-Make-sure-global-symbol-is-not-an-indirect-or-warnin.patch delete mode 100644 meta/recipes-devtools/binutils/binutils/0021-PLT-information-was-still-being-generated-when-symbo.patch -- 2.20.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/binutils/binutils-2.31.inc b/meta/recipes-devtools/binutils/binutils-2.31.inc index c3c15fb416..b8b2d97884 100644 --- a/meta/recipes-devtools/binutils/binutils-2.31.inc +++ b/meta/recipes-devtools/binutils/binutils-2.31.inc @@ -15,10 +15,11 @@ def binutils_branch_version(d): return pvsplit[0] + "_" + pvsplit[1] BINUPV = "${@binutils_branch_version(d)}" +PV .= ".1" UPSTREAM_CHECK_GITTAGREGEX = "binutils-(?P\d+_(\d_?)*)" -SRCREV ?= "4568e49ff799192fea4f66063fe13e2b871ec75a" +SRCREV ?= "c909e7afdc4710851a53e86ebed8cea3879b26e5" BINUTILS_GIT_URI ?= "git://sourceware.org/git/binutils-gdb.git;branch=binutils-${BINUPV}-branch;protocol=git" SRC_URI = "\ ${BINUTILS_GIT_URI} \ @@ -36,11 +37,6 @@ SRC_URI = "\ file://0014-Detect-64-bit-MIPS-targets.patch \ file://0015-sync-with-OE-libtool-changes.patch \ file://0016-add-i386pep-emulation-for-x86_64.patch \ - file://0017-improve-check-for-input-file-matching-output-file.patch \ - file://0018-Refactored-location-where-GOT-information-is-collect.patch \ - file://0019-Improved-robustness.-Return-FALSE-in-case-of-NULL-po.patch \ - file://0020-Make-sure-global-symbol-is-not-an-indirect-or-warnin.patch \ - file://0021-PLT-information-was-still-being-generated-when-symbo.patch \ file://clang-bfd-fix.patch \ file://CVE-2018-17358.patch \ file://CVE-2018-17360.patch \ diff --git a/meta/recipes-devtools/binutils/binutils/0017-improve-check-for-input-file-matching-output-file.patch b/meta/recipes-devtools/binutils/binutils/0017-improve-check-for-input-file-matching-output-file.patch deleted file mode 100644 index 265e52633b..0000000000 --- a/meta/recipes-devtools/binutils/binutils/0017-improve-check-for-input-file-matching-output-file.patch +++ /dev/null @@ -1,59 +0,0 @@ -From 2a50366ded329bfb39d387253450c9d5302c3503 Mon Sep 17 00:00:00 2001 -From: Robert Yang -Date: Tue, 14 Aug 2018 12:22:35 +0100 -Subject: [PATCH] as.c: Improve check for input file matching output file. - -When the assembler reports that the input and output are the same, report the -file names involved, in order to help debugging. Also do not equate two files -are the same if the have the same inode value but reside on different file -systems. - -Upstream-Status: Backport - -Signed-off-by: Robert Yang ---- - gas/as.c | 27 ++++++++++++++++++++------- - 2 files changed, 20 insertions(+), 7 deletions(-) - -diff --git a/gas/as.c b/gas/as.c -index b2a908a..3105d06 100644 ---- a/gas/as.c -+++ b/gas/as.c -@@ -1259,14 +1259,27 @@ main (int argc, char ** argv) - { - struct stat sib; - -- if (stat (argv[i], &sib) == 0) -+ /* Check that the input file and output file are different. */ -+ if (stat (argv[i], &sib) == 0 -+ && sib.st_ino == sob.st_ino -+ /* POSIX emulating systems may support stat() but if the -+ underlying file system does not support a file serial number -+ of some kind then they will return 0 for the inode. So -+ two files with an inode of 0 may not actually be the same. -+ On real POSIX systems no ordinary file will ever have an -+ inode of 0. */ -+ && sib.st_ino != 0 -+ /* Different files may have the same inode number if they -+ reside on different devices, so check the st_dev field as -+ well. */ -+ && sib.st_dev == sob.st_dev) - { -- if (sib.st_ino == sob.st_ino && sib.st_ino != 0) -- { -- /* Don't let as_fatal remove the output file! */ -- out_file_name = NULL; -- as_fatal (_("The input and output files must be distinct")); -- } -+ const char *saved_out_file_name = out_file_name; -+ -+ /* Don't let as_fatal remove the output file! */ -+ out_file_name = NULL; -+ as_fatal (_("The input '%s' and output '%s' files are the same"), -+ argv[i], saved_out_file_name); - } - } - } --- -2.7.4 - diff --git a/meta/recipes-devtools/binutils/binutils/0018-Refactored-location-where-GOT-information-is-collect.patch b/meta/recipes-devtools/binutils/binutils/0018-Refactored-location-where-GOT-information-is-collect.patch deleted file mode 100644 index d41339a9a6..0000000000 --- a/meta/recipes-devtools/binutils/binutils/0018-Refactored-location-where-GOT-information-is-collect.patch +++ /dev/null @@ -1,201 +0,0 @@ -From d930affa2d475d1cc6792f1e6d56bef3d6c617db Mon Sep 17 00:00:00 2001 -From: Cupertino Miranda -Date: Fri, 2 Mar 2018 17:16:21 +0100 -Subject: [PATCH] Refactored location where GOT information is collected. - -Change location where GOT information is collected for ARC target, avoiding -posible use conflicts of the previous .got field in the symbols hash_entry. - -bfd/ -2018-03-01 Cupertino Miranda - - * arc-got.h (get_got_entry_list_for_symbol): Changed. - * ef32-arc.c (struct elf_arc_link_hash_entry): Moved and changed. - (elf_arc_link_hash_newfunc): Changed. - (arc_elf_link_hash_table_create): Removed old initializations. - (elf_arc_relocate_section, elf_arc_finish_dynamic_symbol): Changed. - -Signed-off-by: Cupertino Miranda -Signed-off-by: Alexey Brodkin -[Romain: rebase on top of 2.31] -Signed-off-by: Romain Naour - -Upstream-Status: Pending ---- - bfd/arc-got.h | 6 +++-- - bfd/elf32-arc.c | 77 +++++++++++++++++++++++++++++++-------------------------- - 2 files changed, 46 insertions(+), 37 deletions(-) - -diff --git a/bfd/arc-got.h b/bfd/arc-got.h -index a86061bcb38..81ce88fe21a 100644 ---- a/bfd/arc-got.h -+++ b/bfd/arc-got.h -@@ -156,9 +156,11 @@ get_got_entry_list_for_symbol (bfd *abfd, - unsigned long r_symndx, - struct elf_link_hash_entry *h) - { -- if (h != NULL) -+ struct elf_arc_link_hash_entry *h1 = -+ ((struct elf_arc_link_hash_entry *) h); -+ if (h1 != NULL) - { -- return &h->got.glist; -+ return &h1->got_ents; - } - else - { -diff --git a/bfd/elf32-arc.c b/bfd/elf32-arc.c -index a48ef0ca15f..ab84de43815 100644 ---- a/bfd/elf32-arc.c -+++ b/bfd/elf32-arc.c -@@ -160,6 +160,18 @@ struct arc_relocation_data - const char * symbol_name; - }; - -+/* ARC ELF linker hash entry. */ -+struct elf_arc_link_hash_entry -+{ -+ struct elf_link_hash_entry root; -+ -+ /* Track dynamic relocs copied for this symbol. */ -+ struct elf_dyn_relocs *dyn_relocs; -+ -+ struct got_entry *got_ents; -+}; -+ -+ - /* Should be included at this location due to static declarations - defined before this point. */ - #include "arc-got.h" -@@ -281,15 +293,6 @@ struct arc_reloc_map - unsigned char elf_reloc_val; - }; - --/* ARC ELF linker hash entry. */ --struct elf_arc_link_hash_entry --{ -- struct elf_link_hash_entry root; -- -- /* Track dynamic relocs copied for this symbol. */ -- struct elf_dyn_relocs *dyn_relocs; --}; -- - /* ARC ELF linker hash table. */ - struct elf_arc_link_hash_table - { -@@ -301,28 +304,28 @@ elf_arc_link_hash_newfunc (struct bfd_hash_entry *entry, - struct bfd_hash_table *table, - const char *string) - { -+ struct elf_arc_link_hash_entry * ret = -+ (struct elf_arc_link_hash_entry *) entry; -+ - /* Allocate the structure if it has not already been allocated by a - subclass. */ -- if (entry == NULL) -- { -- entry = (struct bfd_hash_entry *) -- bfd_hash_allocate (table, -- sizeof (struct elf_arc_link_hash_entry)); -- if (entry == NULL) -- return entry; -- } -+ if (ret == NULL) -+ ret = (struct elf_arc_link_hash_entry *) -+ bfd_hash_allocate (table, sizeof (struct elf_arc_link_hash_entry)); -+ if (ret == NULL) -+ return (struct bfd_hash_entry *) ret; - - /* Call the allocation method of the superclass. */ -- entry = _bfd_elf_link_hash_newfunc (entry, table, string); -- if (entry != NULL) -+ ret = ((struct elf_arc_link_hash_entry *) -+ _bfd_elf_link_hash_newfunc ((struct bfd_hash_entry *) ret, -+ table, string)); -+ if (ret != NULL) - { -- struct elf_arc_link_hash_entry *eh; -- -- eh = (struct elf_arc_link_hash_entry *) entry; -- eh->dyn_relocs = NULL; -+ ret->dyn_relocs = NULL; -+ ret->got_ents = NULL; - } - -- return entry; -+ return (struct bfd_hash_entry *) ret; - } - - /* Destroy an ARC ELF linker hash table. */ -@@ -352,11 +355,6 @@ arc_elf_link_hash_table_create (bfd *abfd) - return NULL; - } - -- ret->elf.init_got_refcount.refcount = 0; -- ret->elf.init_got_refcount.glist = NULL; -- ret->elf.init_got_offset.offset = 0; -- ret->elf.init_got_offset.glist = NULL; -- - ret->elf.root.hash_table_free = elf_arc_link_hash_table_free; - - return &ret->elf.root; -@@ -1615,10 +1613,14 @@ elf_arc_relocate_section (bfd * output_bfd, - while (h->root.type == bfd_link_hash_indirect - || h->root.type == bfd_link_hash_warning) - { -- struct elf_link_hash_entry *h_old = h; -+ struct elf_arc_link_hash_entry *ah_old = -+ (struct elf_arc_link_hash_entry *) h; - h = (struct elf_link_hash_entry *) h->root.u.i.link; -- if (h->got.glist == 0 && h_old->got.glist != h->got.glist) -- h->got.glist = h_old->got.glist; -+ struct elf_arc_link_hash_entry *ah = -+ (struct elf_arc_link_hash_entry *) h; -+ -+ if (ah->got_ents == 0 && ah_old->got_ents != ah->got_ents) -+ ah->got_ents = ah_old->got_ents; - } - - /* TODO: Need to validate what was the intention. */ -@@ -1636,6 +1638,8 @@ elf_arc_relocate_section (bfd * output_bfd, - - if (is_reloc_for_GOT (howto) && !bfd_link_pic (info)) - { -+ struct elf_arc_link_hash_entry *ah = -+ (struct elf_arc_link_hash_entry *) h; - /* TODO: Change it to use arc_do_relocation with - ARC_32 reloc. Try to use ADD_RELA macro. */ - bfd_vma relocation = -@@ -1645,8 +1649,8 @@ elf_arc_relocate_section (bfd * output_bfd, - + reloc_data.sym_section->output_section->vma) - : 0); - -- BFD_ASSERT (h->got.glist); -- bfd_vma got_offset = h->got.glist->offset; -+ BFD_ASSERT (ah->got_ents); -+ bfd_vma got_offset = ah->got_ents->offset; - bfd_put_32 (output_bfd, relocation, - htab->sgot->contents + got_offset); - } -@@ -1958,6 +1962,7 @@ elf_arc_check_relocs (bfd * abfd, - else /* Global one. */ - h = sym_hashes[r_symndx - symtab_hdr->sh_info]; - -+ - switch (r_type) - { - case R_ARC_32: -@@ -2404,7 +2409,9 @@ elf_arc_finish_dynamic_symbol (bfd * output_bfd, - create respective dynamic relocs. */ - /* TODO: Make function to get list and not access the list directly. */ - /* TODO: Move function to relocate_section create this relocs eagerly. */ -- create_got_dynrelocs_for_got_info (&h->got.glist, -+ struct elf_arc_link_hash_entry *ah = -+ (struct elf_arc_link_hash_entry *) h; -+ create_got_dynrelocs_for_got_info (&ah->got_ents, - output_bfd, - info, - h); --- -2.14.4 - diff --git a/meta/recipes-devtools/binutils/binutils/0019-Improved-robustness.-Return-FALSE-in-case-of-NULL-po.patch b/meta/recipes-devtools/binutils/binutils/0019-Improved-robustness.-Return-FALSE-in-case-of-NULL-po.patch deleted file mode 100644 index 6a58ee06ac..0000000000 --- a/meta/recipes-devtools/binutils/binutils/0019-Improved-robustness.-Return-FALSE-in-case-of-NULL-po.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 955176bd999fe80c5b937ab8786665079e35c387 Mon Sep 17 00:00:00 2001 -From: Cupertino Miranda -Date: Fri, 2 Mar 2018 17:33:48 +0100 -Subject: [PATCH] Improved robustness. Return FALSE in case of NULL pointer. - -bfd/ -2018-03-01 Cupertino Miranda - - * elf32-arc.c (elf_arc_finish_dynamic_symbol) Return FALSE in case - arc_htab is NULL. - -Signed-off-by: Cupertino Miranda -Signed-off-by: Alexey Brodkin -[Romain: rebase on top of 2.31] -Signed-off-by: Romain Naour - -Upstream-Status: Pending ---- - bfd/elf32-arc.c | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/bfd/elf32-arc.c b/bfd/elf32-arc.c -index ab84de43815..33fc72cff6e 100644 ---- a/bfd/elf32-arc.c -+++ b/bfd/elf32-arc.c -@@ -2420,6 +2420,9 @@ elf_arc_finish_dynamic_symbol (bfd * output_bfd, - { - struct elf_arc_link_hash_table *arc_htab = elf_arc_hash_table (info); - -+ if(arc_htab == NULL) -+ return FALSE; -+ - if (h->dynindx == -1 - || (h->root.type != bfd_link_hash_defined - && h->root.type != bfd_link_hash_defweak) --- -2.14.4 - diff --git a/meta/recipes-devtools/binutils/binutils/0020-Make-sure-global-symbol-is-not-an-indirect-or-warnin.patch b/meta/recipes-devtools/binutils/binutils/0020-Make-sure-global-symbol-is-not-an-indirect-or-warnin.patch deleted file mode 100644 index 01e42c03bb..0000000000 --- a/meta/recipes-devtools/binutils/binutils/0020-Make-sure-global-symbol-is-not-an-indirect-or-warnin.patch +++ /dev/null @@ -1,46 +0,0 @@ -From 9d09ce14b4eef2b56f24660fd69a44acd45128b2 Mon Sep 17 00:00:00 2001 -From: Cupertino Miranda -Date: Fri, 2 Mar 2018 17:38:14 +0100 -Subject: [PATCH] Make sure global symbol is not an indirect or warning. - -Problem identified in the context of glibc with latest upstream binutils. -Dynamic symbol space was being reserved but, no actual information for the -symbol was being set. Data for the symbol was kept initialized with -1. -No easy test case was possible to be created. - -bfd/ -2018-03-01 Cupertino Miranda - - * elf32-arc.c (elf_arc_check_relocs): Changed. - -Signed-off-by: Cupertino Miranda -Signed-off-by: Alexey Brodkin -[Romain: rebase on top of 2.31] -Signed-off-by: Romain Naour - -Upstream-Status: Pending ---- - bfd/elf32-arc.c | 7 ++++++- - 1 file changed, 6 insertions(+), 1 deletion(-) - -diff --git a/bfd/elf32-arc.c b/bfd/elf32-arc.c -index 33fc72cff6e..9b72c5b4f4f 100644 ---- a/bfd/elf32-arc.c -+++ b/bfd/elf32-arc.c -@@ -1960,7 +1960,12 @@ elf_arc_check_relocs (bfd * abfd, - if (r_symndx < symtab_hdr->sh_info) /* Is a local symbol. */ - h = NULL; - else /* Global one. */ -- h = sym_hashes[r_symndx - symtab_hdr->sh_info]; -+ { -+ h = sym_hashes[r_symndx - symtab_hdr->sh_info]; -+ while (h->root.type == bfd_link_hash_indirect -+ || h->root.type == bfd_link_hash_warning) -+ h = (struct elf_link_hash_entry *) h->root.u.i.link; -+ } - - - switch (r_type) --- -2.14.4 - diff --git a/meta/recipes-devtools/binutils/binutils/0021-PLT-information-was-still-being-generated-when-symbo.patch b/meta/recipes-devtools/binutils/binutils/0021-PLT-information-was-still-being-generated-when-symbo.patch deleted file mode 100644 index 9e942399c0..0000000000 --- a/meta/recipes-devtools/binutils/binutils/0021-PLT-information-was-still-being-generated-when-symbo.patch +++ /dev/null @@ -1,40 +0,0 @@ -From e4861c68067cb2166b4c2bb9c052abeb6ad9aaa1 Mon Sep 17 00:00:00 2001 -From: Cupertino Miranda -Date: Fri, 2 Mar 2018 17:44:29 +0100 -Subject: [PATCH] PLT information was still being generated when symbol was - forced_local. - -A change upstream reveiled this issue, triggering an assert when linking glibc. - -bfd/ -2018-03-01 Cupertino Miranda - - * elf32-arc.c (elf_arc_check_relocs): Changed. - -Signed-off-by: Cupertino Miranda -Signed-off-by: Alexey Brodkin -[Romain: rebase on top of 2.31] -Signed-off-by: Romain Naour - -Upstream-Status: Pending ---- - bfd/elf32-arc.c | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/bfd/elf32-arc.c b/bfd/elf32-arc.c -index 9b72c5b4f4f..b40b463d34d 100644 ---- a/bfd/elf32-arc.c -+++ b/bfd/elf32-arc.c -@@ -2041,7 +2041,8 @@ elf_arc_check_relocs (bfd * abfd, - if (h == NULL) - continue; - else -- h->needs_plt = 1; -+ if(h->forced_local == 0) -+ h->needs_plt = 1; - } - - /* Add info to the symbol got_entry_list. */ --- -2.14.4 - diff --git a/meta/recipes-devtools/binutils/binutils/CVE-2018-17358.patch b/meta/recipes-devtools/binutils/binutils/CVE-2018-17358.patch index 813509160f..d5a1ea1dc4 100644 --- a/meta/recipes-devtools/binutils/binutils/CVE-2018-17358.patch +++ b/meta/recipes-devtools/binutils/binutils/CVE-2018-17358.patch @@ -21,25 +21,6 @@ Signed-off-by: Zhixiong Chi bfd/syms.c | 22 ++++++++++++++++------ 3 files changed, 33 insertions(+), 7 deletions(-) -diff --git a/bfd/ChangeLog b/bfd/ChangeLog -index 04c0c2a..fef5479 100644 ---- a/bfd/ChangeLog -+++ b/bfd/ChangeLog -@@ -1,3 +1,12 @@ -+2018-09-20 Alan Modra -+ -+ PR 23686 -+ * dwarf2.c (read_section): Error when attempting to malloc -+ "(bfd_size_type) -1". -+ * syms.c (_bfd_stab_section_find_nearest_line): Bounds check -+ function_name. Bounds check reloc address. Formatting. Ensure -+ .stabstr zero terminated. -+ - 2018-08-12 H.J. Lu - - PR ld/23428 -diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c -index 3b28855..77a7368 100644 --- a/bfd/dwarf2.c +++ b/bfd/dwarf2.c @@ -527,6 +527,7 @@ read_section (bfd * abfd, @@ -65,11 +46,9 @@ index 3b28855..77a7368 100644 if (contents == NULL) return FALSE; if (syms -diff --git a/bfd/syms.c b/bfd/syms.c -index 187071f..e09640a 100644 --- a/bfd/syms.c +++ b/bfd/syms.c -@@ -1035,6 +1035,10 @@ _bfd_stab_section_find_nearest_line (bfd *abfd, +@@ -1035,6 +1035,10 @@ _bfd_stab_section_find_nearest_line (bfd 0, strsize)) return FALSE; @@ -80,7 +59,7 @@ index 187071f..e09640a 100644 /* If this is a relocatable object file, we have to relocate the entries in .stab. This should always be simple 32 bit relocations against symbols defined in this object file, so -@@ -1073,7 +1077,8 @@ _bfd_stab_section_find_nearest_line (bfd *abfd, +@@ -1073,7 +1077,8 @@ _bfd_stab_section_find_nearest_line (bfd || r->howto->bitsize != 32 || r->howto->pc_relative || r->howto->bitpos != 0 @@ -90,7 +69,7 @@ index 187071f..e09640a 100644 { _bfd_error_handler (_("unsupported .stab relocation")); -@@ -1195,7 +1200,8 @@ _bfd_stab_section_find_nearest_line (bfd *abfd, +@@ -1195,7 +1200,8 @@ _bfd_stab_section_find_nearest_line (bfd { nul_fun = stab; nul_str = str; @@ -100,7 +79,7 @@ index 187071f..e09640a 100644 file_name = NULL; if (stab + STABSIZE + TYPEOFF < info->stabs + stabsize && *(stab + STABSIZE + TYPEOFF) == (bfd_byte) N_SO) -@@ -1206,7 +1212,8 @@ _bfd_stab_section_find_nearest_line (bfd *abfd, +@@ -1206,7 +1212,8 @@ _bfd_stab_section_find_nearest_line (bfd directory_name = file_name; file_name = ((char *) str + bfd_get_32 (abfd, stab + STRDXOFF)); @@ -110,7 +89,7 @@ index 187071f..e09640a 100644 file_name = NULL; } } -@@ -1217,7 +1224,8 @@ _bfd_stab_section_find_nearest_line (bfd *abfd, +@@ -1217,7 +1224,8 @@ _bfd_stab_section_find_nearest_line (bfd file_name = (char *) str + bfd_get_32 (abfd, stab + STRDXOFF); /* PR 17512: file: 0c680a1f. */ /* PR 17512: file: 5da8aec4. */ @@ -120,7 +99,7 @@ index 187071f..e09640a 100644 file_name = NULL; break; -@@ -1226,7 +1234,8 @@ _bfd_stab_section_find_nearest_line (bfd *abfd, +@@ -1226,7 +1234,8 @@ _bfd_stab_section_find_nearest_line (bfd function_name = (char *) str + bfd_get_32 (abfd, stab + STRDXOFF); if (function_name == (char *) str) continue; @@ -130,7 +109,7 @@ index 187071f..e09640a 100644 function_name = NULL; nul_fun = NULL; -@@ -1335,7 +1344,8 @@ _bfd_stab_section_find_nearest_line (bfd *abfd, +@@ -1335,7 +1344,8 @@ _bfd_stab_section_find_nearest_line (bfd if (val <= offset) { file_name = (char *) str + bfd_get_32 (abfd, stab + STRDXOFF); @@ -140,5 +119,3 @@ index 187071f..e09640a 100644 file_name = NULL; *pline = 0; } --- -2.9.3 diff --git a/meta/recipes-devtools/binutils/binutils/CVE-2018-17360.patch b/meta/recipes-devtools/binutils/binutils/CVE-2018-17360.patch index cef10a7546..45c637967b 100644 --- a/meta/recipes-devtools/binutils/binutils/CVE-2018-17360.patch +++ b/meta/recipes-devtools/binutils/binutils/CVE-2018-17360.patch @@ -15,27 +15,9 @@ Signed-off-by: Zhixiong Chi bfd/peXXigen.c | 11 ++++++----- 2 files changed, 12 insertions(+), 5 deletions(-) -diff --git a/bfd/ChangeLog b/bfd/ChangeLog -index fef5479..81b9e56 100644 ---- a/bfd/ChangeLog -+++ b/bfd/ChangeLog -@@ -1,5 +1,11 @@ - 2018-09-20 Alan Modra - -+ PR 23685 -+ * peXXigen.c (pe_print_edata): Correct export address table -+ overflow checks. Check dataoff against section size too. -+ -+2018-09-20 Alan Modra -+ - PR 23686 - * dwarf2.c (read_section): Error when attempting to malloc - "(bfd_size_type) -1". -diff --git a/bfd/peXXigen.c b/bfd/peXXigen.c -index 598f2ca..1645ef4 100644 --- a/bfd/peXXigen.c +++ b/bfd/peXXigen.c -@@ -1661,7 +1661,8 @@ pe_print_edata (bfd * abfd, void * vfile) +@@ -1661,7 +1661,8 @@ pe_print_edata (bfd * abfd, void * vfile dataoff = addr - section->vma; datasize = extra->DataDirectory[PE_EXPORT_TABLE].Size; @@ -45,7 +27,7 @@ index 598f2ca..1645ef4 100644 { fprintf (file, _("\nThere is an export table in %s, but it does not fit into that section\n"), -@@ -1778,11 +1779,11 @@ pe_print_edata (bfd * abfd, void * vfile) +@@ -1778,11 +1779,11 @@ pe_print_edata (bfd * abfd, void * vfile edt.base); /* PR 17512: Handle corrupt PE binaries. */ @@ -61,5 +43,3 @@ index 598f2ca..1645ef4 100644 fprintf (file, _("\tInvalid Export Address Table rva (0x%lx) or entry count (0x%lx)\n"), (long) edt.eat_addr, (long) edt.num_functions); --- -2.9.3 diff --git a/meta/recipes-devtools/binutils/binutils/CVE-2018-18309.patch b/meta/recipes-devtools/binutils/binutils/CVE-2018-18309.patch index b240a3f994..010e6b5d53 100644 --- a/meta/recipes-devtools/binutils/binutils/CVE-2018-18309.patch +++ b/meta/recipes-devtools/binutils/binutils/CVE-2018-18309.patch @@ -49,39 +49,9 @@ Signed-off-by: Zhixiong Chi bfd/reloc.c | 19 +++++++++++++------ 14 files changed, 50 insertions(+), 23 deletions(-) -diff --git a/bfd/ChangeLog b/bfd/ChangeLog -index 68c1ff665b..e9696ee314 100644 ---- a/bfd/ChangeLog -+++ b/bfd/ChangeLog -@@ -1,3 +1,23 @@ -+2018-10-13 Alan Modra -+ -+ PR 23770 -+ PR 23425 -+ * reloc.c (_bfd_clear_contents): Replace "location" param with -+ "buf" and "off". Bounds check "off". Return status. -+ * cofflink.c (_bfd_coff_generic_relocate_section): Update -+ _bfd_clear_contents call. -+ * elf-bfd.h (RELOC_AGAINST_DISCARDED_SECTION): Likewise. -+ * elf32-arc.c (elf_arc_relocate_section): Likewise. -+ * elf32-i386.c (elf_i386_relocate_section): Likewise. -+ * elf32-metag.c (metag_final_link_relocate): Likewise. -+ * elf32-nds32.c (nds32_elf_get_relocated_section_contents): Likewise. -+ * elf32-ppc.c (ppc_elf_relocate_section): Likewise. -+ * elf32-visium.c (visium_elf_relocate_section): Likewise. -+ * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. -+ * elf64-x86-64.c *(elf_x86_64_relocate_section): Likewise. -+ * libbfd-in.h (_bfd_clear_contents): Update prototype. -+ * libbfd.h: Regenerate. -+ - 2018-09-20 Alan Modra - - PR 23685 -diff --git a/bfd/cofflink.c b/bfd/cofflink.c -index 2f73f72e31..b7ea69b7f9 100644 --- a/bfd/cofflink.c +++ b/bfd/cofflink.c -@@ -3080,7 +3080,7 @@ _bfd_coff_generic_relocate_section (bfd *output_bfd, +@@ -3080,7 +3080,7 @@ _bfd_coff_generic_relocate_section (bfd if (sec != NULL && discarded_section (sec)) { _bfd_clear_contents (howto, input_bfd, input_section, @@ -90,11 +60,9 @@ index 2f73f72e31..b7ea69b7f9 100644 continue; } -diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h -index cf256f70e0..3374f411f9 100644 --- a/bfd/elf-bfd.h +++ b/bfd/elf-bfd.h -@@ -2811,7 +2811,7 @@ extern asection _bfd_elf_large_com_section; +@@ -2811,7 +2811,7 @@ extern asection _bfd_elf_large_com_secti { \ int i_; \ _bfd_clear_contents (howto, input_bfd, input_section, \ @@ -103,11 +71,9 @@ index cf256f70e0..3374f411f9 100644 \ if (bfd_link_relocatable (info) \ && (input_section->flags & SEC_DEBUGGING)) \ -diff --git a/bfd/elf32-arc.c b/bfd/elf32-arc.c -index 7a1b3042ae..30f47a5b22 100644 --- a/bfd/elf32-arc.c +++ b/bfd/elf32-arc.c -@@ -1549,7 +1549,7 @@ elf_arc_relocate_section (bfd * output_bfd, +@@ -1552,7 +1552,7 @@ elf_arc_relocate_section (bfd * outp if (sec != NULL && discarded_section (sec)) { _bfd_clear_contents (howto, input_bfd, input_section, @@ -116,11 +82,9 @@ index 7a1b3042ae..30f47a5b22 100644 rel->r_info = 0; rel->r_addend = 0; -diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c -index 49797dcbfa..177471777d 100644 --- a/bfd/elf32-i386.c +++ b/bfd/elf32-i386.c -@@ -2197,7 +2197,7 @@ elf_i386_relocate_section (bfd *output_bfd, +@@ -2197,7 +2197,7 @@ elf_i386_relocate_section (bfd *output_b if (sec != NULL && discarded_section (sec)) { _bfd_clear_contents (howto, input_bfd, input_section, @@ -129,11 +93,9 @@ index 49797dcbfa..177471777d 100644 wrel->r_offset = rel->r_offset; wrel->r_info = 0; wrel->r_addend = 0; -diff --git a/bfd/elf32-metag.c b/bfd/elf32-metag.c -index efe95bddff..7f96246e5d 100644 --- a/bfd/elf32-metag.c +++ b/bfd/elf32-metag.c -@@ -1396,7 +1396,7 @@ metag_final_link_relocate (reloc_howto_type *howto, +@@ -1396,7 +1396,7 @@ metag_final_link_relocate (reloc_howto_t rel, relend, howto, contents) \ { \ _bfd_clear_contents (howto, input_bfd, input_section, \ @@ -142,11 +104,9 @@ index efe95bddff..7f96246e5d 100644 \ if (bfd_link_relocatable (info) \ && (input_section->flags & SEC_DEBUGGING)) \ -diff --git a/bfd/elf32-nds32.c b/bfd/elf32-nds32.c -index 0d86e5b865..184cf320f7 100644 --- a/bfd/elf32-nds32.c +++ b/bfd/elf32-nds32.c -@@ -12582,14 +12582,14 @@ nds32_elf_get_relocated_section_contents (bfd *abfd, +@@ -12582,14 +12582,14 @@ nds32_elf_get_relocated_section_contents symbol = *(*parent)->sym_ptr_ptr; if (symbol->section && discarded_section (symbol->section)) { @@ -165,11 +125,9 @@ index 0d86e5b865..184cf320f7 100644 (*parent)->sym_ptr_ptr = bfd_abs_section_ptr->symbol_ptr_ptr; (*parent)->addend = 0; (*parent)->howto = &none_howto; -diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c -index 61f70de12e..c31e26efd7 100644 --- a/bfd/elf32-ppc.c +++ b/bfd/elf32-ppc.c -@@ -8232,7 +8232,7 @@ ppc_elf_relocate_section (bfd *output_bfd, +@@ -8232,7 +8232,7 @@ ppc_elf_relocate_section (bfd *output_bf howto = ppc_elf_howto_table[r_type]; _bfd_clear_contents (howto, input_bfd, input_section, @@ -178,11 +136,9 @@ index 61f70de12e..c31e26efd7 100644 wrel->r_offset = rel->r_offset; wrel->r_info = 0; wrel->r_addend = 0; -diff --git a/bfd/elf32-visium.c b/bfd/elf32-visium.c -index e8f1c4c9e4..961366cd87 100644 --- a/bfd/elf32-visium.c +++ b/bfd/elf32-visium.c -@@ -621,7 +621,7 @@ visium_elf_relocate_section (bfd *output_bfd, +@@ -621,7 +621,7 @@ visium_elf_relocate_section (bfd *output or sections discarded by a linker script, we just want the section contents zeroed. Avoid any special processing. */ _bfd_clear_contents (howto, input_bfd, input_section, @@ -191,11 +147,9 @@ index e8f1c4c9e4..961366cd87 100644 rel->r_info = 0; rel->r_addend = 0; -diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c -index eadde17615..7c3534ac65 100644 --- a/bfd/elf64-ppc.c +++ b/bfd/elf64-ppc.c -@@ -14073,7 +14073,7 @@ ppc64_elf_relocate_section (bfd *output_bfd, +@@ -14074,7 +14074,7 @@ ppc64_elf_relocate_section (bfd *output_ { _bfd_clear_contents (ppc64_elf_howto_table[r_type], input_bfd, input_section, @@ -204,11 +158,9 @@ index eadde17615..7c3534ac65 100644 wrel->r_offset = rel->r_offset; wrel->r_info = 0; wrel->r_addend = 0; -diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c -index c3a6c31ed2..4dcab43478 100644 --- a/bfd/elf64-x86-64.c +++ b/bfd/elf64-x86-64.c -@@ -2490,7 +2490,7 @@ elf_x86_64_relocate_section (bfd *output_bfd, +@@ -2490,7 +2490,7 @@ elf_x86_64_relocate_section (bfd *output if (sec != NULL && discarded_section (sec)) { _bfd_clear_contents (howto, input_bfd, input_section, @@ -217,11 +169,9 @@ index c3a6c31ed2..4dcab43478 100644 wrel->r_offset = rel->r_offset; wrel->r_info = 0; wrel->r_addend = 0; -diff --git a/bfd/libbfd-in.h b/bfd/libbfd-in.h -index e53b255dad..f6d9565f03 100644 --- a/bfd/libbfd-in.h +++ b/bfd/libbfd-in.h -@@ -696,8 +696,8 @@ extern bfd_reloc_status_type _bfd_relocate_contents +@@ -696,8 +696,8 @@ extern bfd_reloc_status_type _bfd_reloca (reloc_howto_type *, bfd *, bfd_vma, bfd_byte *) ATTRIBUTE_HIDDEN; /* Clear a given location using a given howto. */ @@ -232,11 +182,9 @@ index e53b255dad..f6d9565f03 100644 /* Link stabs in sections in the first pass. */ -diff --git a/bfd/libbfd.h b/bfd/libbfd.h -index a8851c8026..1189e63358 100644 --- a/bfd/libbfd.h +++ b/bfd/libbfd.h -@@ -701,8 +701,8 @@ extern bfd_reloc_status_type _bfd_relocate_contents +@@ -701,8 +701,8 @@ extern bfd_reloc_status_type _bfd_reloca (reloc_howto_type *, bfd *, bfd_vma, bfd_byte *) ATTRIBUTE_HIDDEN; /* Clear a given location using a given howto. */ @@ -247,11 +195,9 @@ index a8851c8026..1189e63358 100644 /* Link stabs in sections in the first pass. */ -diff --git a/bfd/reloc.c b/bfd/reloc.c -index 8dbb8896d3..1686780669 100644 --- a/bfd/reloc.c +++ b/bfd/reloc.c -@@ -1613,16 +1613,22 @@ _bfd_relocate_contents (reloc_howto_type *howto, +@@ -1613,16 +1613,22 @@ _bfd_relocate_contents (reloc_howto_type relocations against discarded symbols, to make ignorable debug or unwind information more obvious. */ @@ -276,7 +222,7 @@ index 8dbb8896d3..1686780669 100644 size = bfd_get_reloc_size (howto); switch (size) { -@@ -1687,6 +1693,7 @@ _bfd_clear_contents (reloc_howto_type *howto, +@@ -1681,6 +1687,7 @@ _bfd_clear_contents (reloc_howto_type *h #endif break; } @@ -284,7 +230,7 @@ index 8dbb8896d3..1686780669 100644 } /* -@@ -8275,14 +8282,14 @@ bfd_generic_get_relocated_section_contents (bfd *abfd, +@@ -8268,14 +8275,14 @@ bfd_generic_get_relocated_section_conten if (symbol->section && discarded_section (symbol->section)) { @@ -303,6 +249,3 @@ index 8dbb8896d3..1686780669 100644 (*parent)->sym_ptr_ptr = bfd_abs_section_ptr->symbol_ptr_ptr; (*parent)->addend = 0; (*parent)->howto = &none_howto; --- -2.13.3 - diff --git a/meta/recipes-devtools/binutils/binutils/CVE-2018-18605.patch b/meta/recipes-devtools/binutils/binutils/CVE-2018-18605.patch index d6c7067715..a117f95df1 100644 --- a/meta/recipes-devtools/binutils/binutils/CVE-2018-18605.patch +++ b/meta/recipes-devtools/binutils/binutils/CVE-2018-18605.patch @@ -15,25 +15,9 @@ Signed-off-by: Zhixiong Chi bfd/merge.c | 3 +++ 2 files changed, 9 insertions(+) -diff --git a/bfd/ChangeLog b/bfd/ChangeLog -index 31ff3d6..da423b1 100644 ---- a/bfd/ChangeLog -+++ b/bfd/ChangeLog -@@ -1,3 +1,9 @@ -+2018-10-23 Alan Modra -+ -+ PR 23804 -+ * merge.c (_bfd_add_merge_section): Don't attempt to merge -+ sections where size is not a multiple of entsize. -+ - 2018-10-13 Alan Modra - - PR 23770 -diff --git a/bfd/merge.c b/bfd/merge.c -index 7904552..5e3bba0 100644 --- a/bfd/merge.c +++ b/bfd/merge.c -@@ -376,6 +376,9 @@ _bfd_add_merge_section (bfd *abfd, void **psinfo, asection *sec, +@@ -376,6 +376,9 @@ _bfd_add_merge_section (bfd *abfd, void || sec->entsize == 0) return TRUE; @@ -43,5 +27,3 @@ index 7904552..5e3bba0 100644 if ((sec->flags & SEC_RELOC) != 0) { /* We aren't prepared to handle relocations in merged sections. */ --- -2.9.3 diff --git a/meta/recipes-devtools/binutils/binutils/CVE-2018-18606.patch b/meta/recipes-devtools/binutils/binutils/CVE-2018-18606.patch index 35cf328a14..325c339b88 100644 --- a/meta/recipes-devtools/binutils/binutils/CVE-2018-18606.patch +++ b/meta/recipes-devtools/binutils/binutils/CVE-2018-18606.patch @@ -15,24 +15,6 @@ Signed-off-by: Zhixiong Chi bfd/merge.c | 15 +++++++++++---- 2 files changed, 17 insertions(+), 4 deletions(-) -diff --git a/bfd/ChangeLog b/bfd/ChangeLog -index 1f3fc1c..c5f7ec7 100644 ---- a/bfd/ChangeLog -+++ b/bfd/ChangeLog -@@ -1,5 +1,11 @@ - 2018-10-23 Alan Modra - -+ PR 23806 -+ * merge.c (_bfd_add_merge_section): Don't attempt to merge -+ sections with ridiculously large alignments. -+ -+2018-10-23 Alan Modra -+ - PR 23804 - * merge.c (_bfd_add_merge_section): Don't attempt to merge - sections where size is not a multiple of entsize. -diff --git a/bfd/merge.c b/bfd/merge.c -index 5e3bba0..7de0c88 100644 --- a/bfd/merge.c +++ b/bfd/merge.c @@ -24,6 +24,7 @@ @@ -43,7 +25,7 @@ index 5e3bba0..7de0c88 100644 #include "bfd.h" #include "elf-bfd.h" #include "libbfd.h" -@@ -385,12 +386,18 @@ _bfd_add_merge_section (bfd *abfd, void **psinfo, asection *sec, +@@ -385,12 +386,18 @@ _bfd_add_merge_section (bfd *abfd, void return TRUE; } @@ -66,5 +48,3 @@ index 5e3bba0..7de0c88 100644 { /* Sanity check. If string character size is smaller than alignment, then we require character size to be a power --- -2.9.3 diff --git a/meta/recipes-devtools/binutils/binutils/CVE-2018-18607.patch b/meta/recipes-devtools/binutils/binutils/CVE-2018-18607.patch index 38225d171e..902a90dbc3 100644 --- a/meta/recipes-devtools/binutils/binutils/CVE-2018-18607.patch +++ b/meta/recipes-devtools/binutils/binutils/CVE-2018-18607.patch @@ -16,28 +16,9 @@ Signed-off-by: Zhixiong Chi bfd/elflink.c | 20 ++++++++++++++------ 2 files changed, 21 insertions(+), 6 deletions(-) -diff --git a/bfd/ChangeLog b/bfd/ChangeLog -index da423b1..1f3fc1c 100644 ---- a/bfd/ChangeLog -+++ b/bfd/ChangeLog -@@ -1,5 +1,12 @@ - 2018-10-23 Alan Modra - -+ PR 23805 -+ * elflink.c (elf_link_input_bfd): Don't segfault on finding -+ STT_TLS symbols without any TLS sections. Instead, change the -+ symbol type to STT_NOTYPE. -+ -+2018-10-23 Alan Modra -+ - PR 23806 - * merge.c (_bfd_add_merge_section): Don't attempt to merge - sections with ridiculously large alignments. -diff --git a/bfd/elflink.c b/bfd/elflink.c -index c3876cb..87440db 100644 --- a/bfd/elflink.c +++ b/bfd/elflink.c -@@ -10489,8 +10489,11 @@ elf_link_input_bfd (struct elf_final_link_info *flinfo, bfd *input_bfd) +@@ -10496,8 +10496,11 @@ elf_link_input_bfd (struct elf_final_lin if (ELF_ST_TYPE (osym.st_info) == STT_TLS) { /* STT_TLS symbols are relative to PT_TLS segment base. */ @@ -51,7 +32,7 @@ index c3876cb..87440db 100644 } } -@@ -11046,12 +11049,17 @@ elf_link_input_bfd (struct elf_final_link_info *flinfo, bfd *input_bfd) +@@ -11053,12 +11056,17 @@ elf_link_input_bfd (struct elf_final_lin sym.st_value += osec->vma; if (ELF_ST_TYPE (sym.st_info) == STT_TLS) { @@ -73,5 +54,3 @@ index c3876cb..87440db 100644 } } --- -2.9.3 diff --git a/meta/recipes-devtools/binutils/binutils/clang-bfd-fix.patch b/meta/recipes-devtools/binutils/binutils/clang-bfd-fix.patch index caf78488df..29c0d48fed 100644 --- a/meta/recipes-devtools/binutils/binutils/clang-bfd-fix.patch +++ b/meta/recipes-devtools/binutils/binutils/clang-bfd-fix.patch @@ -17,11 +17,9 @@ Upstream-Status: Backport [Fixes differently] Signed-off-by: Khem Raj -Index: git/bfd/reloc.c -=================================================================== ---- git.orig/bfd/reloc.c -+++ git/bfd/reloc.c -@@ -1635,7 +1635,7 @@ _bfd_clear_contents (reloc_howto_type *h +--- a/bfd/reloc.c ++++ b/bfd/reloc.c +@@ -1629,7 +1629,7 @@ _bfd_clear_contents (reloc_howto_type *h default: abort (); case 0: