[U-Boot] [PATCH] Makefile: Disable stack-usage check for ARC

Tom Rini trini at konsulko.com
Tue Apr 3 20:17:42 UTC 2018


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 <abrodkin at synopsys.com>
> Cc: Masahiro Yamada <yamada.masahiro at socionext.com>
> Cc: Tom Rini <trini at konsulko.com>

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.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180403/e13d7e53/attachment.sig>


More information about the U-Boot mailing list