lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 29 Jul 2020 11:56:45 +1000
From:   Stephen Rothwell <sfr@...b.auug.org.au>
To:     Al Viro <viro@...IV.linux.org.uk>
Cc:     Linux Next Mailing List <linux-next@...r.kernel.org>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        Christoph Hellwig <hch@....de>
Subject: linux-next: build failure after merge of the vfs tree

Hi all,

After merging the vfs tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

In file included from <command-line>:
In function 'signal_compat_build_tests',
    inlined from 'sigaction_compat_abi' at arch/x86/kernel/signal_compat.c:166:2:
include/linux/compiler_types.h:313:38: error: call to '__compiletime_assert_980' declared with attribute error: BUILD_BUG_ON failed: sizeof(compat_siginfo_t) != 128
  313 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |                                      ^
include/linux/compiler_types.h:294:4: note: in definition of macro '__compiletime_assert'
  294 |    prefix ## suffix();    \
      |    ^~~~~~
include/linux/compiler_types.h:313:2: note: in expansion of macro '_compiletime_assert'
  313 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |  ^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
   39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
      |                                     ^~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
   50 |  BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
      |  ^~~~~~~~~~~~~~~~
arch/x86/kernel/signal_compat.c:37:2: note: in expansion of macro 'BUILD_BUG_ON'
   37 |  BUILD_BUG_ON(sizeof(compat_siginfo_t) != 128);
      |  ^~~~~~~~~~~~
include/linux/compiler_types.h:313:38: error: call to '__compiletime_assert_981' declared with attribute error: BUILD_BUG_ON failed: offsetof(compat_siginfo_t, _sifields) != 3 * sizeof(int)
  313 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |                                      ^
include/linux/compiler_types.h:294:4: note: in definition of macro '__compiletime_assert'
  294 |    prefix ## suffix();    \
      |    ^~~~~~
include/linux/compiler_types.h:313:2: note: in expansion of macro '_compiletime_assert'
  313 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |  ^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
   39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
      |                                     ^~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
   50 |  BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
      |  ^~~~~~~~~~~~~~~~
arch/x86/kernel/signal_compat.c:43:2: note: in expansion of macro 'BUILD_BUG_ON'
   43 |  BUILD_BUG_ON(offsetof(compat_siginfo_t, _sifields) != 3 * sizeof(int));
      |  ^~~~~~~~~~~~
include/linux/compiler_types.h:313:38: error: call to '__compiletime_assert_993' declared with attribute error: BUILD_BUG_ON failed: offsetof(compat_siginfo_t, si_pid) != 0xC
  313 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |                                      ^
include/linux/compiler_types.h:294:4: note: in definition of macro '__compiletime_assert'
  294 |    prefix ## suffix();    \
      |    ^~~~~~
include/linux/compiler_types.h:313:2: note: in expansion of macro '_compiletime_assert'
  313 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |  ^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
   39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
      |                                     ^~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
   50 |  BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
      |  ^~~~~~~~~~~~~~~~
arch/x86/kernel/signal_compat.c:75:2: note: in expansion of macro 'BUILD_BUG_ON'
   75 |  BUILD_BUG_ON(offsetof(compat_siginfo_t, si_pid) != 0xC);
      |  ^~~~~~~~~~~~
include/linux/compiler_types.h:313:38: error: call to '__compiletime_assert_994' declared with attribute error: BUILD_BUG_ON failed: offsetof(compat_siginfo_t, si_uid) != 0x10
  313 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |                                      ^
include/linux/compiler_types.h:294:4: note: in definition of macro '__compiletime_assert'
  294 |    prefix ## suffix();    \
      |    ^~~~~~
include/linux/compiler_types.h:313:2: note: in expansion of macro '_compiletime_assert'
  313 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |  ^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
   39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
      |                                     ^~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
   50 |  BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
      |  ^~~~~~~~~~~~~~~~
arch/x86/kernel/signal_compat.c:76:2: note: in expansion of macro 'BUILD_BUG_ON'
   76 |  BUILD_BUG_ON(offsetof(compat_siginfo_t, si_uid) != 0x10);
      |  ^~~~~~~~~~~~
include/linux/compiler_types.h:313:38: error: call to '__compiletime_assert_1001' declared with attribute error: BUILD_BUG_ON failed: offsetof(compat_siginfo_t, si_tid) != 0x0C
  313 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |                                      ^
include/linux/compiler_types.h:294:4: note: in definition of macro '__compiletime_assert'
  294 |    prefix ## suffix();    \
      |    ^~~~~~
include/linux/compiler_types.h:313:2: note: in expansion of macro '_compiletime_assert'
  313 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |  ^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
   39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
      |                                     ^~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
   50 |  BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
      |  ^~~~~~~~~~~~~~~~
arch/x86/kernel/signal_compat.c:85:2: note: in expansion of macro 'BUILD_BUG_ON'
   85 |  BUILD_BUG_ON(offsetof(compat_siginfo_t, si_tid)     != 0x0C);
      |  ^~~~~~~~~~~~
include/linux/compiler_types.h:313:38: error: call to '__compiletime_assert_1002' declared with attribute error: BUILD_BUG_ON failed: offsetof(compat_siginfo_t, si_overrun) != 0x10
  313 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |                                      ^
include/linux/compiler_types.h:294:4: note: in definition of macro '__compiletime_assert'
  294 |    prefix ## suffix();    \
      |    ^~~~~~
include/linux/compiler_types.h:313:2: note: in expansion of macro '_compiletime_assert'
  313 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |  ^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
   39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
      |                                     ^~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
   50 |  BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
      |  ^~~~~~~~~~~~~~~~
arch/x86/kernel/signal_compat.c:86:2: note: in expansion of macro 'BUILD_BUG_ON'
   86 |  BUILD_BUG_ON(offsetof(compat_siginfo_t, si_overrun) != 0x10);
      |  ^~~~~~~~~~~~
include/linux/compiler_types.h:313:38: error: call to '__compiletime_assert_1003' declared with attribute error: BUILD_BUG_ON failed: offsetof(compat_siginfo_t, si_value) != 0x14
  313 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |                                      ^
include/linux/compiler_types.h:294:4: note: in definition of macro '__compiletime_assert'
  294 |    prefix ## suffix();    \
      |    ^~~~~~
include/linux/compiler_types.h:313:2: note: in expansion of macro '_compiletime_assert'
  313 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |  ^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
   39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
      |                                     ^~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
   50 |  BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
      |  ^~~~~~~~~~~~~~~~
arch/x86/kernel/signal_compat.c:87:2: note: in expansion of macro 'BUILD_BUG_ON'
   87 |  BUILD_BUG_ON(offsetof(compat_siginfo_t, si_value)   != 0x14);
      |  ^~~~~~~~~~~~
include/linux/compiler_types.h:313:38: error: call to '__compiletime_assert_1010' declared with attribute error: BUILD_BUG_ON failed: offsetof(compat_siginfo_t, si_pid) != 0x0C
  313 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |                                      ^
include/linux/compiler_types.h:294:4: note: in definition of macro '__compiletime_assert'
  294 |    prefix ## suffix();    \
      |    ^~~~~~
include/linux/compiler_types.h:313:2: note: in expansion of macro '_compiletime_assert'
  313 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |  ^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
   39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
      |                                     ^~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
   50 |  BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
      |  ^~~~~~~~~~~~~~~~
arch/x86/kernel/signal_compat.c:96:2: note: in expansion of macro 'BUILD_BUG_ON'
   96 |  BUILD_BUG_ON(offsetof(compat_siginfo_t, si_pid)   != 0x0C);
      |  ^~~~~~~~~~~~
include/linux/compiler_types.h:313:38: error: call to '__compiletime_assert_1011' declared with attribute error: BUILD_BUG_ON failed: offsetof(compat_siginfo_t, si_uid) != 0x10
  313 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |                                      ^
include/linux/compiler_types.h:294:4: note: in definition of macro '__compiletime_assert'
  294 |    prefix ## suffix();    \
      |    ^~~~~~
include/linux/compiler_types.h:313:2: note: in expansion of macro '_compiletime_assert'
  313 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |  ^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
   39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
      |                                     ^~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
   50 |  BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
      |  ^~~~~~~~~~~~~~~~
arch/x86/kernel/signal_compat.c:97:2: note: in expansion of macro 'BUILD_BUG_ON'
   97 |  BUILD_BUG_ON(offsetof(compat_siginfo_t, si_uid)   != 0x10);
      |  ^~~~~~~~~~~~
include/linux/compiler_types.h:313:38: error: call to '__compiletime_assert_1012' declared with attribute error: BUILD_BUG_ON failed: offsetof(compat_siginfo_t, si_value) != 0x14
  313 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |                                      ^
include/linux/compiler_types.h:294:4: note: in definition of macro '__compiletime_assert'
  294 |    prefix ## suffix();    \
      |    ^~~~~~
include/linux/compiler_types.h:313:2: note: in expansion of macro '_compiletime_assert'
  313 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |  ^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
   39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
      |                                     ^~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
   50 |  BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
      |  ^~~~~~~~~~~~~~~~
arch/x86/kernel/signal_compat.c:98:2: note: in expansion of macro 'BUILD_BUG_ON'
   98 |  BUILD_BUG_ON(offsetof(compat_siginfo_t, si_value) != 0x14);
      |  ^~~~~~~~~~~~
include/linux/compiler_types.h:313:38: error: call to '__compiletime_assert_1021' declared with attribute error: BUILD_BUG_ON failed: offsetof(compat_siginfo_t, si_pid) != 0x0C
  313 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |                                      ^
include/linux/compiler_types.h:294:4: note: in definition of macro '__compiletime_assert'
  294 |    prefix ## suffix();    \
      |    ^~~~~~
include/linux/compiler_types.h:313:2: note: in expansion of macro '_compiletime_assert'
  313 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |  ^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
   39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
      |                                     ^~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
   50 |  BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
      |  ^~~~~~~~~~~~~~~~
arch/x86/kernel/signal_compat.c:109:2: note: in expansion of macro 'BUILD_BUG_ON'
  109 |  BUILD_BUG_ON(offsetof(compat_siginfo_t, si_pid)    != 0x0C);
      |  ^~~~~~~~~~~~
include/linux/compiler_types.h:313:38: error: call to '__compiletime_assert_1022' declared with attribute error: BUILD_BUG_ON failed: offsetof(compat_siginfo_t, si_uid) != 0x10
  313 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |                                      ^
include/linux/compiler_types.h:294:4: note: in definition of macro '__compiletime_assert'
  294 |    prefix ## suffix();    \
      |    ^~~~~~
include/linux/compiler_types.h:313:2: note: in expansion of macro '_compiletime_assert'
  313 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |  ^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
   39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
      |                                     ^~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
   50 |  BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
      |  ^~~~~~~~~~~~~~~~
arch/x86/kernel/signal_compat.c:110:2: note: in expansion of macro 'BUILD_BUG_ON'
  110 |  BUILD_BUG_ON(offsetof(compat_siginfo_t, si_uid)    != 0x10);
      |  ^~~~~~~~~~~~
include/linux/compiler_types.h:313:38: error: call to '__compiletime_assert_1023' declared with attribute error: BUILD_BUG_ON failed: offsetof(compat_siginfo_t, si_status) != 0x14
  313 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |                                      ^
include/linux/compiler_types.h:294:4: note: in definition of macro '__compiletime_assert'
  294 |    prefix ## suffix();    \
      |    ^~~~~~
include/linux/compiler_types.h:313:2: note: in expansion of macro '_compiletime_assert'
  313 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |  ^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
   39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
      |                                     ^~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
   50 |  BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
      |  ^~~~~~~~~~~~~~~~
arch/x86/kernel/signal_compat.c:111:2: note: in expansion of macro 'BUILD_BUG_ON'
  111 |  BUILD_BUG_ON(offsetof(compat_siginfo_t, si_status) != 0x14);
      |  ^~~~~~~~~~~~
include/linux/compiler_types.h:313:38: error: call to '__compiletime_assert_1024' declared with attribute error: BUILD_BUG_ON failed: offsetof(compat_siginfo_t, si_utime) != 0x18
  313 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |                                      ^
include/linux/compiler_types.h:294:4: note: in definition of macro '__compiletime_assert'
  294 |    prefix ## suffix();    \
      |    ^~~~~~
include/linux/compiler_types.h:313:2: note: in expansion of macro '_compiletime_assert'
  313 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |  ^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
   39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
      |                                     ^~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
   50 |  BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
      |  ^~~~~~~~~~~~~~~~
arch/x86/kernel/signal_compat.c:112:2: note: in expansion of macro 'BUILD_BUG_ON'
  112 |  BUILD_BUG_ON(offsetof(compat_siginfo_t, si_utime)  != 0x18);
      |  ^~~~~~~~~~~~
include/linux/compiler_types.h:313:38: error: call to '__compiletime_assert_1025' declared with attribute error: BUILD_BUG_ON failed: offsetof(compat_siginfo_t, si_stime) != 0x1C
  313 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |                                      ^
include/linux/compiler_types.h:294:4: note: in definition of macro '__compiletime_assert'
  294 |    prefix ## suffix();    \
      |    ^~~~~~
include/linux/compiler_types.h:313:2: note: in expansion of macro '_compiletime_assert'
  313 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |  ^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
   39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
      |                                     ^~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
   50 |  BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
      |  ^~~~~~~~~~~~~~~~
arch/x86/kernel/signal_compat.c:113:2: note: in expansion of macro 'BUILD_BUG_ON'
  113 |  BUILD_BUG_ON(offsetof(compat_siginfo_t, si_stime)  != 0x1C);
      |  ^~~~~~~~~~~~
include/linux/compiler_types.h:313:38: error: call to '__compiletime_assert_1027' declared with attribute error: BUILD_BUG_ON failed: 7*sizeof(int) != sizeof(((compat_siginfo_t *)0)->_sifields._sigchld_x32)
  313 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |                                      ^
include/linux/compiler_types.h:294:4: note: in definition of macro '__compiletime_assert'
  294 |    prefix ## suffix();    \
      |    ^~~~~~
include/linux/compiler_types.h:313:2: note: in expansion of macro '_compiletime_assert'
  313 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |  ^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
   39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
      |                                     ^~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
   50 |  BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
      |  ^~~~~~~~~~~~~~~~
arch/x86/kernel/signal_compat.c:66:36: note: in expansion of macro 'BUILD_BUG_ON'
   66 | #define CHECK_CSI_SIZE(name, size) BUILD_BUG_ON(size != sizeof(((compat_siginfo_t *)0)->_sifields.name))
      |                                    ^~~~~~~~~~~~
arch/x86/kernel/signal_compat.c:117:2: note: in expansion of macro 'CHECK_CSI_SIZE'
  117 |  CHECK_CSI_SIZE  (_sigchld_x32, 7*sizeof(int));
      |  ^~~~~~~~~~~~~~
include/linux/compiler_types.h:313:38: error: call to '__compiletime_assert_1028' declared with attribute error: BUILD_BUG_ON failed: offsetof(compat_siginfo_t, _sifields._sigchld_x32._utime) != 0x18
  313 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |                                      ^
include/linux/compiler_types.h:294:4: note: in definition of macro '__compiletime_assert'
  294 |    prefix ## suffix();    \
      |    ^~~~~~
include/linux/compiler_types.h:313:2: note: in expansion of macro '_compiletime_assert'
  313 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |  ^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
   39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
      |                                     ^~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
   50 |  BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
      |  ^~~~~~~~~~~~~~~~
arch/x86/kernel/signal_compat.c:119:2: note: in expansion of macro 'BUILD_BUG_ON'
  119 |  BUILD_BUG_ON(offsetof(compat_siginfo_t, _sifields._sigchld_x32._utime)  != 0x18);
      |  ^~~~~~~~~~~~
include/linux/compiler_types.h:313:38: error: call to '__compiletime_assert_1029' declared with attribute error: BUILD_BUG_ON failed: offsetof(compat_siginfo_t, _sifields._sigchld_x32._stime) != 0x20
  313 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |                                      ^
include/linux/compiler_types.h:294:4: note: in definition of macro '__compiletime_assert'
  294 |    prefix ## suffix();    \
      |    ^~~~~~
include/linux/compiler_types.h:313:2: note: in expansion of macro '_compiletime_assert'
  313 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |  ^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
   39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
      |                                     ^~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
   50 |  BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
      |  ^~~~~~~~~~~~~~~~
arch/x86/kernel/signal_compat.c:120:2: note: in expansion of macro 'BUILD_BUG_ON'
  120 |  BUILD_BUG_ON(offsetof(compat_siginfo_t, _sifields._sigchld_x32._stime)  != 0x20);
      |  ^~~~~~~~~~~~
include/linux/compiler_types.h:313:38: error: call to '__compiletime_assert_1034' declared with attribute error: BUILD_BUG_ON failed: offsetof(compat_siginfo_t, si_addr) != 0x0C
  313 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |                                      ^
include/linux/compiler_types.h:294:4: note: in definition of macro '__compiletime_assert'
  294 |    prefix ## suffix();    \
      |    ^~~~~~
include/linux/compiler_types.h:313:2: note: in expansion of macro '_compiletime_assert'
  313 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |  ^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
   39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
      |                                     ^~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
   50 |  BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
      |  ^~~~~~~~~~~~~~~~
arch/x86/kernel/signal_compat.c:128:2: note: in expansion of macro 'BUILD_BUG_ON'
  128 |  BUILD_BUG_ON(offsetof(compat_siginfo_t, si_addr) != 0x0C);
      |  ^~~~~~~~~~~~
include/linux/compiler_types.h:313:38: error: call to '__compiletime_assert_1036' declared with attribute error: BUILD_BUG_ON failed: offsetof(compat_siginfo_t, si_addr_lsb) != 0x10
  313 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |                                      ^
include/linux/compiler_types.h:294:4: note: in definition of macro '__compiletime_assert'
  294 |    prefix ## suffix();    \
      |    ^~~~~~
include/linux/compiler_types.h:313:2: note: in expansion of macro '_compiletime_assert'
  313 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |  ^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
   39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
      |                                     ^~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
   50 |  BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
      |  ^~~~~~~~~~~~~~~~
arch/x86/kernel/signal_compat.c:131:2: note: in expansion of macro 'BUILD_BUG_ON'
  131 |  BUILD_BUG_ON(offsetof(compat_siginfo_t, si_addr_lsb) != 0x10);
      |  ^~~~~~~~~~~~
include/linux/compiler_types.h:313:38: error: call to '__compiletime_assert_1039' declared with attribute error: BUILD_BUG_ON failed: offsetof(compat_siginfo_t, si_lower) != 0x14
  313 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |                                      ^
include/linux/compiler_types.h:294:4: note: in definition of macro '__compiletime_assert'
  294 |    prefix ## suffix();    \
      |    ^~~~~~
include/linux/compiler_types.h:313:2: note: in expansion of macro '_compiletime_assert'
  313 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |  ^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
   39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
      |                                     ^~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
   50 |  BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
      |  ^~~~~~~~~~~~~~~~
arch/x86/kernel/signal_compat.c:135:2: note: in expansion of macro 'BUILD_BUG_ON'
  135 |  BUILD_BUG_ON(offsetof(compat_siginfo_t, si_lower) != 0x14);
      |  ^~~~~~~~~~~~
include/linux/compiler_types.h:313:38: error: call to '__compiletime_assert_1040' declared with attribute error: BUILD_BUG_ON failed: offsetof(compat_siginfo_t, si_upper) != 0x18
  313 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |                                      ^
include/linux/compiler_types.h:294:4: note: in definition of macro '__compiletime_assert'
  294 |    prefix ## suffix();    \
      |    ^~~~~~
include/linux/compiler_types.h:313:2: note: in expansion of macro '_compiletime_assert'
  313 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |  ^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
   39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
      |                                     ^~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
   50 |  BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
      |  ^~~~~~~~~~~~~~~~
arch/x86/kernel/signal_compat.c:136:2: note: in expansion of macro 'BUILD_BUG_ON'
  136 |  BUILD_BUG_ON(offsetof(compat_siginfo_t, si_upper) != 0x18);
      |  ^~~~~~~~~~~~
include/linux/compiler_types.h:313:38: error: call to '__compiletime_assert_1042' declared with attribute error: BUILD_BUG_ON failed: offsetof(compat_siginfo_t, si_pkey) != 0x14
  313 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |                                      ^
include/linux/compiler_types.h:294:4: note: in definition of macro '__compiletime_assert'
  294 |    prefix ## suffix();    \
      |    ^~~~~~
include/linux/compiler_types.h:313:2: note: in expansion of macro '_compiletime_assert'
  313 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |  ^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
   39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
      |                                     ^~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
   50 |  BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
      |  ^~~~~~~~~~~~~~~~
arch/x86/kernel/signal_compat.c:139:2: note: in expansion of macro 'BUILD_BUG_ON'
  139 |  BUILD_BUG_ON(offsetof(compat_siginfo_t, si_pkey) != 0x14);
      |  ^~~~~~~~~~~~
include/linux/compiler_types.h:313:38: error: call to '__compiletime_assert_1048' declared with attribute error: BUILD_BUG_ON failed: offsetof(compat_siginfo_t, si_band) != 0x0C
  313 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |                                      ^
include/linux/compiler_types.h:294:4: note: in definition of macro '__compiletime_assert'
  294 |    prefix ## suffix();    \
      |    ^~~~~~
include/linux/compiler_types.h:313:2: note: in expansion of macro '_compiletime_assert'
  313 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |  ^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
   39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
      |                                     ^~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
   50 |  BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
      |  ^~~~~~~~~~~~~~~~
arch/x86/kernel/signal_compat.c:147:2: note: in expansion of macro 'BUILD_BUG_ON'
  147 |  BUILD_BUG_ON(offsetof(compat_siginfo_t, si_band) != 0x0C);
      |  ^~~~~~~~~~~~
include/linux/compiler_types.h:313:38: error: call to '__compiletime_assert_1049' declared with attribute error: BUILD_BUG_ON failed: offsetof(compat_siginfo_t, si_fd) != 0x10
  313 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |                                      ^
include/linux/compiler_types.h:294:4: note: in definition of macro '__compiletime_assert'
  294 |    prefix ## suffix();    \
      |    ^~~~~~
include/linux/compiler_types.h:313:2: note: in expansion of macro '_compiletime_assert'
  313 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |  ^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
   39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
      |                                     ^~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
   50 |  BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
      |  ^~~~~~~~~~~~~~~~
arch/x86/kernel/signal_compat.c:148:2: note: in expansion of macro 'BUILD_BUG_ON'
  148 |  BUILD_BUG_ON(offsetof(compat_siginfo_t, si_fd)   != 0x10);
      |  ^~~~~~~~~~~~
include/linux/compiler_types.h:313:38: error: call to '__compiletime_assert_1056' declared with attribute error: BUILD_BUG_ON failed: offsetof(compat_siginfo_t, si_call_addr) != 0x0C
  313 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |                                      ^
include/linux/compiler_types.h:294:4: note: in definition of macro '__compiletime_assert'
  294 |    prefix ## suffix();    \
      |    ^~~~~~
include/linux/compiler_types.h:313:2: note: in expansion of macro '_compiletime_assert'
  313 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |  ^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
   39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
      |                                     ^~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
   50 |  BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
      |  ^~~~~~~~~~~~~~~~
arch/x86/kernel/signal_compat.c:157:2: note: in expansion of macro 'BUILD_BUG_ON'
  157 |  BUILD_BUG_ON(offsetof(compat_siginfo_t, si_call_addr) != 0x0C);
      |  ^~~~~~~~~~~~
include/linux/compiler_types.h:313:38: error: call to '__compiletime_assert_1057' declared with attribute error: BUILD_BUG_ON failed: offsetof(compat_siginfo_t, si_syscall) != 0x10
  313 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |                                      ^
include/linux/compiler_types.h:294:4: note: in definition of macro '__compiletime_assert'
  294 |    prefix ## suffix();    \
      |    ^~~~~~
include/linux/compiler_types.h:313:2: note: in expansion of macro '_compiletime_assert'
  313 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |  ^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
   39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
      |                                     ^~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
   50 |  BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
      |  ^~~~~~~~~~~~~~~~
arch/x86/kernel/signal_compat.c:158:2: note: in expansion of macro 'BUILD_BUG_ON'
  158 |  BUILD_BUG_ON(offsetof(compat_siginfo_t, si_syscall)   != 0x10);
      |  ^~~~~~~~~~~~
include/linux/compiler_types.h:313:38: error: call to '__compiletime_assert_1058' declared with attribute error: BUILD_BUG_ON failed: offsetof(compat_siginfo_t, si_arch) != 0x14
  313 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |                                      ^
include/linux/compiler_types.h:294:4: note: in definition of macro '__compiletime_assert'
  294 |    prefix ## suffix();    \
      |    ^~~~~~
include/linux/compiler_types.h:313:2: note: in expansion of macro '_compiletime_assert'
  313 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |  ^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
   39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
      |                                     ^~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
   50 |  BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
      |  ^~~~~~~~~~~~~~~~
arch/x86/kernel/signal_compat.c:159:2: note: in expansion of macro 'BUILD_BUG_ON'
  159 |  BUILD_BUG_ON(offsetof(compat_siginfo_t, si_arch)      != 0x14);
      |  ^~~~~~~~~~~~
kernel/trace/blktrace.c: In function 'blk_trace_ioctl':
kernel/trace/blktrace.c:741:2: error: duplicate case value
  741 |  case BLKTRACESETUP32:
      |  ^~~~
kernel/trace/blktrace.c:736:2: note: previously used here
  736 |  case BLKTRACESETUP:
      |  ^~~~

Caused by commit

  1ef5f0ad8784 ("compat: lift compat_s64 and compat_u64 to <linux/compat.h>")

Missing CONFIG_ prefix on COMPAT_FOR_U64_ALIGNMENT in include/linux/compat.h.

I have used the vfs tree from next-20200728 for today.

-- 
Cheers,
Stephen Rothwell

Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ