linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [kees:for-next/kspp 13/28] include/linux/compiler-gcc.h:44: warning: "__compiletime_warning" redefined
@ 2021-09-15 18:51 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-09-15 18:51 UTC (permalink / raw)
  To: Kees Cook; +Cc: kbuild-all, linux-kernel, Miguel Ojeda

[-- Attachment #1: Type: text/plain, Size: 16141 bytes --]

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 9645 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-09-15 18:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-15 18:51 [kees:for-next/kspp 13/28] include/linux/compiler-gcc.h:44: warning: "__compiletime_warning" redefined kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).