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>] [day] [month] [year] [list]
Date:   Fri, 13 Dec 2019 17:09:16 -0800
From:   "David F." <df7729@...il.com>
To:     linux-kernel <linux-kernel@...r.kernel.org>
Subject: Makefile build failure 5.4..3

Hello,

Building 5.4.3 x64 it completes but I noticed:

 CC [M]  drivers/net/wireless/intel/iwlwifi/iwl-debug.o
In file included from ./include/linux/export.h:42:0,
                 from ./include/linux/linkage.h:7,
                 from ./include/linux/kernel.h:8,
                 from ./include/linux/skbuff.h:13,
                 from ./include/linux/if_ether.h:19,
                 from ./include/linux/etherdevice.h:20,
                 from drivers/net/wireless/mediatek/mt76/mt7615/mac.c:10:
drivers/net/wireless/mediatek/mt76/mt7615/mac.c: In function ‘to_rssi’:
./include/linux/compiler.h:350:38: error: call to
‘__compiletime_assert_18’ declared with attribute error: BUILD_BUG_ON
failed: (((field) + (1ULL << (__builtin_ffsll(field) - 1))) &
(((field) + (1ULL << (__builtin_ffsll(field) - 1))) - 1)) != 0
  _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
                                      ^
./include/linux/compiler.h:331:4: note: in definition of macro
‘__compiletime_assert’
    prefix ## suffix();    \
    ^
./include/linux/compiler.h:350:2: note: in expansion of macro
‘_compiletime_assert’
  _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
  ^
./include/linux/build_bug.h:39:37: note: in expansion of macro
‘compiletime_assert’
 #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
                                     ^
./include/linux/bitfield.h:46:3: note: in expansion of macro ‘BUILD_BUG_ON_MSG’
   BUILD_BUG_ON_MSG(!__builtin_constant_p(_mask),  \
   ^
./include/linux/bitfield.h:95:3: note: in expansion of macro ‘__BF_FIELD_CHECK’
   __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \
   ^
drivers/net/wireless/mediatek/mt76/mt7615/mac.c:18:10: note: in
expansion of macro ‘FIELD_GET’
  return (FIELD_GET(field, rxv) - 220) / 2;
          ^
./include/linux/compiler.h:350:38: error: call to
‘__compiletime_assert_18’ declared with attribute error: BUILD_BUG_ON
failed: (((field) + (1ULL << (__builtin_ffsll(field) - 1))) &
(((field) + (1ULL << (__builtin_ffsll(field) - 1))) - 1)) != 0
  _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
                                      ^
./include/linux/compiler.h:331:4: note: in definition of macro
‘__compiletime_assert’
    prefix ## suffix();    \
    ^
./include/linux/compiler.h:350:2: note: in expansion of macro
‘_compiletime_assert’
  _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
  ^
./include/linux/build_bug.h:39:37: note: in expansion of macro
‘compiletime_assert’
 #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
                                     ^
./include/linux/bitfield.h:48:3: note: in expansion of macro ‘BUILD_BUG_ON_MSG’
   BUILD_BUG_ON_MSG((_mask) == 0, _pfx "mask is zero"); \
   ^
./include/linux/bitfield.h:95:3: note: in expansion of macro ‘__BF_FIELD_CHECK’
   __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \
   ^
drivers/net/wireless/mediatek/mt76/mt7615/mac.c:18:10: note: in
expansion of macro ‘FIELD_GET’
  return (FIELD_GET(field, rxv) - 220) / 2;
          ^
./include/linux/compiler.h:350:38: error: call to
‘__compiletime_assert_18’ declared with attribute error: BUILD_BUG_ON
failed: (((field) + (1ULL << (__builtin_ffsll(field) - 1))) &
(((field) + (1ULL << (__builtin_ffsll(field) - 1))) - 1)) != 0
  _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
                                      ^
./include/linux/compiler.h:331:4: note: in definition of macro
‘__compiletime_assert’
    prefix ## suffix();    \
    ^
./include/linux/compiler.h:350:2: note: in expansion of macro
‘_compiletime_assert’
  _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
  ^
./include/linux/build_bug.h:39:37: note: in expansion of macro
‘compiletime_assert’
 #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’
  BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
  ^
./include/linux/build_bug.h:21:2: note: in expansion of macro ‘BUILD_BUG_ON’
  BUILD_BUG_ON(((n) & ((n) - 1)) != 0)
  ^
./include/linux/bitfield.h:54:3: note: in expansion of macro
‘__BUILD_BUG_ON_NOT_POWER_OF_2’
   __BUILD_BUG_ON_NOT_POWER_OF_2((_mask) +   \
   ^
./include/linux/bitfield.h:95:3: note: in expansion of macro ‘__BF_FIELD_CHECK’
   __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \
   ^
drivers/net/wireless/mediatek/mt76/mt7615/mac.c:18:10: note: in
expansion of macro ‘FIELD_GET’
  return (FIELD_GET(field, rxv) - 220) / 2;
          ^
scripts/Makefile.build:265: recipe for target
'drivers/net/wireless/mediatek/mt76/mt7615/mac.o' failed
make[9]: *** [drivers/net/wireless/mediatek/mt76/mt7615/mac.o] Error 1
scripts/Makefile.build:509: recipe for target
'drivers/net/wireless/mediatek/mt76/mt7615' failed
make[8]: *** [drivers/net/wireless/mediatek/mt76/mt7615] Error 2
scripts/Makefile.build:509: recipe for target
'drivers/net/wireless/mediatek/mt76' failed
make[7]: *** [drivers/net/wireless/mediatek/mt76] Error 2
scripts/Makefile.build:509: recipe for target
'drivers/net/wireless/mediatek' failed
make[6]: *** [drivers/net/wireless/mediatek] Error 2
make[6]: *** Waiting for unfinished jobs....

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ