Buildresult: linus-rand/x86_64-randconfig/x86_64-gcc8 built on Sep 15 2021, 08:58
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
Failed
Date/Time:
Sep 15 2021, 08:58
Duration:
0:02:14.005378
Builder:
ka7
Revision:
drm/ttm: fix type mismatch error on sparc64 (
3ca706c189db861b2ca2019a0901b94050ca49d8)
Target:
linus-rand/x86_64-randconfig/x86_64-gcc8
Branch:
linus-rand
Compiler:
x86_64-gcc8
(x86_64-linux-gcc (GCC) 8.1.0 / GNU ld (GNU Binutils) 2.30)
Config:
randconfig
(
download
)
Log:
Download original
Possible errors
drivers/hwmon/dell-smm-hwmon.c:624:24: error: unused variable 'data' [-Werror=unused-variable] cc1: all warnings being treated as errors make[3]: *** [scripts/Makefile.build:277: drivers/hwmon/dell-smm-hwmon.o] Error 1 make[2]: *** [scripts/Makefile.build:540: drivers/hwmon] Error 2 make[1]: *** [Makefile:1868: drivers] Error 2 make: *** [Makefile:219: __sub-make] Error 2
Possible warnings (4)
.config:4443:warning: override: reassigning to symbol STANDALONE .config:4447:warning: override: reassigning to symbol GCC_PLUGIN_CYC_COMPLEXITY .config:4449:warning: override: reassigning to symbol GCC_PLUGIN_LATENT_ENTROPY .config:4450:warning: override: reassigning to symbol BPF_PRELOAD
Full Log
# git rev-parse -q --verify 3ca706c189db861b2ca2019a0901b94050ca49d8^{commit} 3ca706c189db861b2ca2019a0901b94050ca49d8 already have revision, skipping fetch # git checkout -q -f -B kisskb 3ca706c189db861b2ca2019a0901b94050ca49d8 # git clean -qxdf # < git log -1 # commit 3ca706c189db861b2ca2019a0901b94050ca49d8 # Author: Huang Rui <ray.huang@amd.com> # Date: Tue Sep 7 18:03:02 2021 +0800 # # drm/ttm: fix type mismatch error on sparc64 # # On sparc64, __fls() returns an "int", but the drm TTM code expected it # to be "unsigned long" as on x86. As a result, on sparc (and arc, and # m68k) you get build errors because 'min()' checks that the types match. # # As suggested by Linus, it can use min_t instead of min to force the type # to be "unsigned int". # # Suggested-by: Linus Torvalds <torvalds@linux-foundation.org> # Signed-off-by: Huang Rui <ray.huang@amd.com> # Reviewed-by: Christian König <christian.koenig@amd.com> # Cc: Alex Deucher <alexdeucher@gmail.com> # Cc: David Airlie <airlied@linux.ie> # Cc: Daniel Vetter <daniel@ffwll.ch> # Cc: Guenter Roeck <linux@roeck-us.net> # Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 3ca706c189db861b2ca2019a0901b94050ca49d8 # < make -s -j 32 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- randconfig # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # Added to kconfig CONFIG_CC_STACKPROTECTOR_STRONG=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig CONFIG_GCC_PLUGIN_CYC_COMPLEXITY=n # Added to kconfig CONFIG_GCC_PLUGIN_SANCOV=n # Added to kconfig CONFIG_GCC_PLUGIN_LATENT_ENTROPY=n # Added to kconfig CONFIG_BPF_PRELOAD=n # Added to kconfig # < make -s -j 32 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- help # make -s -j 32 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- olddefconfig .config:4443:warning: override: reassigning to symbol STANDALONE .config:4447:warning: override: reassigning to symbol GCC_PLUGIN_CYC_COMPLEXITY .config:4449:warning: override: reassigning to symbol GCC_PLUGIN_LATENT_ENTROPY .config:4450:warning: override: reassigning to symbol BPF_PRELOAD # make -s -j 32 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- /kisskb/src/drivers/hwmon/dell-smm-hwmon.c: In function 'i8k_init_procfs': /kisskb/src/drivers/hwmon/dell-smm-hwmon.c:624:24: error: unused variable 'data' [-Werror=unused-variable] struct dell_smm_data *data = dev_get_drvdata(dev); ^~~~ cc1: all warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:277: drivers/hwmon/dell-smm-hwmon.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:540: drivers/hwmon] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1868: drivers] Error 2 make: *** [Makefile:219: __sub-make] Error 2 Command 'make -s -j 32 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 # Build took: 0:02:14.005378
© Michael Ellerman 2006-2018.