* [android-common:android16-6.12-2025-12 0/2] include/linux/android_kabi.h:65:17: error: static assertion failed: "include/linux/dma-buf.h:547: u64 __kabi_reserved_backport1 is not aligned the same as atomic64_t nr_task_refs"
@ 2026-08-05 21:26 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-08-05 21:26 UTC (permalink / raw)
To: cros-kernel-buildreports; +Cc: oe-kbuild-all
Hi Mercier,
FYI, the error/warning still remains.
tree: https://android.googlesource.com/kernel/common android16-6.12-2025-12
head: 43cfff9a6e925a92e86e83f67db81659b3c405e5
commit: e24cc2d5218669b7412788d57528059ec6ecee4e [0/2] ANDROID: ABI: refresh, CRC fixups and allowed breaks
config: i386-buildonly-randconfig-001-20260806 (https://download.01.org/0day-ci/archive/20260806/202608060537.iyQfagJS-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260806/202608060537.iyQfagJS-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/202608060537.iyQfagJS-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from include/linux/mmzone.h:8,
from include/linux/gfp.h:7,
from include/linux/mm.h:7,
from mm/slub.c:13:
>> include/linux/android_kabi.h:65:17: error: static assertion failed: "include/linux/dma-buf.h:547: u64 __kabi_reserved_backport1 is not aligned the same as atomic64_t nr_task_refs"
65 | _Static_assert( \
| ^~~~~~~~~~~~~~
include/linux/android_kabi.h:79:17: note: in expansion of macro '_ANDROID_KABI_NORMAL_SIZE_ALIGN'
79 | _ANDROID_KABI_NORMAL_SIZE_ALIGN(_orig, _new); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/android_kabi.h:189:9: note: in expansion of macro '_ANDROID_KABI_REPLACE'
189 | _ANDROID_KABI_REPLACE(ANDROID_BACKPORT_RESERVE(number), _new)
| ^~~~~~~~~~~~~~~~~~~~~
include/linux/dma-buf.h:547:9: note: in expansion of macro 'ANDROID_BACKPORT_USE'
547 | ANDROID_BACKPORT_USE(1, atomic64_t nr_task_refs);
| ^~~~~~~~~~~~~~~~~~~~
--
In file included from include/linux/mmzone.h:8,
from include/linux/gfp.h:7,
from include/linux/mm.h:7,
from mm/page_alloc.c:19:
>> include/linux/android_kabi.h:65:17: error: static assertion failed: "include/linux/dma-buf.h:547: u64 __kabi_reserved_backport1 is not aligned the same as atomic64_t nr_task_refs"
65 | _Static_assert( \
| ^~~~~~~~~~~~~~
include/linux/android_kabi.h:79:17: note: in expansion of macro '_ANDROID_KABI_NORMAL_SIZE_ALIGN'
79 | _ANDROID_KABI_NORMAL_SIZE_ALIGN(_orig, _new); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/android_kabi.h:189:9: note: in expansion of macro '_ANDROID_KABI_REPLACE'
189 | _ANDROID_KABI_REPLACE(ANDROID_BACKPORT_RESERVE(number), _new)
| ^~~~~~~~~~~~~~~~~~~~~
include/linux/dma-buf.h:547:9: note: in expansion of macro 'ANDROID_BACKPORT_USE'
547 | ANDROID_BACKPORT_USE(1, atomic64_t nr_task_refs);
| ^~~~~~~~~~~~~~~~~~~~
mm/page_alloc.c:1831:6: warning: no previous prototype for 'prep_new_page' [-Wmissing-prototypes]
1831 | void prep_new_page(struct page *page, unsigned int order, gfp_t gfp_flags,
| ^~~~~~~~~~~~~
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for PHYLINK
Depends on [n]: NETDEVICES [=n]
Selected by [y]:
- GKI_HIDDEN_ETHERNET_CONFIGS [=y]
WARNING: unmet direct dependencies detected for WEXT_SPY
Depends on [n]: NET [=n] && WIRELESS [=n]
Selected by [y]:
- GKI_LEGACY_WEXT_ALLCONFIG [=y]
WARNING: unmet direct dependencies detected for SND_JACK_INPUT_DEV
Depends on [n]: SOUND [=y] && SND [=n] && SND_JACK [=y]
Selected by [y]:
- GKI_HIDDEN_SND_CONFIGS [=y]
WARNING: unmet direct dependencies detected for SND_INTEL_NHLT
Depends on [n]: SOUND [=y] && SND [=n]
Selected by [y]:
- GKI_HIDDEN_SND_CONFIGS [=y] && ACPI [=y]
WARNING: unmet direct dependencies detected for NET_DEVLINK
Depends on [n]: NET [=n]
Selected by [y]:
- GKI_HIDDEN_NET_CONFIGS [=y]
WARNING: unmet direct dependencies detected for WEXT_PROC
Depends on [n]: NET [=n] && WIRELESS [=n] && PROC_FS [=y] && WEXT_CORE [=y]
Selected by [y]:
- GKI_LEGACY_WEXT_ALLCONFIG [=y]
WARNING: unmet direct dependencies detected for DIMLIB
Depends on [n]: NET [=n]
Selected by [y]:
- GKI_HIDDEN_VIRTUAL_CONFIGS [=y]
WARNING: unmet direct dependencies detected for SND_PCM_ELD
Depends on [n]: SOUND [=y] && SND [=n]
Selected by [y]:
- GKI_HIDDEN_SND_CONFIGS [=y]
WARNING: unmet direct dependencies detected for PAGE_POOL
Depends on [n]: NET [=n]
Selected by [y]:
- GKI_HIDDEN_NET_CONFIGS [=y]
WARNING: unmet direct dependencies detected for WEXT_PRIV
Depends on [n]: NET [=n] && WIRELESS [=n]
Selected by [y]:
- GKI_LEGACY_WEXT_ALLCONFIG [=y]
WARNING: unmet direct dependencies detected for NET_PTP_CLASSIFY
Depends on [n]: NET [=n]
Selected by [y]:
- GKI_HIDDEN_NET_CONFIGS [=y]
WARNING: unmet direct dependencies detected for VIDEO_V4L2_SUBDEV_API
Depends on [n]: MEDIA_SUPPORT [=y] && VIDEO_DEV [=n] && MEDIA_CONTROLLER [=y]
Selected by [y]:
- GKI_HIDDEN_MEDIA_CONFIGS [=y]
WARNING: unmet direct dependencies detected for SND_PCM_IEC958
Depends on [n]: SOUND [=y] && SND [=n]
Selected by [y]:
- GKI_HIDDEN_SND_SOC_CONFIGS [=y]
WARNING: unmet direct dependencies detected for WIRELESS_EXT
Depends on [n]: NET [=n] && WIRELESS [=n]
Selected by [y]:
- GKI_LEGACY_WEXT_ALLCONFIG [=y]
WARNING: unmet direct dependencies detected for WEXT_CORE
Depends on [n]: NET [=n] && WIRELESS [=n] && (CFG80211_WEXT [=n] || WIRELESS_EXT [=y])
Selected by [y]:
- GKI_LEGACY_WEXT_ALLCONFIG [=y]
WARNING: unmet direct dependencies detected for SND_COMPRESS_ACCEL
Depends on [n]: SOUND [=y] && SND [=n]
Selected by [y]:
- GKI_HIDDEN_SND_CONFIGS [=y]
WARNING: unmet direct dependencies detected for SND_JACK
Depends on [n]: SOUND [=y] && SND [=n]
Selected by [y]:
- GKI_HIDDEN_SND_CONFIGS [=y]
WARNING: unmet direct dependencies detected for SND_VMASTER
Depends on [n]: SOUND [=y] && SND [=n]
Selected by [y]:
- GKI_HIDDEN_SND_CONFIGS [=y]
WARNING: unmet direct dependencies detected for CAN_RX_OFFLOAD
Depends on [n]: NETDEVICES [=n] && CAN_DEV [=n] && CAN_NETLINK [=n]
Selected by [y]:
- GKI_HIDDEN_MCP251XFD_CONFIGS [=y]
vim +65 include/linux/android_kabi.h
e97af2a2f5563a Giuliano Procida 2025-05-28 54
e97af2a2f5563a Giuliano Procida 2025-05-28 55 #define _ANDROID_KABI_RULE(hint, target, value) \
e97af2a2f5563a Giuliano Procida 2025-05-28 56 __ANDROID_KABI_RULE(hint, #target, #value)
e3e94686886450 Giuliano Procida 2025-04-16 57
e3e94686886450 Giuliano Procida 2025-04-16 58 #define _ANDROID_KABI_NORMAL_SIZE_ALIGN(_orig, _new) \
804873a198f8dc Greg Kroah-Hartman 2020-03-11 59 union { \
e3e94686886450 Giuliano Procida 2025-04-16 60 _Static_assert( \
e3e94686886450 Giuliano Procida 2025-04-16 61 sizeof(struct { _new; }) <= \
e3e94686886450 Giuliano Procida 2025-04-16 62 sizeof(struct { _orig; }), \
e3e94686886450 Giuliano Procida 2025-04-16 63 FILE_LINE ": " __stringify(_new) \
e3e94686886450 Giuliano Procida 2025-04-16 64 " is larger than " __stringify(_orig)); \
e3e94686886450 Giuliano Procida 2025-04-16 @65 _Static_assert( \
e3e94686886450 Giuliano Procida 2025-04-16 66 __alignof__(struct { _new; }) <= \
e3e94686886450 Giuliano Procida 2025-04-16 67 __alignof__(struct { _orig; }), \
e3e94686886450 Giuliano Procida 2025-04-16 68 FILE_LINE ": " __stringify(_orig) \
804873a198f8dc Greg Kroah-Hartman 2020-03-11 69 " is not aligned the same as " \
804873a198f8dc Greg Kroah-Hartman 2020-03-11 70 __stringify(_new)); \
804873a198f8dc Greg Kroah-Hartman 2020-03-11 71 }
804873a198f8dc Greg Kroah-Hartman 2020-03-11 72
:::::: The code at line 65 was first introduced by commit
:::::: e3e946868864503f88b95a0d8ffe6d61b7df82d6 ANDROID: update KABI macros for gendwarfksyms
:::::: TO: Giuliano Procida <gprocida@google.com>
:::::: CC: Carlos Llamas <cmllamas@google.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-05 21:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-05 21:26 [android-common:android16-6.12-2025-12 0/2] include/linux/android_kabi.h:65:17: error: static assertion failed: "include/linux/dma-buf.h:547: u64 __kabi_reserved_backport1 is not aligned the same as atomic64_t nr_task_refs" kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.