Buildresult: linux-next/xtensa-allmodconfig/xtensa-gcc11 built on Mar 1 2023, 12:46
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
Failed
Date/Time:
Mar 1 2023, 12:46
Duration:
0:11:26.906057
Builder:
ka4
Revision:
Add linux-next specific files for 20230301 (
1716a175592aff9549a0c07aac8f9cadd03003f5)
Target:
linux-next/xtensa-allmodconfig/xtensa-gcc11
Branch:
linux-next
Compiler:
xtensa-gcc11
(xtensa-linux-gcc (GCC) 11.3.0 / GNU ld (GNU Binutils) 2.38)
Config:
allmodconfig
(
download
)
Log:
Download original
Possible errors
include/asm-generic/div64.h:222:35: error: comparison of distinct pointer types lacks a cast [-Werror] include/asm-generic/div64.h:234:32: error: right shift count >= width of type [-Werror=shift-count-overflow] include/asm-generic/div64.h:238:36: error: passing argument 1 of '__div64_32' from incompatible pointer type [-Werror=incompatible-pointer-types] cc1: all warnings being treated as errors make[5]: *** [scripts/Makefile.build:252: drivers/power/supply/qcom_battmgr.o] Error 1 make[4]: *** [scripts/Makefile.build:494: drivers/power/supply] Error 2 make[3]: *** [scripts/Makefile.build:494: drivers/power] Error 2 make[2]: *** [scripts/Makefile.build:494: drivers] Error 2 make[1]: *** [Makefile:2028: .] Error 2 make: *** [Makefile:226: __sub-make] Error 2
No warnings found in log.
Full Log
# git rev-parse -q --verify 1716a175592aff9549a0c07aac8f9cadd03003f5^{commit} 1716a175592aff9549a0c07aac8f9cadd03003f5 already have revision, skipping fetch # git checkout -q -f -B kisskb 1716a175592aff9549a0c07aac8f9cadd03003f5 # git clean -qxdf # < git log -1 # commit 1716a175592aff9549a0c07aac8f9cadd03003f5 # Author: Stephen Rothwell <sfr@canb.auug.org.au> # Date: Wed Mar 1 11:40:58 2023 +1100 # # Add linux-next specific files for 20230301 # # Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> # < /opt/cross/kisskb/korg/gcc-11.3.0-nolibc/xtensa-linux/bin/xtensa-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.3.0-nolibc/xtensa-linux/bin/xtensa-linux-ld --version # < git log --format=%s --max-count=1 1716a175592aff9549a0c07aac8f9cadd03003f5 # < make -s -j 40 ARCH=xtensa O=/kisskb/build/linux-next_xtensa-allmodconfig_xtensa-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/xtensa-linux/bin/xtensa-linux- allmodconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_SAMPLES=n # < make -s -j 40 ARCH=xtensa O=/kisskb/build/linux-next_xtensa-allmodconfig_xtensa-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/xtensa-linux/bin/xtensa-linux- help # make -s -j 40 ARCH=xtensa O=/kisskb/build/linux-next_xtensa-allmodconfig_xtensa-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/xtensa-linux/bin/xtensa-linux- olddefconfig # make -s -j 40 ARCH=xtensa O=/kisskb/build/linux-next_xtensa-allmodconfig_xtensa-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/xtensa-linux/bin/xtensa-linux- In file included from ./arch/xtensa/include/generated/asm/div64.h:1, from /kisskb/src/include/linux/math.h:6, from /kisskb/src/include/linux/math64.h:6, from /kisskb/src/include/linux/time64.h:5, from /kisskb/src/include/linux/restart_block.h:10, from /kisskb/src/include/linux/thread_info.h:14, from /kisskb/src/arch/xtensa/include/asm/current.h:18, from /kisskb/src/include/linux/sched.h:12, from /kisskb/src/include/linux/ratelimit.h:6, from /kisskb/src/include/linux/dev_printk.h:16, from /kisskb/src/include/linux/device.h:15, from /kisskb/src/include/linux/auxiliary_bus.h:11, from /kisskb/src/drivers/power/supply/qcom_battmgr.c:6: /kisskb/src/drivers/power/supply/qcom_battmgr.c: In function 'qcom_battmgr_sm8350_callback': /kisskb/src/include/asm-generic/div64.h:222:35: error: comparison of distinct pointer types lacks a cast [-Werror] 222 | (void)(((typeof((n)) *)0) == ((uint64_t *)0)); \ | ^~ /kisskb/src/drivers/power/supply/qcom_battmgr.c:1130:25: note: in expansion of macro 'do_div' 1130 | do_div(battmgr->status.percent, 100); | ^~~~~~ In file included from /kisskb/src/include/linux/dev_printk.h:14, from /kisskb/src/include/linux/device.h:15, from /kisskb/src/include/linux/auxiliary_bus.h:11, from /kisskb/src/drivers/power/supply/qcom_battmgr.c:6: /kisskb/src/include/asm-generic/div64.h:234:32: error: right shift count >= width of type [-Werror=shift-count-overflow] 234 | } else if (likely(((n) >> 32) == 0)) { \ | ^~ /kisskb/src/include/linux/compiler.h:77:45: note: in definition of macro 'likely' 77 | # define likely(x) __builtin_expect(!!(x), 1) | ^ /kisskb/src/drivers/power/supply/qcom_battmgr.c:1130:25: note: in expansion of macro 'do_div' 1130 | do_div(battmgr->status.percent, 100); | ^~~~~~ In file included from ./arch/xtensa/include/generated/asm/div64.h:1, from /kisskb/src/include/linux/math.h:6, from /kisskb/src/include/linux/math64.h:6, from /kisskb/src/include/linux/time64.h:5, from /kisskb/src/include/linux/restart_block.h:10, from /kisskb/src/include/linux/thread_info.h:14, from /kisskb/src/arch/xtensa/include/asm/current.h:18, from /kisskb/src/include/linux/sched.h:12, from /kisskb/src/include/linux/ratelimit.h:6, from /kisskb/src/include/linux/dev_printk.h:16, from /kisskb/src/include/linux/device.h:15, from /kisskb/src/include/linux/auxiliary_bus.h:11, from /kisskb/src/drivers/power/supply/qcom_battmgr.c:6: /kisskb/src/include/asm-generic/div64.h:238:36: error: passing argument 1 of '__div64_32' from incompatible pointer type [-Werror=incompatible-pointer-types] 238 | __rem = __div64_32(&(n), __base); \ | ^~~~ | | | unsigned int * /kisskb/src/drivers/power/supply/qcom_battmgr.c:1130:25: note: in expansion of macro 'do_div' 1130 | do_div(battmgr->status.percent, 100); | ^~~~~~ /kisskb/src/include/asm-generic/div64.h:213:38: note: expected 'uint64_t *' {aka 'long long unsigned int *'} but argument is of type 'unsigned int *' 213 | extern uint32_t __div64_32(uint64_t *dividend, uint32_t divisor); | ~~~~~~~~~~^~~~~~~~ cc1: all warnings being treated as errors make[5]: *** [/kisskb/src/scripts/Makefile.build:252: drivers/power/supply/qcom_battmgr.o] Error 1 make[4]: *** [/kisskb/src/scripts/Makefile.build:494: drivers/power/supply] Error 2 make[3]: *** [/kisskb/src/scripts/Makefile.build:494: drivers/power] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:494: drivers] Error 2 make[1]: *** [/kisskb/src/Makefile:2028: .] Error 2 make: *** [Makefile:226: __sub-make] Error 2 Command 'make -s -j 40 ARCH=xtensa O=/kisskb/build/linux-next_xtensa-allmodconfig_xtensa-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/xtensa-linux/bin/xtensa-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linux-next_xtensa-allmodconfig_xtensa-gcc11 # Build took: 0:11:26.906057
© Michael Ellerman 2006-2018.