powerpc/xmon: Relax frame size for clang
Michael Ellerman
patch-notifications at ellerman.id.au
Thu Nov 1 23:46:53 AEDT 2018
On Wed, 2018-10-31 at 01:09:34 UTC, Joel Stanley wrote:
> When building with clang (8 trunk, 7.0 release) the frame size limit is
> hit:
>
> arch/powerpc/xmon/xmon.c:452:12: warning: stack frame size of 2576
> bytes in function 'xmon_core' [-Wframe-larger-than=]
>
> Some investigation by Naveen indicates this is due to clang saving the
> addresses to printf format strings on the stack.
>
> While this issue is investigated, bump up the frame size limit for xmon
> when building with clang.
>
> Link: https://github.com/ClangBuiltLinux/linux/issues/252
> Signed-off-by: Joel Stanley <joel at jms.id.au>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/9c87156cce5a63735d1218f0096a65
cheers
More information about the Linuxppc-dev
mailing list