Buildresult: powerpc-fixes/x86_64-allmodconfig/x86_64-gcc8 built on Aug 2 2021, 03:33
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
Failed
Date/Time:
Aug 2 2021, 03:33
Duration:
0:16:02.450994
Builder:
ka4
Revision:
powerpc/vdso: Don't use r30 to avoid breaking Go lang (
a88603f4b92ecef9e2359e40bcb99ad399d85dd7)
Target:
powerpc-fixes/x86_64-allmodconfig/x86_64-gcc8
Branch:
powerpc-fixes
Compiler:
x86_64-gcc8
(x86_64-linux-gcc (GCC) 8.1.0 / GNU ld (GNU Binutils) 2.30)
Config:
allmodconfig
(
download
)
Log:
Download original
Possible errors
make[3]: *** [scripts/Makefile.modfinal:76: mm/kfence/kfence_test.ko] Error 1 make[2]: *** [scripts/Makefile.modpost:156: __modpost] Error 2 make[1]: *** [Makefile:1757: modules] Error 2 make: *** [Makefile:220: __sub-make] Error 2
Possible warnings (4)
kernel/trace/trace_osnoise.c:1461:8: warning: 'main' is usually a function [-Wmain] lib/test_scanf.c:530:1: warning: the frame size of 2472 bytes is larger than 2048 bytes [-Wframe-larger-than=] lib/test_scanf.c:488:1: warning: the frame size of 2952 bytes is larger than 2048 bytes [-Wframe-larger-than=] lib/test_scanf.c:437:1: warning: the frame size of 2472 bytes is larger than 2048 bytes [-Wframe-larger-than=]
Full Log
# git rev-parse -q --verify a88603f4b92ecef9e2359e40bcb99ad399d85dd7^{commit} a88603f4b92ecef9e2359e40bcb99ad399d85dd7 already have revision, skipping fetch # git checkout -q -f -B kisskb a88603f4b92ecef9e2359e40bcb99ad399d85dd7 # git clean -qxdf # < git log -1 # commit a88603f4b92ecef9e2359e40bcb99ad399d85dd7 # Author: Michael Ellerman <mpe@ellerman.id.au> # Date: Thu Jul 29 22:56:36 2021 +1000 # # powerpc/vdso: Don't use r30 to avoid breaking Go lang # # The Go runtime uses r30 for some special value called 'g'. It assumes # that value will remain unchanged even when calling VDSO functions. # Although r30 is non-volatile across function calls, the callee is free # to use it, as long as the callee saves the value and restores it before # returning. # # It used to be true by accident that the VDSO didn't use r30, because the # VDSO was hand-written asm. When we switched to building the VDSO from C # the compiler started using r30, at least in some builds, leading to # crashes in Go. eg: # # ~/go/src$ ./all.bash # Building Go cmd/dist using /usr/lib/go-1.16. (go1.16.2 linux/ppc64le) # Building Go toolchain1 using /usr/lib/go-1.16. # go build os/exec: /usr/lib/go-1.16/pkg/tool/linux_ppc64le/compile: signal: segmentation fault # go build reflect: /usr/lib/go-1.16/pkg/tool/linux_ppc64le/compile: signal: segmentation fault # go tool dist: FAILED: /usr/lib/go-1.16/bin/go install -gcflags=-l -tags=math_big_pure_go compiler_bootstrap bootstrap/cmd/...: exit status 1 # # There are patches in flight to fix Go[1], but until they are released # and widely deployed we can workaround it in the VDSO by avoiding use of # r30. # # Note this only works with GCC, clang does not support -ffixed-rN. # # 1: https://go-review.googlesource.com/c/go/+/328110 # # Fixes: ab037dd87a2f ("powerpc/vdso: Switch VDSO to generic C implementation.") # Cc: stable@vger.kernel.org # v5.11+ # Reported-by: Paul Menzel <pmenzel@molgen.mpg.de> # Tested-by: Paul Menzel <pmenzel@molgen.mpg.de> # Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> # Link: https://lore.kernel.org/r/20210729131244.2595519-1-mpe@ellerman.id.au # < /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 a88603f4b92ecef9e2359e40bcb99ad399d85dd7 # < make -s -j 120 ARCH=x86 O=/kisskb/build/powerpc-fixes_x86-allmodconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-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 120 ARCH=x86 O=/kisskb/build/powerpc-fixes_x86-allmodconfig_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 120 ARCH=x86 O=/kisskb/build/powerpc-fixes_x86-allmodconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- olddefconfig # make -s -j 120 ARCH=x86 O=/kisskb/build/powerpc-fixes_x86-allmodconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-objdump: mm/kfence/kfence_test.o: unable to initialize decompress status for section .debug_info /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-objdump: mm/kfence/kfence_test.o: unable to initialize decompress status for section .debug_info /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-objdump: mm/kfence/kfence_test.o: File format not recognized /kisskb/src/kernel/trace/trace_osnoise.c: In function 'start_kthread': /kisskb/src/kernel/trace/trace_osnoise.c:1461:8: warning: 'main' is usually a function [-Wmain] void *main = osnoise_main; ^~~~ /kisskb/src/lib/test_scanf.c: In function 'numbers_list_field_width_val_width': /kisskb/src/lib/test_scanf.c:530:1: warning: the frame size of 2472 bytes is larger than 2048 bytes [-Wframe-larger-than=] } ^ /kisskb/src/lib/test_scanf.c: In function 'numbers_list_field_width_typemax': /kisskb/src/lib/test_scanf.c:488:1: warning: the frame size of 2952 bytes is larger than 2048 bytes [-Wframe-larger-than=] } ^ /kisskb/src/lib/test_scanf.c: In function 'numbers_list': /kisskb/src/lib/test_scanf.c:437:1: warning: the frame size of 2472 bytes is larger than 2048 bytes [-Wframe-larger-than=] } ^ /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld: mm/kfence/kfence_test.o: unable to initialize decompress status for section .debug_info /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld: mm/kfence/kfence_test.o: unable to initialize decompress status for section .debug_info /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld: mm/kfence/kfence_test.o: unable to initialize decompress status for section .debug_info /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld: mm/kfence/kfence_test.o: unable to initialize decompress status for section .debug_info mm/kfence/kfence_test.o: file not recognized: File format not recognized make[3]: *** [/kisskb/src/scripts/Makefile.modfinal:76: mm/kfence/kfence_test.ko] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.modpost:156: __modpost] Error 2 make[1]: *** [/kisskb/src/Makefile:1757: modules] Error 2 make: *** [Makefile:220: __sub-make] Error 2 Command 'make -s -j 120 ARCH=x86 O=/kisskb/build/powerpc-fixes_x86-allmodconfig_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/powerpc-fixes_x86-allmodconfig_x86_64-gcc8 # Build took: 0:16:02.450994
© Michael Ellerman 2006-2018.