* warning: unknown warning option '-Wrestrict'
@ 2023-09-19 14:40 kernel test robot
2023-09-19 14:55 ` Philip Li
0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2023-09-19 14:40 UTC (permalink / raw)
To: Masahiro Yamada; +Cc: llvm, oe-kbuild-all, linux-kernel, Nathan Chancellor
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 2cf0f715623872823a72e451243bbf555d10d032
commit: feb843a469fb0ab00d2d23cfb9bcc379791011bb kbuild: add $(CLANG_FLAGS) to KBUILD_CPPFLAGS
date: 4 months ago
config: um-allnoconfig (https://download.01.org/0day-ci/archive/20230919/202309192257.IAbw1lnx-lkp@intel.com/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230919/202309192257.IAbw1lnx-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202309192257.IAbw1lnx-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> warning: unknown warning option '-Wrestrict' [-Wunknown-warning-option]
>> warning: unknown warning option '-Wformat-overflow'; did you mean '-Wshift-overflow'? [-Wunknown-warning-option]
>> warning: unknown warning option '-Wformat-truncation' [-Wunknown-warning-option]
>> warning: unknown warning option '-Wstringop-overflow'; did you mean '-Wshift-overflow'? [-Wunknown-warning-option]
arch/x86/um/user-offsets.c:17:6: warning: no previous prototype for function 'foo' [-Wmissing-prototypes]
17 | void foo(void)
| ^
arch/x86/um/user-offsets.c:17:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
17 | void foo(void)
| ^
| static
5 warnings generated.
error: unknown warning option '-Wrestrict' [-Werror,-Wunknown-warning-option]
error: unknown warning option '-Wformat-overflow'; did you mean '-Wshift-overflow'? [-Werror,-Wunknown-warning-option]
error: unknown warning option '-Wformat-truncation' [-Werror,-Wunknown-warning-option]
error: unknown warning option '-Wstringop-overflow'; did you mean '-Wshift-overflow'? [-Werror,-Wunknown-warning-option]
make[2]: *** [scripts/Makefile.build:252: scripts/mod/empty.o] Error 1
error: unknown warning option '-Wrestrict' [-Werror,-Wunknown-warning-option]
error: unknown warning option '-Wformat-overflow'; did you mean '-Wshift-overflow'? [-Werror,-Wunknown-warning-option]
error: unknown warning option '-Wformat-truncation' [-Werror,-Wunknown-warning-option]
error: unknown warning option '-Wstringop-overflow'; did you mean '-Wshift-overflow'? [-Werror,-Wunknown-warning-option]
make[2]: *** [scripts/Makefile.build:114: scripts/mod/devicetable-offsets.s] Error 1
make[2]: Target 'scripts/mod/' not remade because of errors.
make[1]: *** [Makefile:1286: prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:226: __sub-make] Error 2
make: Target 'prepare' not remade because of errors.
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: warning: unknown warning option '-Wrestrict'
2023-09-19 14:40 warning: unknown warning option '-Wrestrict' kernel test robot
@ 2023-09-19 14:55 ` Philip Li
2023-09-19 20:05 ` Nick Desaulniers
0 siblings, 1 reply; 3+ messages in thread
From: Philip Li @ 2023-09-19 14:55 UTC (permalink / raw)
To: kernel test robot
Cc: Masahiro Yamada, llvm, oe-kbuild-all, linux-kernel,
Nathan Chancellor
On Tue, Sep 19, 2023 at 10:40:57PM +0800, kernel test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: 2cf0f715623872823a72e451243bbf555d10d032
> commit: feb843a469fb0ab00d2d23cfb9bcc379791011bb kbuild: add $(CLANG_FLAGS) to KBUILD_CPPFLAGS
> date: 4 months ago
> config: um-allnoconfig (https://download.01.org/0day-ci/archive/20230919/202309192257.IAbw1lnx-lkp@intel.com/config)
> compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a)
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230919/202309192257.IAbw1lnx-lkp@intel.com/reproduce)
>
> If you fix the issue in a separate patch/commit (i.e. not just a new version of
> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <lkp@intel.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202309192257.IAbw1lnx-lkp@intel.com/
>
> All warnings (new ones prefixed by >>):
Sorry for the false report. Kindly ignore this.
>
> >> warning: unknown warning option '-Wrestrict' [-Wunknown-warning-option]
> >> warning: unknown warning option '-Wformat-overflow'; did you mean '-Wshift-overflow'? [-Wunknown-warning-option]
> >> warning: unknown warning option '-Wformat-truncation' [-Wunknown-warning-option]
> >> warning: unknown warning option '-Wstringop-overflow'; did you mean '-Wshift-overflow'? [-Wunknown-warning-option]
> arch/x86/um/user-offsets.c:17:6: warning: no previous prototype for function 'foo' [-Wmissing-prototypes]
> 17 | void foo(void)
> | ^
> arch/x86/um/user-offsets.c:17:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
> 17 | void foo(void)
> | ^
> | static
> 5 warnings generated.
> error: unknown warning option '-Wrestrict' [-Werror,-Wunknown-warning-option]
> error: unknown warning option '-Wformat-overflow'; did you mean '-Wshift-overflow'? [-Werror,-Wunknown-warning-option]
> error: unknown warning option '-Wformat-truncation' [-Werror,-Wunknown-warning-option]
> error: unknown warning option '-Wstringop-overflow'; did you mean '-Wshift-overflow'? [-Werror,-Wunknown-warning-option]
> make[2]: *** [scripts/Makefile.build:252: scripts/mod/empty.o] Error 1
> error: unknown warning option '-Wrestrict' [-Werror,-Wunknown-warning-option]
> error: unknown warning option '-Wformat-overflow'; did you mean '-Wshift-overflow'? [-Werror,-Wunknown-warning-option]
> error: unknown warning option '-Wformat-truncation' [-Werror,-Wunknown-warning-option]
> error: unknown warning option '-Wstringop-overflow'; did you mean '-Wshift-overflow'? [-Werror,-Wunknown-warning-option]
> make[2]: *** [scripts/Makefile.build:114: scripts/mod/devicetable-offsets.s] Error 1
> make[2]: Target 'scripts/mod/' not remade because of errors.
> make[1]: *** [Makefile:1286: prepare0] Error 2
> make[1]: Target 'prepare' not remade because of errors.
> make: *** [Makefile:226: __sub-make] Error 2
> make: Target 'prepare' not remade because of errors.
>
> --
> 0-DAY CI Kernel Test Service
> https://github.com/intel/lkp-tests/wiki
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: warning: unknown warning option '-Wrestrict'
2023-09-19 14:55 ` Philip Li
@ 2023-09-19 20:05 ` Nick Desaulniers
0 siblings, 0 replies; 3+ messages in thread
From: Nick Desaulniers @ 2023-09-19 20:05 UTC (permalink / raw)
To: Philip Li
Cc: kernel test robot, Masahiro Yamada, llvm, oe-kbuild-all,
linux-kernel, Nathan Chancellor
On Tue, Sep 19, 2023 at 7:56 AM Philip Li <philip.li@intel.com> wrote:
>
> On Tue, Sep 19, 2023 at 10:40:57PM +0800, kernel test robot wrote:
> > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> > head: 2cf0f715623872823a72e451243bbf555d10d032
> > commit: feb843a469fb0ab00d2d23cfb9bcc379791011bb kbuild: add $(CLANG_FLAGS) to KBUILD_CPPFLAGS
> > date: 4 months ago
> > config: um-allnoconfig (https://download.01.org/0day-ci/archive/20230919/202309192257.IAbw1lnx-lkp@intel.com/config)
> > compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a)
> > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230919/202309192257.IAbw1lnx-lkp@intel.com/reproduce)
> >
> > If you fix the issue in a separate patch/commit (i.e. not just a new version of
> > the same patch/commit), kindly add following tags
> > | Reported-by: kernel test robot <lkp@intel.com>
> > | Closes: https://lore.kernel.org/oe-kbuild-all/202309192257.IAbw1lnx-lkp@intel.com/
> >
> > All warnings (new ones prefixed by >>):
>
> Sorry for the false report. Kindly ignore this.
No worries, I just checked `make LLVM=1 arch=um -j128 allnoconfig all`
and had no issue.
>
> >
> > >> warning: unknown warning option '-Wrestrict' [-Wunknown-warning-option]
> > >> warning: unknown warning option '-Wformat-overflow'; did you mean '-Wshift-overflow'? [-Wunknown-warning-option]
> > >> warning: unknown warning option '-Wformat-truncation' [-Wunknown-warning-option]
> > >> warning: unknown warning option '-Wstringop-overflow'; did you mean '-Wshift-overflow'? [-Wunknown-warning-option]
> > arch/x86/um/user-offsets.c:17:6: warning: no previous prototype for function 'foo' [-Wmissing-prototypes]
> > 17 | void foo(void)
> > | ^
> > arch/x86/um/user-offsets.c:17:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
> > 17 | void foo(void)
> > | ^
> > | static
> > 5 warnings generated.
> > error: unknown warning option '-Wrestrict' [-Werror,-Wunknown-warning-option]
> > error: unknown warning option '-Wformat-overflow'; did you mean '-Wshift-overflow'? [-Werror,-Wunknown-warning-option]
> > error: unknown warning option '-Wformat-truncation' [-Werror,-Wunknown-warning-option]
> > error: unknown warning option '-Wstringop-overflow'; did you mean '-Wshift-overflow'? [-Werror,-Wunknown-warning-option]
> > make[2]: *** [scripts/Makefile.build:252: scripts/mod/empty.o] Error 1
> > error: unknown warning option '-Wrestrict' [-Werror,-Wunknown-warning-option]
> > error: unknown warning option '-Wformat-overflow'; did you mean '-Wshift-overflow'? [-Werror,-Wunknown-warning-option]
> > error: unknown warning option '-Wformat-truncation' [-Werror,-Wunknown-warning-option]
> > error: unknown warning option '-Wstringop-overflow'; did you mean '-Wshift-overflow'? [-Werror,-Wunknown-warning-option]
> > make[2]: *** [scripts/Makefile.build:114: scripts/mod/devicetable-offsets.s] Error 1
> > make[2]: Target 'scripts/mod/' not remade because of errors.
> > make[1]: *** [Makefile:1286: prepare0] Error 2
> > make[1]: Target 'prepare' not remade because of errors.
> > make: *** [Makefile:226: __sub-make] Error 2
> > make: Target 'prepare' not remade because of errors.
> >
> > --
> > 0-DAY CI Kernel Test Service
> > https://github.com/intel/lkp-tests/wiki
> >
>
--
Thanks,
~Nick Desaulniers
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-09-19 20:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-19 14:40 warning: unknown warning option '-Wrestrict' kernel test robot
2023-09-19 14:55 ` Philip Li
2023-09-19 20:05 ` Nick Desaulniers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox