Buildresult: powerpc-next-rand/powerpc-randconfig/powerpc-gcc11 built on Aug 4 2022, 19:59
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
Failed
Date/Time:
Aug 4 2022, 19:59
Duration:
0:04:36.263307
Builder:
ka7
Revision:
powerpc/64e: Fix kexec build error (
4cfa6ff24a9744ba484521c38bea613134fbfcb3)
Target:
powerpc-next-rand/powerpc-randconfig/powerpc-gcc11
Branch:
powerpc-next-rand
Compiler:
powerpc-gcc11
(powerpc64-linux-gcc (GCC) 11.1.0 / GNU ld (GNU Binutils) 2.36.1)
Config:
randconfig
(
download
)
Log:
Download original
Possible errors
ERROR: start_text address is c000000000000400, should be c000000000000200 ERROR: try to enable LD_HEAD_STUB_CATCH config option ERROR: see comments in arch/powerpc/tools/head_check.sh make[2]: *** [arch/powerpc/Makefile.postlink:31: vmlinux] Error 1 make[1]: *** [Makefile:1164: vmlinux] Error 2 make: *** [Makefile:219: __sub-make] Error 2
Possible warnings (12)
.config:5248:warning: override: reassigning to symbol STANDALONE .config:5254:warning: override: reassigning to symbol SECTION_MISMATCH_WARN_ONLY .config:5255:warning: override: reassigning to symbol PREVENT_FIRMWARE_BUILD .config:5258:warning: override: reassigning to symbol LD_HEAD_STUB_CATCH .config:5260:warning: override: reassigning to symbol UBSAN lib/test_kasan.c:330:59: warning: array subscript 201 is outside array bounds of 'char[201]' [-Warray-bounds] lib/test_kasan.c:334:59: warning: array subscript 208 is outside array bounds of 'char[201]' [-Warray-bounds] lib/test_kasan.c:344:52: warning: array subscript 218 is outside array bounds of 'char[201]' [-Warray-bounds] lib/test_kasan.c:345:55: warning: array subscript 234 is outside array bounds of 'char[201]' [-Warray-bounds] lib/test_kasan.c:346:51: warning: array subscript 235 is outside array bounds of 'char[201]' [-Warray-bounds] lib/test_kasan.c:301:59: warning: array subscript 235 is outside array bounds of 'char[235]' [-Warray-bounds] lib/test_kasan.c:305:59: warning: array subscript 240 is outside array bounds of 'char[235]' [-Warray-bounds]
Full Log
# git rev-parse -q --verify 4cfa6ff24a9744ba484521c38bea613134fbfcb3^{commit} 4cfa6ff24a9744ba484521c38bea613134fbfcb3 already have revision, skipping fetch # git checkout -q -f -B kisskb 4cfa6ff24a9744ba484521c38bea613134fbfcb3 # git clean -qxdf # < git log -1 # commit 4cfa6ff24a9744ba484521c38bea613134fbfcb3 # Author: Michael Ellerman <mpe@ellerman.id.au> # Date: Wed Aug 3 16:29:41 2022 +1000 # # powerpc/64e: Fix kexec build error # # When building ppc64_book3e_allmodconfig the build fails with: # # arch/powerpc/kexec/file_load_64.c:1063:14: error: implicit declaration of function ‘firmware_has_feature’ # 1063 | if (!firmware_has_feature(FW_FEATURE_LPAR)) # | ^~~~~~~~~~~~~~~~~~~~ # # Add a direct include of asm/firmware.h to fix the error. # # Fixes: b1fc44eaa9ba ("pseries/iommu/ddw: Fix kdump to work in absence of ibm,dma-window") # Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> # Link: https://lore.kernel.org/r/20220803063152.1249270-1-mpe@ellerman.id.au # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 4cfa6ff24a9744ba484521c38bea613134fbfcb3 # < make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- randconfig # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_CPU_BIG_ENDIAN=y # Added to kconfig CONFIG_PPC64=y # Added to kconfig CONFIG_PPC_DISABLE_WERROR=y # Added to kconfig CONFIG_SECTION_MISMATCH_WARN_ONLY=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_LD_HEAD_STUB_CATCH=y # Added to kconfig CONFIG_TRIM_UNUSED_KSYMS=n # Added to kconfig CONFIG_UBSAN=n # < make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:5248:warning: override: reassigning to symbol STANDALONE .config:5254:warning: override: reassigning to symbol SECTION_MISMATCH_WARN_ONLY .config:5255:warning: override: reassigning to symbol PREVENT_FIRMWARE_BUILD .config:5258:warning: override: reassigning to symbol LD_HEAD_STUB_CATCH .config:5260:warning: override: reassigning to symbol UBSAN # make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/lib/test_kasan.c: In function 'krealloc_less_oob_helper.constprop': /kisskb/src/lib/test_kasan.c:330:59: warning: array subscript 201 is outside array bounds of 'char[201]' [-Warray-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: warning: array subscript 208 is outside array bounds of 'char[201]' [-Warray-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: warning: array subscript 218 is outside array bounds of 'char[201]' [-Warray-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: warning: array subscript 234 is outside array bounds of 'char[201]' [-Warray-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: warning: array subscript 235 is outside array bounds of 'char[201]' [-Warray-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: warning: array subscript 235 is outside array bounds of 'char[235]' [-Warray-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: warning: array subscript 240 is outside array bounds of 'char[235]' [-Warray-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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ERROR: start_text address is c000000000000400, should be c000000000000200 ERROR: try to enable LD_HEAD_STUB_CATCH config option ERROR: see comments in arch/powerpc/tools/head_check.sh make[2]: *** [/kisskb/src/arch/powerpc/Makefile.postlink:31: vmlinux] Error 1 make[1]: *** [/kisskb/src/Makefile:1164: vmlinux] Error 2 make[1]: *** Deleting file 'vmlinux' make: *** [Makefile:219: __sub-make] Error 2 Command 'make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc-gcc11 # Build took: 0:04:36.263307
© Michael Ellerman 2006-2018.