From patchwork Fri Mar 9 18:56:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 131242 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp1345696lja; Fri, 9 Mar 2018 11:07:06 -0800 (PST) X-Google-Smtp-Source: AG47ELs5Fo7J4a6IcAhsbTj8/lKwLaa3tTe4q/MZm8BEq4uRwCnH+X7ZGn0ZZdX35o3rS43TmV6F X-Received: by 10.98.192.203 with SMTP id g72mr31303319pfk.27.1520622426331; Fri, 09 Mar 2018 11:07:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520622426; cv=none; d=google.com; s=arc-20160816; b=fOczs+c3JsCxpYpb/zYmlIw2ifEFAypq1Zv+0ar+TWBpzKjVd5x3CRZiuRauwY3BT9 eCubLM98YQwcV9g+GsHtDZXzSSGEQs4O0Ar9rt/cdpePn3XsNcZ6buMN+Fiqj84XbIhI Wuz8aII7nSFW77heRBqgdGmtd9hfgmNnKtbBLV5cr/CAmrZ9tIOSX1b+2TUkAEhx6TmT MC+aGPHi3EuzYMfe723UYhXUbk26rAAPvvqM+RQPdke9iOZxrQbkOBzD7uysVSSjadk4 ChwOZlf2ZUs1zxnFC67kUekR6XMLDrJHQyx7vuzgjmQQFRrd9HLP1xVm0syoHB4mECWs j08g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:delivered-to:arc-authentication-results; bh=e99eeTP7s9OYXx26NOsY4lWWy5jKIKLwcT5vQsDb6zw=; b=SzAiGTRE/5zpYptham3t4k8RKB7mfmlhGvoLED0eSQ88yon6cjEScU9a4hH8E9QEic 2fc6FhyolX3FP3Qi0Y709eWf1oU95gYl9AxdezJFu/J4zMF0XjoTAVf5YBkhrEtDZvgD P2LIfAVxgQAT70Rnd5pGtYBGmzrLclQls1kbHeCAZLWgAd3XBMsyAvc4bdAJLTHNn8Oc DUS9jKAvLAqxWekjmqoIOaYHXURE97FJeDhtPOqMRD+30LIl29LUjr4ACN7hwWKBp70i ueX+3S83YQgNssWEnc3j/dEbIAQ2pW4UeHFdqMEwmrXi0/b/fEi5a6EGHxV/O1x7JIFa Skbw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id e6si1092378pgt.680.2018.03.09.11.07.06; Fri, 09 Mar 2018 11:07:06 -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; 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 Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id CFAC478A02; Fri, 9 Mar 2018 19:03:49 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mail.openembedded.org (Postfix) with ESMTP id 7310578933 for ; Fri, 9 Mar 2018 19:03:39 +0000 (UTC) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Mar 2018 11:03:41 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,446,1515484800"; d="scan'208";a="32652072" Received: from kanavin-desktop.fi.intel.com ([10.237.68.161]) by FMSMGA003.fm.intel.com with ESMTP; 09 Mar 2018 11:03:40 -0800 From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Date: Fri, 9 Mar 2018 20:56:12 +0200 Message-Id: <20180309185614.31113-34-alexander.kanavin@linux.intel.com> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180309185614.31113-1-alexander.kanavin@linux.intel.com> References: <20180309185614.31113-1-alexander.kanavin@linux.intel.com> Subject: [OE-core] [PATCH 34/36] libunwind: refresh patches X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org From: Ross Burton The patch tool will apply patches by default with "fuzz", which is where if the hunk context isn't present but what is there is close enough, it will force the patch in. Whilst this is useful when there's just whitespace changes, when applied to source it is possible for a patch applied with fuzz to produce broken code which still compiles (see #10450). This is obviously bad. We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For that to be realistic the existing patches with fuzz need to be rebased and reviewed. Signed-off-by: Ross Burton Signed-off-by: Alexander Kanavin --- ...Add-AO_REQUIRE_CAS-to-fix-build-on-ARM-v6.patch | 23 ++++++++++------------ 1 file changed, 10 insertions(+), 13 deletions(-) -- 2.16.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-support/libunwind/libunwind/Add-AO_REQUIRE_CAS-to-fix-build-on-ARM-v6.patch b/meta/recipes-support/libunwind/libunwind/Add-AO_REQUIRE_CAS-to-fix-build-on-ARM-v6.patch index 0dff2c86dcd..c8faca47244 100644 --- a/meta/recipes-support/libunwind/libunwind/Add-AO_REQUIRE_CAS-to-fix-build-on-ARM-v6.patch +++ b/meta/recipes-support/libunwind/libunwind/Add-AO_REQUIRE_CAS-to-fix-build-on-ARM-v6.patch @@ -28,10 +28,10 @@ https://raw.githubusercontent.com/rdnetto/teapot-buildroot/master/package/libunw include/libunwind_i.h | 1 + 2 files changed, 2 insertions(+), 7 deletions(-) -diff --git a/acinclude.m4 b/acinclude.m4 -index 497f7c2..9c15af1 100644 ---- a/acinclude.m4 -+++ b/acinclude.m4 +Index: libunwind-1.2.1/acinclude.m4 +=================================================================== +--- libunwind-1.2.1.orig/acinclude.m4 ++++ libunwind-1.2.1/acinclude.m4 @@ -22,11 +22,5 @@ fi]) AC_DEFUN([CHECK_ATOMIC_OPS], [dnl Check whether the system has the atomic_ops package installed. @@ -45,18 +45,15 @@ index 497f7c2..9c15af1 100644 -# AC_CHECK_LIB(atomic_ops, main) + AC_CHECK_LIB(atomic_ops, main) ]) -diff --git a/include/libunwind_i.h b/include/libunwind_i.h -index 23f615e..deabdfd 100644 ---- a/include/libunwind_i.h -+++ b/include/libunwind_i.h -@@ -95,6 +95,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ - (pthread_mutex_unlock != NULL ? pthread_mutex_unlock (l) : 0) +Index: libunwind-1.2.1/include/libunwind_i.h +=================================================================== +--- libunwind-1.2.1.orig/include/libunwind_i.h ++++ libunwind-1.2.1/include/libunwind_i.h +@@ -116,6 +116,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DE + (pthread_mutex_unlock != NULL ? pthread_mutex_unlock (l) : 0) #ifdef HAVE_ATOMIC_OPS_H +# define AO_REQUIRE_CAS # include static inline int cmpxchg_ptr (void *addr, void *old, void *new) --- -1.9.2 -