Buildresult: linus/chrp32_defconfig/powerpc-gcc4.9 built on Sep 7 2021, 11:16
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
Failed
Date/Time:
Sep 7 2021, 11:16
Duration:
0:00:27.505954
Builder:
ka7
Revision:
thunderbolt: test: split up test cases in tb_test_credit_alloc_all (
4b93c544e90e2b28326182d31ee008eb80e02074)
Target:
linus/chrp32_defconfig/powerpc-gcc4.9
Branch:
linus
Compiler:
powerpc-gcc4.9
(powerpc64-linux-gcc (GCC) 4.9.4 / GNU ld (GNU Binutils) 2.29.1.20170915)
Config:
chrp32_defconfig
(
download
)
Log:
Download original
Possible errors
net/sched/sch_frag.c:93:10: error: missing braces around initializer [-Werror=missing-braces] net/sched/sch_frag.c:93:10: error: (near initialization for 'sch_frag_rt.dst') [-Werror=missing-braces] cc1: all warnings being treated as errors make[3]: *** [scripts/Makefile.build:277: net/sched/sch_frag.o] Error 1 make[2]: *** [scripts/Makefile.build:540: net/sched] Error 2 block/genhd.c:1164:1: error: the frame size of 1080 bytes is larger than 1024 bytes [-Werror=frame-larger-than=] cc1: all warnings being treated as errors make[2]: *** [scripts/Makefile.build:277: block/genhd.o] Error 1 make[1]: *** [Makefile:1872: block] Error 2 make[1]: *** [Makefile:1872: net] Error 2 make: *** [Makefile:219: __sub-make] Error 2
No warnings found in log.
Full Log
# git rev-parse -q --verify 4b93c544e90e2b28326182d31ee008eb80e02074^{commit} 4b93c544e90e2b28326182d31ee008eb80e02074 already have revision, skipping fetch # git checkout -q -f -B kisskb 4b93c544e90e2b28326182d31ee008eb80e02074 # git clean -qxdf # < git log -1 # commit 4b93c544e90e2b28326182d31ee008eb80e02074 # Author: Linus Torvalds <torvalds@linux-foundation.org> # Date: Mon Sep 6 12:27:03 2021 -0700 # # thunderbolt: test: split up test cases in tb_test_credit_alloc_all # # The tb_test_credit_alloc_all() function had a huge number of # KUNIT_ASSERT() statements, all of which (though the magic of many many # layers of inscrutable macros) ended up allocating and initializing # various test assertion structures on the stack. # # Don't do that. The kernel stack isn't infinite, and we have compiler # warnings (now errors) for the case where a stack frame grows too large. # # Like it did here, by not an inconsiderable margin: # # drivers/thunderbolt/test.c: In function ‘tb_test_credit_alloc_all’: # drivers/thunderbolt/test.c:2367:1: error: the frame size of 4500 bytes is larger than 2048 bytes [-Werror=frame-larger-than=] # 2367 | } # | ^ # # Solve this similarly to the lib/test_scanf case: split out the tests # into several smaller functions, each just testing one particular tunnel # credit allocation. # # This makes the i386 allyesconfig build work for me again. # # Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 4b93c544e90e2b28326182d31ee008eb80e02074 # < make -s -j 32 ARCH=powerpc O=/kisskb/build/linus_chrp32_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- chrp32_defconfig # < make -s -j 32 ARCH=powerpc O=/kisskb/build/linus_chrp32_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 32 ARCH=powerpc O=/kisskb/build/linus_chrp32_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 32 ARCH=powerpc O=/kisskb/build/linus_chrp32_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/net/sched/sch_frag.c: In function 'sch_fragment': /kisskb/src/net/sched/sch_frag.c:93:10: error: missing braces around initializer [-Werror=missing-braces] struct rtable sch_frag_rt = { 0 }; ^ /kisskb/src/net/sched/sch_frag.c:93:10: error: (near initialization for 'sch_frag_rt.dst') [-Werror=missing-braces] cc1: all warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:277: net/sched/sch_frag.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:540: net/sched] Error 2 make[2]: *** Waiting for unfinished jobs.... /kisskb/src/block/genhd.c: In function 'diskstats_show': /kisskb/src/block/genhd.c:1164:1: error: the frame size of 1080 bytes is larger than 1024 bytes [-Werror=frame-larger-than=] } ^ cc1: all warnings being treated as errors make[2]: *** [/kisskb/src/scripts/Makefile.build:277: block/genhd.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1872: block] Error 2 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1872: net] Error 2 make: *** [Makefile:219: __sub-make] Error 2 Command 'make -s -j 32 ARCH=powerpc O=/kisskb/build/linus_chrp32_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus_chrp32_defconfig_powerpc-gcc4.9 # Build took: 0:00:27.505954
© Michael Ellerman 2006-2018.