[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.21.1806201435430.255247@chino.kir.corp.google.com>
Date: Wed, 20 Jun 2018 14:35:57 -0700 (PDT)
From: David Rientjes <rientjes@...gle.com>
To: Greg Thelen <gthelen@...gle.com>
cc: Andi Kleen <andi@...stfloor.org>,
Steven Rostedt <rostedt@...dmis.org>,
linux-kernel@...r.kernel.org, x86@...nel.org,
linux-kbuild@...r.kernel.org, akpm@...ux-foundation.org,
Andi Kleen <ak@...ux.intel.com>,
Masahiro Yamada <yamada.masahiro@...ionext.com>,
Michal Marek <michal.lkml@...kovi.net>
Subject: Re: [PATCH] trace: fix SKIP_STACK_VALIDATION=1 build
On Fri, 8 Jun 2018, 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 <gthelen@...gle.com>
Tested-by: David Rientjes <rientjes@...gle.com>
Powered by blists - more mailing lists