Re: v3.18.86 build: 0 failures 1 warnings (v3.18.86)
From: Arnd Bergmann
Date: Tue Jan 02 2018 - 18:24:20 EST
On Wed, Dec 6, 2017 at 1:18 AM, Build bot for Mark Brown
<broonie@xxxxxxxxxx> wrote:
> -------------------------------------------------------------------------------
> x86_64-defconfig : PASS, 0 errors, 2 warnings, 0 section mismatches
>
> Warnings:
> ../include/linux/ftrace.h:632:36: warning: calling '__builtin_return_address' with a nonzero argument is unsafe [-Wframe-address]
> ../include/linux/ftrace.h:632:36: warning: calling '__builtin_return_address' with a nonzero argument is unsafe [-Wframe-address]
> -------------------------------------------------------------------------------
This warning keeps coming up in 3.18 and 4.1 builds, which lack a backport of
ef6000b4c670 ("Disable the __builtin_return_address() warning globally
after all")
The other build bots use different gcc versions that don't report the
warning here,
so only Mark's bot triggers it. The warning in this file is harmless,
and the patch
only turns off the warning flag.
Arnd