Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1372781imm; Fri, 8 Jun 2018 15:08:40 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLPPysj16RtYu/d1yu660jRtZ/Ao5Kk3fQQa3PoLaRGDgaNRuXBeeNse8WDRm3WHVreMGua X-Received: by 2002:a65:48c9:: with SMTP id o9-v6mr6867736pgs.262.1528495720830; Fri, 08 Jun 2018 15:08:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528495720; cv=none; d=google.com; s=arc-20160816; b=HfrIAzCjy7B2LIHt6Jt3rSTFL16d4/z+7om8FD9nUI5FD0/jqHxxT9A2XEXfPkJiBJ hpk53lOxvBepKzB49t3VmyeLQHNm203S/mByKVs3O34BzXlIsbUy/zDq49CuE9+il7UX psOLjycJlTrZbwwSe6Brq21rjQ33027WUmMlLeWOgoRoPMKrTzrioPgyFAKZ8KTWdM5O LYAWGnKH8O4iK+RGVQmqWkATBh9k6VnK9WziIwV8t7NjbzfI36RUM09DWgqJCefezEPR 2LOcYmZhq85biUNCCTVlNWUdNjR3/LSu1p4xqBH8DQMcsyj9hzepeq8Bvd0+vXEHIihs kgdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=2D7Sm3teLJ3pwCxODVbYZNpOeCamBPWHfekPOw5ufwQ=; b=XD2dYzKbPniWsYaPe45D0Sk6JPOvnIGlHlXvW6Y9gNcwUO77AXU1rdmmhPlJXC261y TxTpLlVH6NNqKl860zhbyY8pXobpCOaH2nTrxKBSfLezctw8LTMKEAVmhvtQjSV8eQ9g pQ9zqYLLCC7xka4Ii6GJK7E98XfzJa6716g+KzQhfzDSsipmoT86yjMbB3VfjxEP0qSE xretL0OFGta9t+rnp60JqVLtAVTZkIf88FyahuSwVU6/2hSniVrNc4ZsgK9yBPcEYIcH 135z4eRkboiZnLr7wm2tSVEeOtSboKf6ms6aw9byzgONvjOvuAOqAIzhNPHsmn6QIbDM HoFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@firstfloor.org header.s=mail header.b=VAB0yv7W; 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 l63-v6si1667295plb.106.2018.06.08.15.08.24; Fri, 08 Jun 2018 15:08:40 -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=@firstfloor.org header.s=mail header.b=VAB0yv7W; 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 S1753034AbeFHWID (ORCPT + 99 others); Fri, 8 Jun 2018 18:08:03 -0400 Received: from one.firstfloor.org ([193.170.194.197]:40034 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752885AbeFHWIC (ORCPT ); Fri, 8 Jun 2018 18:08:02 -0400 Received: by one.firstfloor.org (Postfix, from userid 503) id 5258286874; Sat, 9 Jun 2018 00:08:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=firstfloor.org; s=mail; t=1528495680; bh=GIiSi+LUbPWwh1sXRum6cQerWJV+TIWDNJU04rPoTIs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=VAB0yv7WBnJ49KGxV127XGU8znM8DW//Y1zqs5CLI8rrZzYZaNtxLaXnQrrycR3/N l3gxcy2argkFOROOEJDU/f48o6lG0OI/c7zPexGsB5BcBNzCZavUSR/T6EwQMROokB ZL9BQ8lkuvoo4XwoczOdLQeCmSRA0R1Sf8IBAK/Q= Date: Fri, 8 Jun 2018 15:08:00 -0700 From: Andi Kleen To: Greg Thelen Cc: Andi Kleen , Steven Rostedt , linux-kernel@vger.kernel.org, x86@kernel.org, linux-kbuild@vger.kernel.org, akpm@linux-foundation.org, Andi Kleen , Masahiro Yamada , Michal Marek Subject: Re: [PATCH] trace: fix SKIP_STACK_VALIDATION=1 build Message-ID: <20180608220759.irqviu5g4a3w7nms@two.firstfloor.org> References: <20180608214746.136554-1-gthelen@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180608214746.136554-1-gthelen@google.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 08, 2018 at 02:47:46PM -0700, Greg Thelen wrote: > 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 Looks good thanks. Acked-by: Andi Kleen -Andi