linux-next: build failure after merge of the kspp-gustavo tree
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
Caused by commit
21078041965e ("Makefile: Enable -Wcast-function-type")
I have reverted that commit for today.
Signature · 2 lines
Cheers, Stephen Rothwell
Hi Stephen,
Quoted 9 lines · Stephen Rothwell
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
Quoted 10 lines
Caused by commit
21078041965e("Makefile: Enable -Wcast-function-type")I have reverted that commit for today.
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 8 lines · Gustavo A. R. Silva
Hi Stephen,
Quoted 5 lines · Stephen Rothwell
Hi all,
After merging the kspp-gustavo tree, today's linux-next build (sparc64 defconfig) failed like this:
Quoted 6 lines
Quoted 4 lines
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 20180130I think this should work just fine with GCC 8.x
Does -Wcast-function-type need to be used via cc-option ?
-Kees
Quoted 17 lines
Thanks
--
GustavoQuoted 10 lines
Caused by commit
21078041965e("Makefile: Enable -Wcast-function-type")I have reverted that commit for today.
Signature · 2 lines
Cheers, Stephen Rothwell
Signature · 1 line
Kees Cook
Hi all,
Quoted 8 lines · On Mon, 18 Oct 2021 19:30:48 +1100 Stephen Rothwell <[email protected]>…
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'?
Quoted 8 lines
$ sparc64-linux-gcc --version sparc64-linux-gcc (Custom f51944395b6aa154) 7.3.1 20180130Caused by commit
21078041965e("Makefile: Enable -Wcast-function-type")I have reverted that commit for today.
I am still reverting that commit ...
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 14 lines · Stephen Rothwell
Hi all,
Quoted 11 lines · On Mon, 18 Oct 2021 19:30:48 +1100 Stephen Rothwell <[email protected]>…
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
Quoted 7 lines
Quoted 5 lines
Caused by commit
21078041965e("Makefile: Enable -Wcast-function-type")I have reverted that commit for today.
I am still reverting that commit ...
Gustavo, can you please switch this to using cc-option?
Signature · 1 line
Kees Cook
Quoted 17 lines · Kees Cook
Quoted 16 lines · Stephen Rothwell
Hi all,
Quoted 13 lines · On Mon, 18 Oct 2021 19:30:48 +1100 Stephen Rothwell <[email protected]>…
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 20180130Caused by commit
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
21078041965e("Makefile: Enable -Wcast-function-type")I have reverted that commit for today.
I am still reverting that commit ...
Gustavo, can you please switch this to using cc-option?
Yeah; I actually removed all the patches related to -Wcast-function-type from my -next branch a few minutes ago:
https://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git/log/?h=for-next/kspp
I'm currently working on resolving all these conflicts in a separate branch before merging them again in my -next tree.
Thanks
--
Gustavo
Quoted 26 lines · Gustavo A. R. Silva
Quoted 17 lines · Kees Cook
Quoted 16 lines · Stephen Rothwell
Hi all,
Quoted 13 lines · On Mon, 18 Oct 2021 19:30:48 +1100 Stephen Rothwell <[email protected]>…
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 20180130Caused by commit
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
21078041965e("Makefile: Enable -Wcast-function-type")I have reverted that commit for today.
I am still reverting that commit ...
Gustavo, can you please switch this to using cc-option?
Quoted 7 lines
Yeah; I actually removed all the patches related to -Wcast-function-type from my -next branch a few minutes ago:
https://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git/log/?h=for-next/kspp
I'm currently working on resolving all these conflicts in a separate branch before merging them again in my -next tree.
Great; that sounds ideal. :) Thank you!
-Kees
Signature · 1 line
Kees Cook