From patchwork Sun Dec 23 21:35: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: 154453 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp3270541ljp; Sun, 23 Dec 2018 13:37:23 -0800 (PST) X-Google-Smtp-Source: ALg8bN5OjHASYzBBuz6hNd9o45YHsDXHfSsln6rrIS0WBxSYaP064gGkJSoEgk5qAHvfu5AZH6ls X-Received: by 2002:a17:902:b03:: with SMTP id 3mr10750786plq.91.1545601043567; Sun, 23 Dec 2018 13:37:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545601043; cv=none; d=google.com; s=arc-20160816; b=OcXk6r5seeynK0WK0kp0F3/BcslOyQuk3gvB8JCMe6BIcSIhVKtGx7uGsY0wxYE5TK Y7ZIqB4ERVe0aX0uSr9YM7qb7tdZi780W8UQYBUxEc+25Ifmqn8vdOWgaqSsXBiwdRhM l+luFk4YTz4HOJG0+ZZNagdE3qvQadglTxhYhw2SiiHZeuIg2PWcmHzrVcof784VujdO 73VqzTk4p1IX1PhsaGaC6EyT4adYotDZ7n5s2Vx5iQ5knk2PIdyQo0liogWHc8h1H1tl c5fyRmk8jsV+MBxX+iAZjHCqpQoP5YU98lkl+yUoLWJRIVBeymIZcdLzPIC43/9AhQS7 8nGg== 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=UbQDtvQKm5PEUHlTjjKiihEUra+bUfARS8xW5Ik5avw=; b=IqpiuxlU/TFHwF/m0u3XSRMkZQKHyyWjmw/puXSHgPTHhrsUg91gr0zhN2aOsDGUXO 8FYpLQrwESOBwSrJi006t+bJDj93qi7rx5PTKFQlQK5Q6XWla+CkAFnPkuoWHWQz+eHq EGxoC7xQiUQgTm6uf06A/rzIbCZ1cOSZEPvEXP/bp+SnNVMrUZ6aU0diM0H7H1wHGJ6g D0kAkQ+FghDcDf919HMFnHhiBvNwcx39ws3A6ZXeFZY6QP4WAffLOHebt83Get7s9DLV vlhujFp7CophuynEur2BBh4bZ7mZNzHQh9Fowa2zeLZiEp6XqSPrbDWTwT7JQibe0APB dfvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b="ETg/M2kK"; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-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 m35si14202094pgb.246.2018.12.23.13.37.23; Sun, 23 Dec 2018 13:37:23 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-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="ETg/M2kK"; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-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 57AB979B9F; Sun, 23 Dec 2018 21:36:38 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pg1-f196.google.com (mail-pg1-f196.google.com [209.85.215.196]) by mail.openembedded.org (Postfix) with ESMTP id DE2446D9AB for ; Sun, 23 Dec 2018 21:36:16 +0000 (UTC) Received: by mail-pg1-f196.google.com with SMTP id n2so4874231pgm.3 for ; Sun, 23 Dec 2018 13:36:18 -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=izZrlfeVHdskJUvvjHRY/gSQnbVISMrahINSkrLdV2s=; b=ETg/M2kKFgkBcF9XmS+6XgfYVIHkVpJZR+r64Hg5ss4ws5zR1BlgAh+qiB+veEKPet 7sf7OBjKfZngTJmUWSdmLBxaPSlduQyhgmmiMz6TrWDK7sQfQwhoIEITTMtnzIJmxG2O 0hOiip5SC39FLhqPXuI0lJRCU+dVnrJNZd0GdBoMGV178Vp9/pcut/FLu/iSMrZHZEjl lcFWApdk1Qo5M0umoRJTT1E5bO5KpQ8tg/VGq2jXsew6KAkGPX+rV+XNjCH3/6PCf5fk fzJaLIZartp7qMxvOSBnQPSpJU5tuppJ2sKCMQNXJRx1b3DoxcI0brWAOFbmXtj1abvJ 6IJA== 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=izZrlfeVHdskJUvvjHRY/gSQnbVISMrahINSkrLdV2s=; b=ZvqXytVCQ1Ljo/b0V6ay9V7O84pm6jCz6E9Q1O43kB11ywwyLmEvTpH2GbCXRtFFK0 0afMWE2OWI1XbuEdbxKOYdMGTsTKxEcz82dTAPFOFVwM95SogorHu/A5KlmcXrlyWnuy BNt9jzWxeIrV9KrgobfbLSfxJV4vg/Vj9SJPZMWqdef9crcBjWK6p4T2JQdge8aVJ8bs wY5aBfyZmeXtdP3ALGsMkVkvnuHh75B0RWHqMCqZufY/Ti866St/wNJ2EDDULu1+ElGe e5EdAWZ5Sy6wz3I6cUwpiQ1uLQB1gh6ZmwAtwUhs47mhMo4jmzejF+1kKKl4tx+PdDNj Qcjw== X-Gm-Message-State: AJcUukdf1+mSMftymEqZUPEgTtagRaoy+K++/3P2+91haMwW24YgLpej jxiYkQ+6YlfEUFagQ+u84RLxE4QEC6o= X-Received: by 2002:a63:ed15:: with SMTP id d21mr10245179pgi.305.1545600977612; Sun, 23 Dec 2018 13:36:17 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:877f:9499::19ec]) by smtp.gmail.com with ESMTPSA id m9sm33340800pgd.32.2018.12.23.13.36.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 23 Dec 2018 13:36:16 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sun, 23 Dec 2018 13:35:48 -0800 Message-Id: <20181223213557.7834-9-raj.khem@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20181223213557.7834-1-raj.khem@gmail.com> References: <20181223213557.7834-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [oe] [meta-oe][PATCH 09/18] breakpad: Fix build with gcc9 on x86 X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- .../breakpad/breakpad/dont-clobber-rsp.patch | 30 +++++++++++++++++++ .../recipes-devtools/breakpad/breakpad_git.bb | 1 + 2 files changed, 31 insertions(+) create mode 100644 meta-oe/recipes-devtools/breakpad/breakpad/dont-clobber-rsp.patch -- 2.20.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-devtools/breakpad/breakpad/dont-clobber-rsp.patch b/meta-oe/recipes-devtools/breakpad/breakpad/dont-clobber-rsp.patch new file mode 100644 index 0000000000..b1c37fc8e9 --- /dev/null +++ b/meta-oe/recipes-devtools/breakpad/breakpad/dont-clobber-rsp.patch @@ -0,0 +1,30 @@ +Do not add stack pointer to clobber list + +it was being ignored until gcc 9.0 became capable +of flagging this silent ignoring via [1] + +[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52813 + +Upstream-Status: Submitted [https://chromium-review.googlesource.com/c/linux-syscall-support/+/1390160] +Signed-off-by: Khem Raj + +--- a/src/third_party/lss/linux_syscall_support.h ++++ b/src/third_party/lss/linux_syscall_support.h +@@ -1966,7 +1966,7 @@ struct kernel_statfs { + __asm__ volatile(LSS_ENTRYPOINT \ + : "=a" (__res) \ + : "0" (__NR_##name) \ +- : "esp", "memory"); \ ++ : "memory"); \ + LSS_RETURN(type,__res); \ + } + #undef _syscall1 +@@ -2407,7 +2407,7 @@ struct kernel_statfs { + "d"(LSS_SYSCALL_ARG(parent_tidptr)), + "r"(LSS_SYSCALL_ARG(newtls)), + "r"(LSS_SYSCALL_ARG(child_tidptr)) +- : "rsp", "memory", "r8", "r10", "r11", "rcx"); ++ : "memory", "r8", "r10", "r11", "rcx"); + } + LSS_RETURN(int, __res); + } diff --git a/meta-oe/recipes-devtools/breakpad/breakpad_git.bb b/meta-oe/recipes-devtools/breakpad/breakpad_git.bb index 2bc0aacb0f..528c237564 100644 --- a/meta-oe/recipes-devtools/breakpad/breakpad_git.bb +++ b/meta-oe/recipes-devtools/breakpad/breakpad_git.bb @@ -42,6 +42,7 @@ SRC_URI = "git://github.com/google/breakpad;name=breakpad \ file://0001-disable-calls-to-getcontext-with-musl.patch \ file://0001-lss-Match-syscalls-to-match-musl.patch;patchdir=src/third_party/lss \ file://mips_asm_sgidefs.patch;patchdir=src/third_party/lss \ + file://dont-clobber-rsp.patch \ " S = "${WORKDIR}/git"