From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexey Brodkin Date: Tue, 3 Apr 2018 20:21:06 +0000 Subject: [U-Boot] [PATCH] Makefile: Disable stack-usage check for ARC In-Reply-To: <20180403201742.GL19725@bill-the-cat.ec.rr.com> References: <20180402091802.23753-1-abrodkin@synopsys.com> <20180403201742.GL19725@bill-the-cat.ec.rr.com> Message-ID: <1522786865.14857.2.camel@synopsys.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Tom, On Tue, 2018-04-03 at 16:17 -0400, Tom Rini wrote: > On Mon, Apr 02, 2018 at 12:18:02PM +0300, Alexey Brodkin wrote: > > > With the most recent tools for ARC (arc-2017.09) in case of > > "naked" function compiler throws a warning: > > ---------------------------------->8----------------------------- > > board/synopsys/hsdk/hsdk.c: In function 'hsdk_core_init_f': > > board/synopsys/hsdk/hsdk.c:345:1: warning: stack usage computation not supported for this target > > } > > ^ > > ---------------------------------->8----------------------------- > > > > That happens because the compiler doesn't handle "naked" functions > > as a special case where stack calculation shouldn't be done. > > > > But for now until this is fixed in GCC to get clean buildman output > > we're disabling stack-usage check for ARC. > > > > See https://lists.denx.de/pipermail/u-boot/2018-April/324455.html > > for more background. > > > > Signed-off-by: Alexey Brodkin > > Cc: Masahiro Yamada > > Cc: Tom Rini > > Erm, this patch isn't working for me. I take the current ARC PR, and > apply this, and I still see the warning showing up. How do you see an issue? Could you please make sure arc-2017.09 tools are used but not arc-2016.09? See my change for TravisCI in the same PR. -Alexey