0 day kernel build service
 help / color / mirror / Atom feed
* [android-common:android14-kiwi-6.1 245/245] error: Command '['gcc-14', '-Wbad-function-cast', '-Wdeclaration-after-statement', '-Wformat-security', '-Wformat-y2k', '-Winit-self', '-Wmissing-declarations', '-Wmissing-prototypes', '-Wno-system-headers', '-Wold-style-definition', '-Wpacked', '-Wredund...
@ 2026-09-02  8:14 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-02  8:14 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp

:::::: 
:::::: Manual check reason: "low confidence bisect report"
:::::: 

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
TO: cros-kernel-buildreports@googlegroups.com

Hi Ian,

First bad commit (maybe != root cause):

tree:   https://android.googlesource.com/kernel/common android14-kiwi-6.1
head:   56294339376d1c7122afb345cbc9d6148921d11c
commit: c8def8cde13bfb58e4ac663dfa27713cba54c60e [245/245] tools bitmap: Add missing asm-generic/bitsperlong.h include
:::::: branch date: 9 hours ago
:::::: commit date: 9 months ago
config: x86_64-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20260902/202609021031.DdKKwLBl-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/20260902/202609021031.DdKKwLBl-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/r/202609021031.DdKKwLBl-lkp@intel.com/

Note: functions only called from assembly code should be annotated with the asmlinkage attribute
All errors (new ones prefixed by >>):

   Warning: Kernel ABI header at 'tools/include/uapi/linux/const.h' differs from latest version at 'include/uapi/linux/const.h'
   Warning: Kernel ABI header at 'tools/include/uapi/linux/in.h' differs from latest version at 'include/uapi/linux/in.h'
   Warning: Kernel ABI header at 'tools/arch/x86/include/asm/disabled-features.h' differs from latest version at 'arch/x86/include/asm/disabled-features.h'
   Warning: Kernel ABI header at 'tools/arch/x86/include/asm/required-features.h' differs from latest version at 'arch/x86/include/asm/required-features.h'
   Warning: Kernel ABI header at 'tools/arch/x86/include/asm/cpufeatures.h' differs from latest version at 'arch/x86/include/asm/cpufeatures.h'
   Warning: Kernel ABI header at 'tools/arch/x86/include/asm/msr-index.h' differs from latest version at 'arch/x86/include/asm/msr-index.h'
   Warning: Kernel ABI header at 'tools/arch/arm64/include/uapi/asm/perf_regs.h' differs from latest version at 'arch/arm64/include/uapi/asm/perf_regs.h'
   Warning: Kernel ABI header at 'tools/arch/x86/include/uapi/asm/svm.h' differs from latest version at 'arch/x86/include/uapi/asm/svm.h'
   Warning: Kernel ABI header at 'tools/include/uapi/asm-generic/unistd.h' differs from latest version at 'include/uapi/asm-generic/unistd.h'
   Warning: Kernel ABI header at 'tools/arch/arm64/include/asm/cputype.h' differs from latest version at 'arch/arm64/include/asm/cputype.h'
   Warning: Kernel ABI header at 'tools/perf/arch/powerpc/entry/syscalls/syscall.tbl' differs from latest version at 'arch/powerpc/kernel/syscalls/syscall.tbl'
   Warning: Kernel ABI header at 'tools/perf/arch/s390/entry/syscalls/syscall.tbl' differs from latest version at 'arch/s390/kernel/syscalls/syscall.tbl'
   Warning: Kernel ABI header at 'tools/perf/trace/beauty/include/linux/socket.h' differs from latest version at 'include/linux/socket.h'
   Makefile.config:549: No elfutils/debuginfod.h found, no debuginfo server support, please install libdebuginfod-dev/elfutils-debuginfod-client-devel or equivalent
   Makefile.config:683: No libunwind found. Please install libunwind-dev[el] >= 1.1 and/or set LIBUNWIND_DIR
   tools/perf/pmu-events/jevents.py:60: SyntaxWarning: invalid escape sequence '\ '
     all \ are for escaping, it then adjusts as it will have over counted
   scripts/bpf_doc.py:62: SyntaxWarning: invalid escape sequence '\w'
     arg_re = re.compile('((\w+ )*?(\w+|...))( (\**)(\w+))?$')
   scripts/bpf_doc.py:64: SyntaxWarning: invalid escape sequence '\*'
     proto_re = re.compile('(.+) (\**)(\w+)\(((([^,]+)(, )?){1,5})\)$')
   scripts/bpf_doc.py:116: SyntaxWarning: invalid escape sequence '\*'
     p = re.compile(' \* ?(BPF\w+)$')
   scripts/bpf_doc.py:120: SyntaxWarning: invalid escape sequence '\*'
     end_re = re.compile(' \* ?NOTES$')
   scripts/bpf_doc.py:135: SyntaxWarning: invalid escape sequence '\*'
     p = re.compile(' \* ?((.+) \**\w+\((((const )?(struct )?(\w+|\.\.\.)( \**\w+)?)(, )?){1,5}\))$')
   scripts/bpf_doc.py:143: SyntaxWarning: invalid escape sequence '\*'
     p = re.compile(' \* ?(?:\t| {5,8})Description$')
   scripts/bpf_doc.py:156: SyntaxWarning: invalid escape sequence '\*'
     p = re.compile(' \* ?(?:\t| {5,8})(?:\t| {8})(.*)')
   scripts/bpf_doc.py:169: SyntaxWarning: invalid escape sequence '\*'
     p = re.compile(' \* ?(?:\t| {5,8})Return$')
   scripts/bpf_doc.py:182: SyntaxWarning: invalid escape sequence '\*'
     p = re.compile(' \* ?(?:\t| {5,8})(?:\t| {8})(.*)')
   scripts/bpf_doc.py:221: SyntaxWarning: invalid escape sequence '\s'
     bpf_p = re.compile('\s*(BPF\w+)+')
   scripts/bpf_doc.py:226: SyntaxWarning: invalid escape sequence '\s'
     assign_p = re.compile('\s*(BPF\w+)\s*=\s*(BPF\w+)')
   scripts/bpf_doc.py:241: SyntaxWarning: invalid escape sequence '\w'
     self.enum_syscalls = re.findall('(BPF\w+)+', bpf_cmd_str)
   scripts/bpf_doc.py:264: SyntaxWarning: invalid escape sequence '\s'
     p = re.compile('\s*FN\((\w+)\)|\\\\')
   scripts/bpf_doc.py:277: SyntaxWarning: invalid escape sequence '\('
     self.define_unique_helpers = re.findall('FN\(\w+\)', fn_defines_str)
   scripts/bpf_doc.py:410: SyntaxWarning: invalid escape sequence '\*'
     '/{}/,/\*\//:include/uapi/linux/bpf.h'.format(delimiter)]
   scripts/bpf_doc.py:501: SyntaxWarning: invalid escape sequence '\ '
     license string passed (via **attr**) to the **bpf**\ () system call, and this
   scripts/bpf_doc.py:583: SyntaxWarning: invalid escape sequence '\ '
     one_arg += ' {}**\ '.format(a['star'].replace('*', '\\*'))
     PERF_VERSION = 6.1.158.gc8def8cde13b
   In file included from tools/include/linux/bitmap.h:6,
                    from util/pmu.h:5,
                    from builtin-list.c:14:
   tools/include/asm-generic/bitsperlong.h:14:2: error: #error Inconsistent word size. Check asm/bitsperlong.h
      14 | #error Inconsistent word size. Check asm/bitsperlong.h
         |  ^~~~~
   make[3]: *** [tools/build/Makefile.build:97: builtin-list.o] Error 1
   make[3]: *** Waiting for unfinished jobs....
   builtin-record.c: In function 'cmd_record':
   builtin-record.c:4072:62: error: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Werror=calloc-transposed-args]
    4072 |                 rec->switch_output.filenames = calloc(sizeof(char *),
         |                                                              ^~~~
   builtin-record.c:4072:62: note: earlier argument should specify number of elements, later size of each element
   In file included from tools/include/linux/bitmap.h:6,
                    from tools/perf/util/pmu.h:5,
                    from arch/x86/util/topdown.c:4:
   tools/include/asm-generic/bitsperlong.h:14:2: error: #error Inconsistent word size. Check asm/bitsperlong.h
      14 | #error Inconsistent word size. Check asm/bitsperlong.h
         |  ^~~~~
   builtin-top.c: In function 'prompt_integer':
   builtin-top.c:358:21: error: allocation of insufficient size '0' for type 'char' with size '1' [-Werror=alloc-size]
     358 |         char *buf = malloc(0), *p;
         |                     ^~~~~~
   builtin-top.c: In function 'perf_top__prompt_symbol':
   builtin-top.c:393:21: error: allocation of insufficient size '0' for type 'char' with size '1' [-Werror=alloc-size]
     393 |         char *buf = malloc(0), *p;
         |                     ^~~~~~
   make[6]: *** [tools/build/Makefile.build:96: arch/x86/util/topdown.o] Error 1
   make[6]: *** Waiting for unfinished jobs....
   make[5]: *** [tools/build/Makefile.build:143: util] Error 2
   make[5]: *** Waiting for unfinished jobs....
   In file included from tools/include/linux/bitmap.h:6,
                    from tools/perf/../lib/bitmap.c:6:
   tools/include/asm-generic/bitsperlong.h:14:2: error: #error Inconsistent word size. Check asm/bitsperlong.h
      14 | #error Inconsistent word size. Check asm/bitsperlong.h
         |  ^~~~~
>> error: Command '['gcc-14', '-Wbad-function-cast', '-Wdeclaration-after-statement', '-Wformat-security', '-Wformat-y2k', '-Winit-self', '-Wmissing-declarations', '-Wmissing-prototypes', '-Wno-system-headers', '-Wold-style-definition', '-Wpacked', '-Wredundant-decls', '-Wstrict-prototypes', '-Wswitch-default', '-Wswitch-enum', '-Wundef', '-Wwrite-strings', '-Wformat', '-Wno-type-limits', '-Wstrict-aliasing=3', '-Wshadow', '-DHAVE_SYSCALL_TABLE_SUPPORT', '-DHAVE_ARCH_X86_64_SUPPORT', '-Iarch/x86/include/generated', '-DHAVE_PERF_REGS_SUPPORT', '-DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET', '-Werror', '-O6', '-fno-omit-frame-pointer', '-ggdb3', '-funwind-tables', '-Wall', '-Wextra', '-std=gnu99', '-fstack-protector-all', '-U_FORTIFY_SOURCE', '-D_FORTIFY_SOURCE=2', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_GNU_SOURCE', '-Itools/lib/perf/include', '-Itools/perf/util/include', '-Itools/perf/arch/x86/include', '-Itools/include/', '-Itools/arch/x86/include/uapi', '-Itools/include/uapi', '-Itools/arch/x86/include/', '-Itools/arch/x86/', '-Itools/perf/util', '-Itools/perf', '-Itools/lib/', '-DHAVE_PTHREAD_ATTR_SETAFFINITY_NP', '-DHAVE_PTHREAD_BARRIER', '-DHAVE_EVENTFD_SUPPORT', '-DHAVE_GET_CURRENT_DIR_NAME', '-DHAVE_GETTID', '-DHAVE_FILE_HANDLE', '-DHAVE_DWARF_GETLOCATIONS_SUPPORT', '-DHAVE_GLIBC_SUPPORT', '-DHAVE_AIO_SUPPORT', '-DHAVE_SCHED_GETCPU_SUPPORT', '-DHAVE_SETNS_SUPPORT', '-DHAVE_LIBELF_SUPPORT', '-DHAVE_ELF_GETPHDRNUM_SUPPORT', '-DHAVE_GELF_GETNOTE_SUPPORT', '-DHAVE_ELF_GETSHDRSTRNDX_SUPPORT', '-DHAVE_DWARF_SUPPORT', '-DHAVE_LIBBPF_SUPPORT', '-DHAVE_LIBBPF_BTF__LOAD_FROM_KERNEL_BY_ID', '-DHAVE_LIBBPF_BPF_PROG_LOAD', '-DHAVE_LIBBPF_BPF_OBJECT__NEXT_PROGRAM', '-DHAVE_LIBBPF_BPF_OBJECT__NEXT_MAP', '-DHAVE_LIBBPF_BPF_PROGRAM__SET_INSNS', '-DHAVE_LIBBPF_BTF__RAW_DATA', '-DHAVE_LIBBPF_BPF_MAP_CREATE', '-DHAVE_BPF_PROLOGUE', '-DHAVE_SDT_EVENT', '-DHAVE_JITDUMP', '-DHAVE_DWARF_UNWIND_SUPPORT', '-DHAVE_LIBCRYPTO_SUPPORT', '-DHAVE_SLANG_SUPPORT', '-DHAVE_LIBPERL_SUPPORT', '-DHAVE_TIMERFD_SUPPORT', '-DHAVE_LIBPYTHON_SUPPORT', '-DHAVE_LIBBFD_BUILDID_SUPPORT', '-DHAVE_CPLUS_DEMANGLE_SUPPORT', '-DHAVE_LIBBFD_SUPPORT', '-DHAVE_ZLIB_SUPPORT', '-DHAVE_LZMA_SUPPORT', '-DHAVE_ZSTD_SUPPORT', '-DHAVE_LIBCAP_SUPPORT', '-DHAVE_BACKTRACE_SUPPORT', '-DHAVE_LIBNUMA_SUPPORT', '-DHAVE_KVM_STAT_SUPPORT', '-DDISASM_FOUR_ARGS_SIGNATURE', '-DDISASM_INIT_STYLED', '-DHAVE_PERF_READ_VDSO32', '-DHAVE_PERF_READ_VDSOX32', '-DHAVE_LIBBABELTRACE_SUPPORT', '-DHAVE_AUXTRACE_SUPPORT', '-DHAVE_JVMTI_CMLR', '-fPIC', '-Iutil/include', '-I/usr/include/python3.13', '-c', 'tools/perf/../lib/bitmap.c', '-o', 'python_ext_build/tmptools/perf/../lib/bitmap.o', '-Wbad-function-cast', '-Wdeclaration-after-statement', '-Wformat-security', '-Wformat-y2k', '-Winit-self', '-Wmissing-declarations', '-Wmissing-prototypes', '-Wno-system-headers', '-Wold-style-definition', '-Wpacked', '-Wredundant-decls', '-Wstrict-prototypes', '-Wswitch-default', '-Wswitch-enum', '-Wundef', '-Wwrite-strings', '-Wformat', '-Wno-type-limits', '-Wstrict-aliasing=3', '-Wshadow', '-DHAVE_SYSCALL_TABLE_SUPPORT', '-DHAVE_ARCH_X86_64_SUPPORT', '-Iarch/x86/include/generated', '-DHAVE_PERF_REGS_SUPPORT', '-DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET', '-Werror', '-O6', '-fno-omit-frame-pointer', '-ggdb3', '-funwind-tables', '-Wall', '-Wextra', '-std=gnu99', '-fstack-protector-all', '-U_FORTIFY_SOURCE', '-D_FORTIFY_SOURCE=2', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_GNU_SOURCE', '-Itools/lib/perf/include', '-Itools/perf/util/include', '-Itools/perf/arch/x86/include', '-Itools/include/', '-Itools/arch/x86/include/uapi', '-Itools/include/uapi', '-Itools/arch/x86/include/', '-Itools/arch/x86/', '-Itools/perf/util', '-Itools/perf', '-Itools/lib/', '-DHAVE_PTHREAD_ATTR_SETAFFINITY_NP', '-DHAVE_PTHREAD_BARRIER', '-DHAVE_EVENTFD_SUPPORT', '-DHAVE_GET_CURRENT_DIR_NAME', '-DHAVE_GETTID', '-DHAVE_FILE_HANDLE', '-DHAVE_DWARF_GETLOCATIONS_SUPPORT', '-DHAVE_GLIBC_SUPPORT', '-DHAVE_AIO_SUPPORT', '-DHAVE_SCHED_GETCPU_SUPPORT', '-DHAVE_SETNS_SUPPORT', '-DHAVE_LIBELF_SUPPORT', '-DHAVE_ELF_GETPHDRNUM_SUPPORT', '-DHAVE_GELF_GETNOTE_SUPPORT', '-DHAVE_ELF_GETSHDRSTRNDX_SUPPORT', '-DHAVE_DWARF_SUPPORT', '-DHAVE_LIBBPF_SUPPORT', '-DHAVE_LIBBPF_BTF__LOAD_FROM_KERNEL_BY_ID', '-DHAVE_LIBBPF_BPF_PROG_LOAD', '-DHAVE_LIBBPF_BPF_OBJECT__NEXT_PROGRAM', '-DHAVE_LIBBPF_BPF_OBJECT__NEXT_MAP', '-DHAVE_LIBBPF_BPF_PROGRAM__SET_INSNS', '-DHAVE_LIBBPF_BTF__RAW_DATA', '-DHAVE_LIBBPF_BPF_MAP_CREATE', '-DHAVE_BPF_PROLOGUE', '-DHAVE_SDT_EVENT', '-DHAVE_JITDUMP', '-DHAVE_DWARF_UNWIND_SUPPORT', '-DHAVE_LIBCRYPTO_SUPPORT', '-DHAVE_SLANG_SUPPORT', '-DHAVE_LIBPERL_SUPPORT', '-DHAVE_TIMERFD_SUPPORT', '-DHAVE_LIBPYTHON_SUPPORT', '-DHAVE_LIBBFD_BUILDID_SUPPORT', '-DHAVE_CPLUS_DEMANGLE_SUPPORT', '-DHAVE_LIBBFD_SUPPORT', '-DHAVE_ZLIB_SUPPORT', '-DHAVE_LZMA_SUPPORT', '-DHAVE_ZSTD_SUPPORT', '-DHAVE_LIBCAP_SUPPORT', '-DHAVE_BACKTRACE_SUPPORT', '-DHAVE_LIBNUMA_SUPPORT', '-DHAVE_KVM_STAT_SUPPORT', '-DDISASM_FOUR_ARGS_SIGNATURE', '-DDISASM_INIT_STYLED', '-DHAVE_PERF_READ_VDSO32', '-DHAVE_PERF_READ_VDSOX32', '-DHAVE_LIBBABELTRACE_SUPPORT', '-DHAVE_AUXTRACE_SUPPORT', '-DHAVE_JVMTI_CMLR', '-fno-strict-aliasing', '-Wno-write-strings', '-Wno-unused-parameter', '-Wno-redundant-decls', '-DPYTHON_PERF', '-Wno-cast-function-type']' returned non-zero exit status 1.
   make[4]: *** [tools/build/Makefile.build:143: x86] Error 2
   make[3]: *** [tools/build/Makefile.build:143: arch] Error 2
   cp: cannot stat 'python_ext_build/lib/perf*.so': No such file or directory
   make[2]: *** [Makefile.perf:647: python/perf.so] Error 1
   make[2]: *** Waiting for unfinished jobs....
   In file included from tools/include/linux/bitmap.h:6,
                    from ../lib/bitmap.c:6:
   tools/include/asm-generic/bitsperlong.h:14:2: error: #error Inconsistent word size. Check asm/bitsperlong.h
      14 | #error Inconsistent word size. Check asm/bitsperlong.h
         |  ^~~~~
   make[4]: *** [util/Build:313: util/bitmap.o] Error 1
   make[4]: *** Waiting for unfinished jobs....
   tests/bpf.c: In function 'epoll_pwait_loop':
   tests/bpf.c:36:17: error: argument 2 null where non-null expected [-Werror=nonnull]
      36 |                 epoll_pwait(-(i + 1), NULL, 0, 0, NULL);
         |                 ^~~~~~~~~~~
   In file included from tests/bpf.c:5:
   /usr/include/x86_64-linux-gnu/sys/epoll.h:148:12: note: in a call to function 'epoll_pwait' declared 'nonnull'
     148 | extern int epoll_pwait (int __epfd, struct epoll_event *__events,
         |            ^~~~~~~~~~~
   cc1: all warnings being treated as errors
   make[3]: *** [tools/build/Makefile.build:96: builtin-top.o] Error 1
   cc1: all warnings being treated as errors
   make[4]: *** [tools/build/Makefile.build:97: tests/bpf.o] Error 1
   make[4]: *** Waiting for unfinished jobs....
   make[3]: *** [tools/build/Makefile.build:143: tests] Error 2
   cc1: all warnings being treated as errors
   make[3]: *** [tools/build/Makefile.build:96: builtin-record.o] Error 1
   make[3]: *** [tools/build/Makefile.build:143: util] Error 2
   make[2]: *** [Makefile.perf:669: perf-in.o] Error 2
   make[1]: *** [Makefile.perf:240: sub-make] Error 2

--
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-09-02  8:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-02  8:14 [android-common:android14-kiwi-6.1 245/245] error: Command '['gcc-14', '-Wbad-function-cast', '-Wdeclaration-after-statement', '-Wformat-security', '-Wformat-y2k', '-Winit-self', '-Wmissing-declarations', '-Wmissing-prototypes', '-Wno-system-headers', '-Wold-style-definition', '-Wpacked', '-Wredund 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