Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp3953587imm; Mon, 25 Jun 2018 07:22:27 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLftTPw3IH+X7L649cDeChuJ40taIMgkLI2SaIoRMFI+efQJ13PSJLClM/KY0P08ZBBTD7+ X-Received: by 2002:a62:9c0d:: with SMTP id f13-v6mr13279572pfe.215.1529936547534; Mon, 25 Jun 2018 07:22:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529936547; cv=none; d=google.com; s=arc-20160816; b=iDHup0UiKjhTtn07o+q/vLo/EVndEksdfkda0p9B+EkgBG03Uri/BwcAFbwKbW37ue Nmj8R/TLzGfg51wR03HJgQGJa/wL3hEPQewMYNtMqHANfUArDXg2QzQPdzn9chDMBajG Vyfl42Cq7wwrBbjH4DhNsMCi1Gzost2bwNFffD+OylgFj8ELokG4fpFiEV9Na6Y4HbEl c5Mtscd01FBGZjODiMfSYmhmnBFk5Ldb9x+M/U21x4RZCaIct8XpMaqrfHubULhtA+kR C4pVNYeOtkx7klFeeNAcZqxuWObqi/7guP6SG8JjWzMB2Igsq1BKKSsxf6Er49aXkrrg shmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature:dkim-filter :arc-authentication-results; bh=dZBGW/mK8IjWN5dlmdvJ3TH7SUX5POx3KJ6gi+ojWCY=; b=PkDwhfGkAceRk+rl/oj21VfnwksrA1qRl2uLlHIVD0xMudy5Y2Xm7xB6h3PVc3xo/x jVZRfQQw1FOknDYVCPp7ltc53csWS0VbHC5IbvwI1o6UMoqko67lTuDJvkSMoVml5rdU OTxlwdEz11Y6TB3jxB0dRouqrLKQTXh0QIK+4Cw+OsF3G9ZCY7YgLCeMIw1IVvJTYvdm DJlrwIkRJ7nfmOCWZ7pYJrPpbatcRkLT4PNclrZfa+NgwTqb2RU0LME+QJZVcVFOGv4j yksk34EDbgfv9qfGwg8nTjZBuZNAQWcwMybBm2uQcLZR/VEa/e3YR/bXULOcnH/gVj08 szvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=cQA3grrt; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n20-v6si7824897pgb.446.2018.06.25.07.22.12; Mon, 25 Jun 2018 07:22:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=cQA3grrt; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755580AbeFYOVN (ORCPT + 99 others); Mon, 25 Jun 2018 10:21:13 -0400 Received: from conssluserg-02.nifty.com ([210.131.2.81]:43983 "EHLO conssluserg-02.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752294AbeFYOVL (ORCPT ); Mon, 25 Jun 2018 10:21:11 -0400 Received: from mail-vk0-f50.google.com (mail-vk0-f50.google.com [209.85.213.50]) (authenticated) by conssluserg-02.nifty.com with ESMTP id w5PEL8gH026766; Mon, 25 Jun 2018 23:21:08 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-02.nifty.com w5PEL8gH026766 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1529936469; bh=dZBGW/mK8IjWN5dlmdvJ3TH7SUX5POx3KJ6gi+ojWCY=; h=In-Reply-To:References:From:Date:Subject:To:Cc:From; b=cQA3grrtQw16VlQo4bIn2MXUENFRxOzER+Xgwr/ihiNqhD/5ssetDYLC7nYRug580 uaV90rdu89S9xEHalYnUhg/2agnJR081r9W24PxpcNeOykHjHlsgUhGcy7o3tb4Ucl Z2s/NVX/W1I3Ki1dfhvLXiaxXiFj54djPxJaahs2YHGuakmgZFFOOYSk882/JqI51l aqqzvG0ZA14CH+WOwvkSl/Gspq0+xH/YcqKMLC6PDdtdl9hZwI62dSw9EJlYDY/UUB cuowhepAPV5dJiTfACZIhChcxLime8eL1DiU8X6boV2H7IuyEUl/4HhE2DdVAib2Az Hmh6jpDtWEy2Q== X-Nifty-SrcIP: [209.85.213.50] Received: by mail-vk0-f50.google.com with SMTP id f200-v6so591795vke.0; Mon, 25 Jun 2018 07:21:08 -0700 (PDT) X-Gm-Message-State: APt69E0fFPo5LMf0kgJNEYnzpsAoXfkZGknFcr3CDn3gpywEYk0ivNE+ Ia0BA+YeJIpemGSV2zrqaZlPuXtELJ72rA23H3I= X-Received: by 2002:a1f:a945:: with SMTP id s66-v6mr7882467vke.54.1529936467663; Mon, 25 Jun 2018 07:21:07 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ab0:3308:0:0:0:0:0 with HTTP; Mon, 25 Jun 2018 07:20:26 -0700 (PDT) In-Reply-To: <20180625101607.08db48ff@gandalf.local.home> References: <20180608214746.136554-1-gthelen@google.com> <20180625101607.08db48ff@gandalf.local.home> From: Masahiro Yamada Date: Mon, 25 Jun 2018 23:20:26 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] trace: fix SKIP_STACK_VALIDATION=1 build To: Steven Rostedt Cc: Greg Thelen , Andi Kleen , Linux Kernel Mailing List , X86 ML , Linux Kbuild mailing list , Andrew Morton , Andi Kleen , Michal Marek Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2018-06-25 23:16 GMT+09:00 Steven Rostedt : > On Sat, 23 Jun 2018 02:42:26 +0900 > Masahiro Yamada wrote: > >> 2018-06-09 6:47 GMT+09:00 Greg Thelen : >> > Non gcc-5 builds with CONFIG_STACK_VALIDATION=y and >> > SKIP_STACK_VALIDATION=1 fail. >> > Example output: >> > /bin/sh: init/.tmp_main.o: Permission denied >> > >> > commit 96f60dfa5819 ("trace: Use -mcount-record for dynamic ftrace"), >> > added a mismatched endif. This causes cmd_objtool to get mistakenly >> > set. >> > >> > Relocate endif to balance the newly added -record-mcount check. >> > >> > Fixes: 96f60dfa5819 ("trace: Use -mcount-record for dynamic ftrace") >> > Signed-off-by: Greg Thelen >> > --- >> >> Applied to linux-kbuild/fixes. Thanks! >> >> > > I already pushed this to Linus. As I was the one to mess it up in the > first place ;-) (I think I applied it with some fuzz) > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ed7d40bc67b8353c677b38c6cdddcdc310c0f452 > OK. I will drop this, then. Thanks for the info. > -- Steve > -- > To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- Best Regards Masahiro Yamada