lkml.org 
[lkml]   [2021]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[kees:for-next/kspp 13/28] include/linux/compiler-gcc.h:44: warning: "__compiletime_warning" redefined
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git for-next/kspp
head: 420d688ff2971effafecef9d57af4854dd4d8618
commit: 0fc9374deb676160f02b41b456001cdc86a153e9 [13/28] compiler_types.h: Remove __compiletime_object_size()
config: um-x86_64_defconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git/commit/?id=0fc9374deb676160f02b41b456001cdc86a153e9
git remote add kees https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git
git fetch --no-tags kees for-next/kspp
git checkout 0fc9374deb676160f02b41b456001cdc86a153e9
# save the attached .config to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=um SUBARCH=x86_64 prepare

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

In file included from include/linux/compiler_types.h:85,
from <command-line>:
>> include/linux/compiler-gcc.h:44: warning: "__compiletime_warning" redefined
44 | #define __compiletime_warning(message) __attribute__((__warning__(message)))
|
In file included from include/linux/compiler_types.h:65,
from <command-line>:
include/linux/compiler_attributes.h:297: note: this is the location of the previous definition
297 | # define __compiletime_warning(msg) __attribute__((__warning__(msg)))
|
In file included from include/linux/compiler_types.h:85,
from <command-line>:
>> include/linux/compiler-gcc.h:45: warning: "__compiletime_error" redefined
45 | #define __compiletime_error(message) __attribute__((__error__(message)))
|
In file included from include/linux/compiler_types.h:65,
from <command-line>:
include/linux/compiler_attributes.h:125: note: this is the location of the previous definition
125 | # define __compiletime_error(msg) __attribute__((__error__(msg)))
|
--
In file included from include/linux/compiler_types.h:85,
from <command-line>:
>> include/linux/compiler-gcc.h:44: warning: "__compiletime_warning" redefined
44 | #define __compiletime_warning(message) __attribute__((__warning__(message)))
|
In file included from include/linux/compiler_types.h:65,
from <command-line>:
include/linux/compiler_attributes.h:297: note: this is the location of the previous definition
297 | # define __compiletime_warning(msg) __attribute__((__warning__(msg)))
|
In file included from include/linux/compiler_types.h:85,
from <command-line>:
>> include/linux/compiler-gcc.h:45: warning: "__compiletime_error" redefined
45 | #define __compiletime_error(message) __attribute__((__error__(message)))
|
In file included from include/linux/compiler_types.h:65,
from <command-line>:
include/linux/compiler_attributes.h:125: note: this is the location of the previous definition
125 | # define __compiletime_error(msg) __attribute__((__error__(msg)))
|
In file included from arch/um/kernel/asm-offsets.c:1:
arch/x86/um/shared/sysdep/kernel-offsets.h:9:6: warning: no previous prototype for 'foo' [-Wmissing-prototypes]
9 | void foo(void)
| ^~~
--
arch/x86/um/user-offsets.c:18:6: warning: no previous prototype for 'foo' [-Wmissing-prototypes]
18 | void foo(void)
| ^~~
arch/x86/um/Makefile:44: FORCE prerequisite is missing
In file included from include/linux/compiler_types.h:85,
from <command-line>:
>> include/linux/compiler-gcc.h:44: warning: "__compiletime_warning" redefined
44 | #define __compiletime_warning(message) __attribute__((__warning__(message)))
|
In file included from include/linux/compiler_types.h:65,
from <command-line>:
include/linux/compiler_attributes.h:297: note: this is the location of the previous definition
297 | # define __compiletime_warning(msg) __attribute__((__warning__(msg)))
|
In file included from include/linux/compiler_types.h:85,
from <command-line>:
>> include/linux/compiler-gcc.h:45: warning: "__compiletime_error" redefined
45 | #define __compiletime_error(message) __attribute__((__error__(message)))
|
In file included from include/linux/compiler_types.h:65,
from <command-line>:
include/linux/compiler_attributes.h:125: note: this is the location of the previous definition
125 | # define __compiletime_error(msg) __attribute__((__error__(msg)))
|
In file included from include/linux/compiler_types.h:85,
from <command-line>:
>> include/linux/compiler-gcc.h:44: warning: "__compiletime_warning" redefined
44 | #define __compiletime_warning(message) __attribute__((__warning__(message)))
|
In file included from include/linux/compiler_types.h:65,
from <command-line>:
include/linux/compiler_attributes.h:297: note: this is the location of the previous definition
297 | # define __compiletime_warning(msg) __attribute__((__warning__(msg)))
|
In file included from include/linux/compiler_types.h:85,
from <command-line>:
>> include/linux/compiler-gcc.h:45: warning: "__compiletime_error" redefined
45 | #define __compiletime_error(message) __attribute__((__error__(message)))
|
In file included from include/linux/compiler_types.h:65,
from <command-line>:
include/linux/compiler_attributes.h:125: note: this is the location of the previous definition
125 | # define __compiletime_error(msg) __attribute__((__error__(msg)))
|
In file included from include/linux/compiler_types.h:85,
from <command-line>:
>> include/linux/compiler-gcc.h:44: warning: "__compiletime_warning" redefined
44 | #define __compiletime_warning(message) __attribute__((__warning__(message)))
|
In file included from include/linux/compiler_types.h:65,
from <command-line>:
include/linux/compiler_attributes.h:297: note: this is the location of the previous definition
297 | # define __compiletime_warning(msg) __attribute__((__warning__(msg)))
|
In file included from include/linux/compiler_types.h:85,
from <command-line>:
>> include/linux/compiler-gcc.h:45: warning: "__compiletime_error" redefined
45 | #define __compiletime_error(message) __attribute__((__error__(message)))
|
In file included from include/linux/compiler_types.h:65,
from <command-line>:
include/linux/compiler_attributes.h:125: note: this is the location of the previous definition
125 | # define __compiletime_error(msg) __attribute__((__error__(msg)))
|
In file included from include/linux/compiler_types.h:85,
from <command-line>:
>> include/linux/compiler-gcc.h:44: warning: "__compiletime_warning" redefined
44 | #define __compiletime_warning(message) __attribute__((__warning__(message)))
|
In file included from include/linux/compiler_types.h:65,
from <command-line>:
include/linux/compiler_attributes.h:297: note: this is the location of the previous definition
297 | # define __compiletime_warning(msg) __attribute__((__warning__(msg)))
|
In file included from include/linux/compiler_types.h:85,
from <command-line>:
>> include/linux/compiler-gcc.h:45: warning: "__compiletime_error" redefined
45 | #define __compiletime_error(message) __attribute__((__error__(message)))
|
In file included from include/linux/compiler_types.h:65,
from <command-line>:
include/linux/compiler_attributes.h:125: note: this is the location of the previous definition
125 | # define __compiletime_error(msg) __attribute__((__error__(msg)))
|
In file included from arch/um/kernel/asm-offsets.c:1:
arch/x86/um/shared/sysdep/kernel-offsets.h:9:6: warning: no previous prototype for 'foo' [-Wmissing-prototypes]
9 | void foo(void)
| ^~~
In file included from include/linux/compiler_types.h:85,
from <command-line>:
>> include/linux/compiler-gcc.h:44: warning: "__compiletime_warning" redefined
44 | #define __compiletime_warning(message) __attribute__((__warning__(message)))
|
In file included from include/linux/compiler_types.h:65,
from <command-line>:
include/linux/compiler_attributes.h:297: note: this is the location of the previous definition
297 | # define __compiletime_warning(msg) __attribute__((__warning__(msg)))
|
In file included from include/linux/compiler_types.h:85,
from <command-line>:
>> include/linux/compiler-gcc.h:45: warning: "__compiletime_error" redefined
45 | #define __compiletime_error(message) __attribute__((__error__(message)))
|
In file included from include/linux/compiler_types.h:65,
from <command-line>:
include/linux/compiler_attributes.h:125: note: this is the location of the previous definition
125 | # define __compiletime_error(msg) __attribute__((__error__(msg)))
|
--
arch/x86/um/user-offsets.c:18:6: warning: no previous prototype for 'foo' [-Wmissing-prototypes]
18 | void foo(void)
| ^~~
arch/x86/um/Makefile:44: FORCE prerequisite is missing
In file included from include/linux/compiler_types.h:85,
from <command-line>:
>> include/linux/compiler-gcc.h:44: warning: "__compiletime_warning" redefined
44 | #define __compiletime_warning(message) __attribute__((__warning__(message)))
|
In file included from include/linux/compiler_types.h:65,
from <command-line>:
include/linux/compiler_attributes.h:297: note: this is the location of the previous definition
297 | # define __compiletime_warning(msg) __attribute__((__warning__(msg)))
|
In file included from include/linux/compiler_types.h:85,
from <command-line>:
>> include/linux/compiler-gcc.h:45: warning: "__compiletime_error" redefined
45 | #define __compiletime_error(message) __attribute__((__error__(message)))
|
In file included from include/linux/compiler_types.h:65,
from <command-line>:
include/linux/compiler_attributes.h:125: note: this is the location of the previous definition
125 | # define __compiletime_error(msg) __attribute__((__error__(msg)))
|
In file included from include/linux/compiler_types.h:85,
from <command-line>:
>> include/linux/compiler-gcc.h:44: warning: "__compiletime_warning" redefined
44 | #define __compiletime_warning(message) __attribute__((__warning__(message)))
|
In file included from include/linux/compiler_types.h:65,
from <command-line>:
include/linux/compiler_attributes.h:297: note: this is the location of the previous definition
297 | # define __compiletime_warning(msg) __attribute__((__warning__(msg)))
|
In file included from include/linux/compiler_types.h:85,
from <command-line>:
>> include/linux/compiler-gcc.h:45: warning: "__compiletime_error" redefined
45 | #define __compiletime_error(message) __attribute__((__error__(message)))
|
In file included from include/linux/compiler_types.h:65,
from <command-line>:
include/linux/compiler_attributes.h:125: note: this is the location of the previous definition
125 | # define __compiletime_error(msg) __attribute__((__error__(msg)))
|
In file included from include/linux/compiler_types.h:85,
from <command-line>:
>> include/linux/compiler-gcc.h:44: warning: "__compiletime_warning" redefined
44 | #define __compiletime_warning(message) __attribute__((__warning__(message)))
|
In file included from include/linux/compiler_types.h:65,
from <command-line>:
include/linux/compiler_attributes.h:297: note: this is the location of the previous definition
297 | # define __compiletime_warning(msg) __attribute__((__warning__(msg)))
|
In file included from include/linux/compiler_types.h:85,
from <command-line>:
>> include/linux/compiler-gcc.h:45: warning: "__compiletime_error" redefined
45 | #define __compiletime_error(message) __attribute__((__error__(message)))
|
In file included from include/linux/compiler_types.h:65,
from <command-line>:
include/linux/compiler_attributes.h:125: note: this is the location of the previous definition
125 | # define __compiletime_error(msg) __attribute__((__error__(msg)))
|
In file included from include/linux/compiler_types.h:85,
from <command-line>:
>> include/linux/compiler-gcc.h:44: warning: "__compiletime_warning" redefined
44 | #define __compiletime_warning(message) __attribute__((__warning__(message)))
|
In file included from include/linux/compiler_types.h:65,
from <command-line>:
include/linux/compiler_attributes.h:297: note: this is the location of the previous definition
297 | # define __compiletime_warning(msg) __attribute__((__warning__(msg)))
|
In file included from include/linux/compiler_types.h:85,
from <command-line>:
>> include/linux/compiler-gcc.h:45: warning: "__compiletime_error" redefined
45 | #define __compiletime_error(message) __attribute__((__error__(message)))
|
In file included from include/linux/compiler_types.h:65,
from <command-line>:
include/linux/compiler_attributes.h:125: note: this is the location of the previous definition
125 | # define __compiletime_error(msg) __attribute__((__error__(msg)))
|
In file included from arch/um/kernel/asm-offsets.c:1:
arch/x86/um/shared/sysdep/kernel-offsets.h:9:6: warning: no previous prototype for 'foo' [-Wmissing-prototypes]
9 | void foo(void)
| ^~~
In file included from include/linux/compiler_types.h:85,
from <command-line>:
>> include/linux/compiler-gcc.h:44: warning: "__compiletime_warning" redefined
44 | #define __compiletime_warning(message) __attribute__((__warning__(message)))
|
In file included from include/linux/compiler_types.h:65,
from <command-line>:
include/linux/compiler_attributes.h:297: note: this is the location of the previous definition
297 | # define __compiletime_warning(msg) __attribute__((__warning__(msg)))
|
In file included from include/linux/compiler_types.h:85,
from <command-line>:
>> include/linux/compiler-gcc.h:45: warning: "__compiletime_error" redefined
45 | #define __compiletime_error(message) __attribute__((__error__(message)))
|
In file included from include/linux/compiler_types.h:65,
from <command-line>:
include/linux/compiler_attributes.h:125: note: this is the location of the previous definition
125 | # define __compiletime_error(msg) __attribute__((__error__(msg)))
|


vim +/__compiletime_warning +44 include/linux/compiler-gcc.h

43
> 44 #define __compiletime_warning(message) __attribute__((__warning__(message)))
> 45 #define __compiletime_error(message) __attribute__((__error__(message)))
46

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2021-09-15 20:52    [W:0.065 / U:0.684 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site