Buildresult: powerpc-next/corenet32_smp_defconfig/powerpc-gcc5 built on Oct 29, 14:33
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
Failed
Date/Time:
Oct 29, 14:33
Duration:
0:01:09.834319
Builder:
alpine2
Revision:
powerpc: Adjust adding stack protector flags to KBUILD_CLAGS for clang (
bee08a9e6ab03caf14481d97b35a258400ffab8f)
Target:
powerpc-next/corenet32_smp_defconfig/powerpc-gcc5
Branch:
powerpc-next
Compiler:
powerpc-gcc5
(powerpc64-linux-gcc (GCC) 5.5.0 / GNU ld (GNU Binutils) 2.29.1.20170915)
Config:
corenet32_smp_defconfig
(
download
)
Log:
Download original
Possible errors
make[3]: *** [scripts/Makefile.vmlinux:34: vmlinux] Error 139 make[2]: *** [Makefile:1166: vmlinux] Error 2 make[1]: *** [Makefile:224: __sub-make] Error 2 make: *** [Makefile:224: __sub-make] Error 2
No warnings found in log.
Full Log
# git rev-parse -q --verify bee08a9e6ab03caf14481d97b35a258400ffab8f^{commit} bee08a9e6ab03caf14481d97b35a258400ffab8f already have revision, skipping fetch # git checkout -q -f -B kisskb bee08a9e6ab03caf14481d97b35a258400ffab8f # git clean -qxdf # < git log -1 # commit bee08a9e6ab03caf14481d97b35a258400ffab8f # Author: Nathan Chancellor <nathan@kernel.org> # Date: Wed Oct 9 12:26:09 2024 -0700 # # powerpc: Adjust adding stack protector flags to KBUILD_CLAGS for clang # # After fixing the HAVE_STACKPROTECTER checks for clang's in-progress # per-task stack protector support [1], the build fails during prepare0 # because '-mstack-protector-guard-offset' has not been added to # KBUILD_CFLAGS yet but the other '-mstack-protector-guard' flags have. # # clang: error: '-mstack-protector-guard=tls' is used without '-mstack-protector-guard-offset', and there is no default # clang: error: '-mstack-protector-guard=tls' is used without '-mstack-protector-guard-offset', and there is no default # make[4]: *** [scripts/Makefile.build:229: scripts/mod/empty.o] Error 1 # make[4]: *** [scripts/Makefile.build:102: scripts/mod/devicetable-offsets.s] Error 1 # # Mirror other architectures and add all '-mstack-protector-guard' flags # to KBUILD_CFLAGS atomically during stack_protector_prepare, which # resolves the issue and allows clang's implementation to fully work with # the kernel. # # Cc: stable@vger.kernel.org # 6.1+ # Link: https://github.com/llvm/llvm-project/pull/110928 [1] # Reviewed-by: Keith Packard <keithp@keithp.com> # Tested-by: Keith Packard <keithp@keithp.com> # Signed-off-by: Nathan Chancellor <nathan@kernel.org> # Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> # Link: https://patch.msgid.link/20241009-powerpc-fix-stackprotector-test-clang-v2-2-12fb86b31857@kernel.org # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 bee08a9e6ab03caf14481d97b35a258400ffab8f # make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-next_corenet32_smp_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- corenet32_smp_defconfig Using /kisskb/src/arch/powerpc/configs/corenet_base.config as base Merging /kisskb/src/arch/powerpc/configs/85xx-32bit.config Merging /kisskb/src/arch/powerpc/configs/85xx-smp.config Merging /kisskb/src/arch/powerpc/configs/85xx-hw.config Merging /kisskb/src/arch/powerpc/configs/fsl-emb-nonhw.config Merging /kisskb/src/arch/powerpc/configs/dpaa.config # # merged configuration written to .config (needs make) # # < make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-next_corenet32_smp_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-next_corenet32_smp_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-next_corenet32_smp_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- Segmentation fault (core dumped) make[3]: *** [/kisskb/src/scripts/Makefile.vmlinux:34: vmlinux] Error 139 make[2]: *** [/kisskb/src/Makefile:1166: vmlinux] Error 2 make[1]: *** [/kisskb/src/Makefile:224: __sub-make] Error 2 make: *** [Makefile:224: __sub-make] Error 2 Command 'make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-next_corenet32_smp_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2. # rm -rf /kisskb/build/powerpc-next_corenet32_smp_defconfig_powerpc-gcc5 # Build took: 0:01:09.834319
© Michael Ellerman 2006-2018.