Buildresult: linus-rand/x86_64-randconfig/x86_64-gcc11 built on Jul 15 2022, 09:55
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
Failed
Date/Time:
Jul 15 2022, 09:55
Duration:
0:02:24.122807
Builder:
ka4
Revision:
x86/speculation: Use DECLARE_PER_CPU for x86_spec_ctrl_current (
db886979683a8360ced9b24ab1125ad0c4d2cf76)
Target:
linus-rand/x86_64-randconfig/x86_64-gcc11
Branch:
linus-rand
Compiler:
x86_64-gcc11
(x86_64-linux-gcc (GCC) 11.1.0 / GNU ld (GNU Binutils) 2.36.1)
Config:
randconfig
(
download
)
Log:
Download original
Possible errors
lib/test_kasan.c:330:59: error: array subscript 201 is outside array bounds of 'char[201]' [-Werror=array-bounds] lib/test_kasan.c:334:59: error: array subscript 208 is outside array bounds of 'char[201]' [-Werror=array-bounds] lib/test_kasan.c:344:52: error: array subscript 218 is outside array bounds of 'char[201]' [-Werror=array-bounds] lib/test_kasan.c:345:55: error: array subscript 234 is outside array bounds of 'char[201]' [-Werror=array-bounds] lib/test_kasan.c:346:51: error: array subscript 235 is outside array bounds of 'char[201]' [-Werror=array-bounds] lib/test_kasan.c:301:59: error: array subscript 235 is outside array bounds of 'char[235]' [-Werror=array-bounds] lib/test_kasan.c:305:59: error: array subscript 240 is outside array bounds of 'char[235]' [-Werror=array-bounds] cc1: all warnings being treated as errors make[2]: *** [scripts/Makefile.build:249: lib/test_kasan.o] Error 1 make[1]: *** [Makefile:1843: lib] Error 2 make: *** [Makefile:219: __sub-make] Error 2
Possible warnings (2)
.config:4841:warning: override: reassigning to symbol PREVENT_FIRMWARE_BUILD .config:4846:warning: override: reassigning to symbol GCC_PLUGIN_LATENT_ENTROPY
Full Log
# git rev-parse -q --verify db886979683a8360ced9b24ab1125ad0c4d2cf76^{commit} db886979683a8360ced9b24ab1125ad0c4d2cf76 already have revision, skipping fetch # git checkout -q -f -B kisskb db886979683a8360ced9b24ab1125ad0c4d2cf76 # git clean -qxdf # < git log -1 # commit db886979683a8360ced9b24ab1125ad0c4d2cf76 # Author: Nathan Chancellor <nathan@kernel.org> # Date: Wed Jul 13 08:24:37 2022 -0700 # # x86/speculation: Use DECLARE_PER_CPU for x86_spec_ctrl_current # # Clang warns: # # arch/x86/kernel/cpu/bugs.c:58:21: error: section attribute is specified on redeclared variable [-Werror,-Wsection] # DEFINE_PER_CPU(u64, x86_spec_ctrl_current); # ^ # arch/x86/include/asm/nospec-branch.h:283:12: note: previous declaration is here # extern u64 x86_spec_ctrl_current; # ^ # 1 error generated. # # The declaration should be using DECLARE_PER_CPU instead so all # attributes stay in sync. # # Cc: stable@vger.kernel.org # Fixes: fc02735b14ff ("KVM: VMX: Prevent guest RSB poisoning attacks with eIBRS") # Reported-by: kernel test robot <lkp@intel.com> # Signed-off-by: Nathan Chancellor <nathan@kernel.org> # Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 db886979683a8360ced9b24ab1125ad0c4d2cf76 # < make -s -j 40 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.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 40 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- help # make -s -j 40 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- olddefconfig .config:4841:warning: override: reassigning to symbol PREVENT_FIRMWARE_BUILD .config:4846:warning: override: reassigning to symbol GCC_PLUGIN_LATENT_ENTROPY # make -s -j 40 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- /kisskb/src/lib/test_kasan.c: In function 'krealloc_less_oob_helper.constprop': /kisskb/src/lib/test_kasan.c:330:59: error: array subscript 201 is outside array bounds of 'char[201]' [-Werror=array-bounds] 330 | KUNIT_EXPECT_KASAN_FAIL(test, ptr2[size2] = 'x'); | ~~~~~~~~~~~~^~~~~ /kisskb/src/lib/test_kasan.c:97:9: note: in definition of macro 'KUNIT_EXPECT_KASAN_FAIL' 97 | expression; \ | ^~~~~~~~~~ /kisskb/src/lib/test_kasan.c:322:16: note: referencing an object of size 201 allocated by 'krealloc' 322 | ptr2 = krealloc(ptr1, size2, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/test_kasan.c:334:59: error: array subscript 208 is outside array bounds of 'char[201]' [-Werror=array-bounds] 334 | ptr2[round_up(size2, KASAN_GRANULE_SIZE)] = 'x'); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /kisskb/src/lib/test_kasan.c:97:9: note: in definition of macro 'KUNIT_EXPECT_KASAN_FAIL' 97 | expression; \ | ^~~~~~~~~~ /kisskb/src/lib/test_kasan.c:322:16: note: referencing an object of size 201 allocated by 'krealloc' 322 | ptr2 = krealloc(ptr1, size2, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/test_kasan.c:344:52: error: array subscript 218 is outside array bounds of 'char[201]' [-Werror=array-bounds] 344 | KUNIT_EXPECT_KASAN_FAIL(test, ptr2[middle] = 'x'); | ~~~~~~~~~~~~~^~~~~ /kisskb/src/lib/test_kasan.c:97:9: note: in definition of macro 'KUNIT_EXPECT_KASAN_FAIL' 97 | expression; \ | ^~~~~~~~~~ /kisskb/src/lib/test_kasan.c:322:16: note: referencing an object of size 201 allocated by 'krealloc' 322 | ptr2 = krealloc(ptr1, size2, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/test_kasan.c:345:55: error: array subscript 234 is outside array bounds of 'char[201]' [-Werror=array-bounds] 345 | KUNIT_EXPECT_KASAN_FAIL(test, ptr2[size1 - 1] = 'x'); | ~~~~~~~~~~~~~~~~^~~~~ /kisskb/src/lib/test_kasan.c:97:9: note: in definition of macro 'KUNIT_EXPECT_KASAN_FAIL' 97 | expression; \ | ^~~~~~~~~~ /kisskb/src/lib/test_kasan.c:322:16: note: referencing an object of size 201 allocated by 'krealloc' 322 | ptr2 = krealloc(ptr1, size2, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/test_kasan.c:346:51: error: array subscript 235 is outside array bounds of 'char[201]' [-Werror=array-bounds] 346 | KUNIT_EXPECT_KASAN_FAIL(test, ptr2[size1] = 'x'); | ~~~~~~~~~~~~^~~~~ /kisskb/src/lib/test_kasan.c:97:9: note: in definition of macro 'KUNIT_EXPECT_KASAN_FAIL' 97 | expression; \ | ^~~~~~~~~~ /kisskb/src/lib/test_kasan.c:322:16: note: referencing an object of size 201 allocated by 'krealloc' 322 | ptr2 = krealloc(ptr1, size2, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/test_kasan.c: In function 'krealloc_more_oob_helper.constprop': /kisskb/src/lib/test_kasan.c:301:59: error: array subscript 235 is outside array bounds of 'char[235]' [-Werror=array-bounds] 301 | KUNIT_EXPECT_KASAN_FAIL(test, ptr2[size2] = 'x'); | ~~~~~~~~~~~~^~~~~ /kisskb/src/lib/test_kasan.c:97:9: note: in definition of macro 'KUNIT_EXPECT_KASAN_FAIL' 97 | expression; \ | ^~~~~~~~~~ /kisskb/src/lib/test_kasan.c:290:16: note: referencing an object of size 235 allocated by 'krealloc' 290 | ptr2 = krealloc(ptr1, size2, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/test_kasan.c:305:59: error: array subscript 240 is outside array bounds of 'char[235]' [-Werror=array-bounds] 305 | ptr2[round_up(size2, KASAN_GRANULE_SIZE)] = 'x'); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /kisskb/src/lib/test_kasan.c:97:9: note: in definition of macro 'KUNIT_EXPECT_KASAN_FAIL' 97 | expression; \ | ^~~~~~~~~~ /kisskb/src/lib/test_kasan.c:290:16: note: referencing an object of size 235 allocated by 'krealloc' 290 | ptr2 = krealloc(ptr1, size2, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[2]: *** [/kisskb/src/scripts/Makefile.build:249: lib/test_kasan.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1843: lib] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:219: __sub-make] Error 2 Command 'make -s -j 40 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.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-gcc11 # Build took: 0:02:24.122807
© Michael Ellerman 2006-2018.