[android-common:android14-kiwi-6.1 212/212] error: Command '['aarch64-linux-gnu-gcc', '-Wbad-function-cast', '-Wdeclaration-after-statement', '-Wformat-security', '-Wformat-y2k', '-Winit-self', '-Wmissing-declarations', '-Wmissing-prototypes', '-Wno-system-headers', '-Wold-style-definition', '-Wpac...
kernel test robot <[email protected]>
| Newsgroups | dev.linux.lists.oe-kbuild |
|---|---|
| Message-ID | <[email protected]> |
:::::: :::::: Manual check reason: "low confidence bisect report" :::::: BCC: [email protected] CC: [email protected] TO: [email protected] Hi Ian, First bad commit (maybe != root cause): tree: https://android.googlesource.com/kernel/common android14-kiwi-6.1 head: 88ff6fc3ff2d7717a7cff52af211ca62e0985ac2 commit: c8def8cde13bfb58e4ac663dfa27713cba54c60e [212/212] tools bitmap: Add missing asm-generic/bitsperlong.h include :::::: branch date: 2 days ago :::::: commit date: 8 months ago config: arm64-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20260814/[email protected]/config) compiler: aarch64-linux-gnu-gcc (Debian 14.2.0-19) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260814/[email protected]/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 <[email protected]> | Closes: https://lore.kernel.org/r/[email protected]/ Note: functions only called from assembly code should be annotated with the asmlinkage attribute All errors (new ones prefixed by >>): /usr/lib/gcc-cross/aarch64-linux-gnu/14/../../../../aarch64-linux-gnu/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 when searching for libgcc_s.so.1 /usr/lib/gcc-cross/aarch64-linux-gnu/14/../../../../aarch64-linux-gnu/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libc.so when searching for -lc /usr/lib/gcc-cross/aarch64-linux-gnu/14/../../../../aarch64-linux-gnu/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libc.a when searching for -lc /usr/lib/gcc-cross/aarch64-linux-gnu/14/../../../../aarch64-linux-gnu/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libc.so when searching for -lc /usr/lib/gcc-cross/aarch64-linux-gnu/14/../../../../aarch64-linux-gnu/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libc.a when searching for -lc /usr/lib/gcc-cross/aarch64-linux-gnu/14/../../../../aarch64-linux-gnu/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 when searching for libgcc_s.so.1 /usr/lib/gcc-cross/aarch64-linux-gnu/14/../../../../aarch64-linux-gnu/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 when searching for libgcc_s.so.1 /usr/lib/gcc-cross/aarch64-linux-gnu/14/../../../../aarch64-linux-gnu/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libc.so when searching for -lc /usr/lib/gcc-cross/aarch64-linux-gnu/14/../../../../aarch64-linux-gnu/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libc.a when searching for -lc /usr/lib/gcc-cross/aarch64-linux-gnu/14/../../../../aarch64-linux-gnu/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 when searching for libgcc_s.so.1 /usr/lib/gcc-cross/aarch64-linux-gnu/14/../../../../aarch64-linux-gnu/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libc.so when searching for -lc /usr/lib/gcc-cross/aarch64-linux-gnu/14/../../../../aarch64-linux-gnu/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libc.a when searching for -lc /usr/lib/gcc-cross/aarch64-linux-gnu/14/../../../../aarch64-linux-gnu/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 when searching for libgcc_s.so.1 /usr/lib/gcc-cross/aarch64-linux-gnu/14/../../../../aarch64-linux-gnu/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libc.so when searching for -lc /usr/lib/gcc-cross/aarch64-linux-gnu/14/../../../../aarch64-linux-gnu/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libc.a when searching for -lc /usr/lib/gcc-cross/aarch64-linux-gnu/14/../../../../aarch64-linux-gnu/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 when searching for libgcc_s.so.1 /usr/lib/gcc-cross/aarch64-linux-gnu/14/../../../../aarch64-linux-gnu/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 when searching for libgcc_s.so.1 /usr/lib/gcc-cross/aarch64-linux-gnu/14/../../../../aarch64-linux-gnu/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 when searching for libgcc_s.so.1 /usr/lib/gcc-cross/aarch64-linux-gnu/14/../../../../aarch64-linux-gnu/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 when searching for libgcc_s.so.1 /usr/lib/gcc-cross/aarch64-linux-gnu/14/../../../../aarch64-linux-gnu/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 when searching for libgcc_s.so.1 /usr/lib/gcc-cross/aarch64-linux-gnu/14/../../../../aarch64-linux-gnu/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 when searching for libgcc_s.so.1 /usr/lib/gcc-cross/aarch64-linux-gnu/14/../../../../aarch64-linux-gnu/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libc.so when searching for -lc /usr/lib/gcc-cross/aarch64-linux-gnu/14/../../../../aarch64-linux-gnu/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libc.a when searching for -lc /usr/lib/gcc-cross/aarch64-linux-gnu/14/../../../../aarch64-linux-gnu/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 when searching for libgcc_s.so.1 /usr/lib/gcc-cross/aarch64-linux-gnu/14/../../../../aarch64-linux-gnu/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libc.so when searching for -lc /usr/lib/gcc-cross/aarch64-linux-gnu/14/../../../../aarch64-linux-gnu/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libc.a when searching for -lc /usr/lib/gcc-cross/aarch64-linux-gnu/14/../../../../aarch64-linux-gnu/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 when searching for libgcc_s.so.1 /usr/lib/gcc-cross/aarch64-linux-gnu/14/../../../../aarch64-linux-gnu/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libc.so when searching for -lc /usr/lib/gcc-cross/aarch64-linux-gnu/14/../../../../aarch64-linux-gnu/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 when searching for libgcc_s.so.1 /usr/lib/gcc-cross/aarch64-linux-gnu/14/../../../../aarch64-linux-gnu/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libc.a when searching for -lc /usr/lib/gcc-cross/aarch64-linux-gnu/14/../../../../aarch64-linux-gnu/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libc.so when searching for -lc /usr/lib/gcc-cross/aarch64-linux-gnu/14/../../../../aarch64-linux-gnu/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libc.a when searching for -lc /usr/lib/gcc-cross/aarch64-linux-gnu/14/../../../../aarch64-linux-gnu/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 when searching for libgcc_s.so.1 /usr/lib/gcc-cross/aarch64-linux-gnu/14/../../../../aarch64-linux-gnu/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 when searching for libgcc_s.so.1 /usr/lib/gcc-cross/aarch64-linux-gnu/14/../../../../aarch64-linux-gnu/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 when searching for libgcc_s.so.1 /usr/lib/gcc-cross/aarch64-linux-gnu/14/../../../../aarch64-linux-gnu/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 when searching for libgcc_s.so.1 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.... /usr/lib/gcc-cross/aarch64-linux-gnu/14/../../../../aarch64-linux-gnu/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 when searching for libgcc_s.so.1 /usr/lib/gcc-cross/aarch64-linux-gnu/14/../../../../aarch64-linux-gnu/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libc.so when searching for -lc /usr/lib/gcc-cross/aarch64-linux-gnu/14/../../../../aarch64-linux-gnu/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libc.a when searching for -lc /usr/lib/gcc-cross/aarch64-linux-gnu/14/../../../../aarch64-linux-gnu/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 when searching for libgcc_s.so.1 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 | ^~~~~ 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 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/aarch64-linux-gnu/include/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, | ^~~~~~~~~~~ In file included from tools/include/linux/bitmap.h:6, from util/svghelper.c:16: 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 | ^~~~~ util/metricgroup.c: In function 'setup_metric_events': util/metricgroup.c:269:39: error: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Werror=calloc-transposed-args] 269 | metric_events = calloc(sizeof(void *), ids_size + 1); | ^~~~ util/metricgroup.c:269:39: note: earlier argument should specify number of elements, later size of each element make[4]: *** [tools/build/Makefile.build:96: util/svghelper.o] Error 1 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; | ^~~~~~ util/hist.c: In function 'hist_entry__init': util/hist.c:492:49: error: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Werror=calloc-transposed-args] 492 | he->res_samples = calloc(sizeof(struct res_sample), | ^~~~~~ util/hist.c:492:49: note: earlier argument should specify number of elements, later size of each element cc1: all warnings being treated as errors 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 | ^~~~~ make[4]: *** [tools/build/Makefile.build:96: tests/bpf.o] Error 1 make[4]: *** Waiting for unfinished jobs.... >> error: Command '['aarch64-linux-gnu-gcc', '-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', '-Iarch/arm64/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/arm64/include', '-Itools/include/', '-Itools/arch/arm64/include/uapi', '-Itools/include/uapi', '-Itools/arch/arm64/include/', '-Itools/arch/arm64/', '-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_LIBUNWIND_AARCH64_SUPPORT', '-DHAVE_DWARF_UNWIND_SUPPORT', '-DHAVE_LIBUNWIND_SUPPORT', '-DHAVE_LIBCRYPTO_SUPPORT', '-DHAVE_SLANG_SUPPORT', '-DHAVE_LIBPERL_SUPPORT', '-DHAVE_TIMERFD_SUPPORT', '-DHAVE_LIBPYTHON_SUPPORT', '-DHAVE_CPLUS_DEMANGLE_SUPPORT', '-DHAVE_ZLIB_SUPPORT', '-DHAVE_LZMA_SUPPORT', '-DHAVE_ZSTD_SUPPORT', '-DHAVE_LIBCAP_SUPPORT', '-DHAVE_BACKTRACE_SUPPORT', '-DHAVE_LIBNUMA_SUPPORT', '-DHAVE_KVM_STAT_SUPPORT', '-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', '-Iarch/arm64/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/arm64/include', '-Itools/include/', '-Itools/arch/arm64/include/uapi', '-Itools/include/uapi', '-Itools/arch/arm64/include/', '-Itools/arch/arm64/', '-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_LIBUNWIND_AARCH64_SUPPORT', '-DHAVE_DWARF_UNWIND_SUPPORT', '-DHAVE_LIBUNWIND_SUPPORT', '-DHAVE_LIBCRYPTO_SUPPORT', '-DHAVE_SLANG_SUPPORT', '-DHAVE_LIBPERL_SUPPORT', '-DHAVE_TIMERFD_SUPPORT', '-DHAVE_LIBPYTHON_SUPPORT', '-DHAVE_CPLUS_DEMANGLE_SUPPORT', '-DHAVE_ZLIB_SUPPORT', '-DHAVE_LZMA_SUPPORT', '-DHAVE_ZSTD_SUPPORT', '-DHAVE_LIBCAP_SUPPORT', '-DHAVE_BACKTRACE_SUPPORT', '-DHAVE_LIBNUMA_SUPPORT', '-DHAVE_KVM_STAT_SUPPORT', '-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. 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.... cc1: all warnings being treated as errors make[4]: *** [tools/build/Makefile.build:96: util/metricgroup.o] Error 1 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[3]: *** [tools/build/Makefile.build:96: builtin-record.o] Error 1 make[3]: *** [tools/build/Makefile.build:143: tests] Error 2 cc1: all warnings being treated as errors make[4]: *** [tools/build/Makefile.build:96: util/hist.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