Re: linux-next: build failure after merge of the kspp-gustavo tree

From: Gustavo A. R. Silva
Date: Wed Oct 20 2021 - 12:14:15 EST


Hi Stephen,

On Mon, Oct 18, 2021 at 07:30:48PM +1100, Stephen Rothwell wrote:
> Hi all,
>
> After merging the kspp-gustavo tree, today's linux-next build (sparc64
> defconfig) failed like this:
>
> sparc64-linux-gcc: error: unrecognized command line option '-Wcast-function-type'; did you mean '-Wbad-function-cast'?
>
> $ sparc64-linux-gcc --version
> sparc64-linux-gcc (Custom f51944395b6aa154) 7.3.1 20180130

I think this should work just fine with GCC 8.x

Thanks
--
Gustavo

>
> Caused by commit
>
> 21078041965e ("Makefile: Enable -Wcast-function-type")
>
> I have reverted that commit for today.
>
> --
> Cheers,
> Stephen Rothwell