Buildresult: linus/parisc-allmodconfig/parisc-gcc8 built on Nov 14 2021, 14:29
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
Failed
Date/Time:
Nov 14 2021, 14:29
Duration:
0:17:25.538644
Builder:
ka1
Revision:
Merge tag 'zstd-for-linus-v5.16' of git://github.com/terrelln/linux (
c8c109546a19613d323a319d0c921cb1f317e629)
Target:
linus/parisc-allmodconfig/parisc-gcc8
Branch:
linus
Compiler:
parisc-gcc8
(hppa-linux-gcc (GCC) 8.1.0 / GNU ld (GNU Binutils) 2.30)
Config:
allmodconfig
(
download
)
Log:
Download original
Possible errors
arch/parisc/include/asm/jump_label.h:18:4: error: expected ':' before '__stringify' arch/parisc/include/asm/jump_label.h:23:1: error: label 'l_yes' defined but not used [-Werror=unused-label] arch/parisc/include/asm/jump_label.h:33:4: error: expected ':' before '__stringify' arch/parisc/include/asm/jump_label.h:38:1: error: label 'l_yes' defined but not used [-Werror=unused-label] cc1: all warnings being treated as errors make[2]: *** [scripts/Makefile.build:287: crypto/api.o] Error 1 make[1]: *** [Makefile:1850: crypto] Error 2 arch/parisc/kernel/stacktrace.c:25:7: error: implicit declaration of function '__kernel_text_address'; did you mean 'set_kernel_text_rw'? [-Werror=implicit-function-declaration] cc1: all warnings being treated as errors make[3]: *** [scripts/Makefile.build:287: arch/parisc/kernel/stacktrace.o] Error 1 make[2]: *** [scripts/Makefile.build:549: arch/parisc/kernel] Error 2 make[1]: *** [Makefile:1850: arch/parisc] Error 2 lib/zstd/compress/zstd_fast.c:476:1: error: the frame size of 3800 bytes is larger than 1536 bytes [-Werror=frame-larger-than=] lib/zstd/compress/zstd_fast.c:204:1: error: the frame size of 2224 bytes is larger than 1536 bytes [-Werror=frame-larger-than=] lib/zstd/compress/zstd_double_fast.c:499:1: error: the frame size of 3360 bytes is larger than 1536 bytes [-Werror=frame-larger-than=] lib/zstd/compress/zstd_fast.c:372:1: error: the frame size of 1824 bytes is larger than 1536 bytes [-Werror=frame-larger-than=] cc1: all warnings being treated as errors make[3]: *** [scripts/Makefile.build:287: lib/zstd/compress/zstd_fast.o] Error 1 lib/zstd/compress/zstd_double_fast.c:47:1: error: the frame size of 3252 bytes is larger than 1536 bytes [-Werror=frame-larger-than=] lib/zstd/compress/zstd_double_fast.c:334:1: error: the frame size of 5344 bytes is larger than 1536 bytes [-Werror=frame-larger-than=] drivers/gpu/drm/msm/msm_drv.h:531: error: "COND" redefined [-Werror] cc1: all warnings being treated as errors make[5]: *** [scripts/Makefile.build:287: drivers/gpu/drm/msm/adreno/adreno_device.o] Error 1 make[4]: *** [scripts/Makefile.build:549: drivers/gpu/drm/msm] Error 2 lib/zstd/compress/zstd_double_fast.c:354:1: error: the frame size of 5380 bytes is larger than 1536 bytes [-Werror=frame-larger-than=] cc1: all warnings being treated as errors make[3]: *** [scripts/Makefile.build:287: lib/zstd/compress/zstd_double_fast.o] Error 1 make[2]: *** [scripts/Makefile.build:549: lib/zstd] Error 2 make[1]: *** [Makefile:1850: lib] Error 2 make[3]: *** [scripts/Makefile.build:549: drivers/gpu/drm] Error 2 make[2]: *** [scripts/Makefile.build:549: drivers/gpu] Error 2 make[1]: *** [Makefile:1850: drivers] Error 2 make: *** [Makefile:219: __sub-make] Error 2
Possible warnings (1)
<stdin>:1559:2: warning: #warning syscall futex_waitv not implemented [-Wcpp]
Full Log
# git rev-parse -q --verify c8c109546a19613d323a319d0c921cb1f317e629^{commit} c8c109546a19613d323a319d0c921cb1f317e629 already have revision, skipping fetch # git checkout -q -f -B kisskb c8c109546a19613d323a319d0c921cb1f317e629 # git clean -qxdf # < git log -1 # commit c8c109546a19613d323a319d0c921cb1f317e629 # Merge: ccfff0a2bd2a 0a8ea235837c # Author: Linus Torvalds <torvalds@linux-foundation.org> # Date: Sat Nov 13 15:32:30 2021 -0800 # # Merge tag 'zstd-for-linus-v5.16' of git://github.com/terrelln/linux # # Pull zstd update from Nick Terrell: # "Update to zstd-1.4.10. # # Add myself as the maintainer of zstd and update the zstd version in # the kernel, which is now 4 years out of date, to a much more recent # zstd release. This includes bug fixes, much more extensive fuzzing, # and performance improvements. And generates the kernel zstd # automatically from upstream zstd, so it is easier to keep the zstd # verison up to date, and we don't fall so far out of date again. # # This includes 5 commits that update the zstd library version: # # - Adds a new kernel-style wrapper around zstd. # # This wrapper API is functionally equivalent to the subset of the # current zstd API that is currently used. The wrapper API changes to # be kernel style so that the symbols don't collide with zstd's # symbols. The update to zstd-1.4.10 maintains the same API and # preserves the semantics, so that none of the callers need to be # updated. All callers are updated in the commit, because there are # zero functional changes. # # - Adds an indirection for `lib/decompress_unzstd.c` so it doesn't # depend on the layout of `lib/zstd/` to include every source file. # This allows the next patch to be automatically generated. # # - Imports the zstd-1.4.10 source code. This commit is automatically # generated from upstream zstd (https://github.com/facebook/zstd). # # - Adds me (terrelln@fb.com) as the maintainer of `lib/zstd`. # # - Fixes a newly added build warning for clang. # # The discussion around this patchset has been pretty long, so I've # included a FAQ-style summary of the history of the patchset, and why # we are taking this approach. # # Why do we need to update? # ------------------------- # # The zstd version in the kernel is based off of zstd-1.3.1, which is # was released August 20, 2017. Since then zstd has seen many bug fixes # and performance improvements. And, importantly, upstream zstd is # continuously fuzzed by OSS-Fuzz, and bug fixes aren't backported to # older versions. So the only way to sanely get these fixes is to keep # up to date with upstream zstd. # # There are no known security issues that affect the kernel, but we need # to be able to update in case there are. And while there are no known # security issues, there are relevant bug fixes. For example the problem # with large kernel decompression has been fixed upstream for over 2 # years [1] # # Additionally the performance improvements for kernel use cases are # significant. Measured for x86_64 on my Intel i9-9900k @ 3.6 GHz: # # - BtrFS zstd compression at levels 1 and 3 is 5% faster # # - BtrFS zstd decompression+read is 15% faster # # - SquashFS zstd decompression+read is 15% faster # # - F2FS zstd compression+write at level 3 is 8% faster # # - F2FS zstd decompression+read is 20% faster # # - ZRAM decompression+read is 30% faster # # - Kernel zstd decompression is 35% faster # # - Initramfs zstd decompression+build is 5% faster # # On top of this, there are significant performance improvements coming # down the line in the next zstd release, and the new automated update # patch generation will allow us to pull them easily. # # How is the update patch generated? # ---------------------------------- # # The first two patches are preparation for updating the zstd version. # Then the 3rd patch in the series imports upstream zstd into the # kernel. This patch is automatically generated from upstream. A script # makes the necessary changes and imports it into the kernel. The # changes are: # # - Replace all libc dependencies with kernel replacements and rewrite # includes. # # - Remove unncessary portability macros like: #if defined(_MSC_VER). # # - Use the kernel xxhash instead of bundling it. # # This automation gets tested every commit by upstream's continuous # integration. When we cut a new zstd release, we will submit a patch to # the kernel to update the zstd version in the kernel. # # The automated process makes it easy to keep the kernel version of zstd # up to date. The current zstd in the kernel shares the guts of the # code, but has a lot of API and minor changes to work in the kernel. # This is because at the time upstream zstd was not ready to be used in # the kernel envrionment as-is. But, since then upstream zstd has # evolved to support being used in the kernel as-is. # # Why are we updating in one big patch? # ------------------------------------- # # The 3rd patch in the series is very large. This is because it is # restructuring the code, so it both deletes the existing zstd, and # re-adds the new structure. Future updates will be directly # proportional to the changes in upstream zstd since the last import. # They will admittidly be large, as zstd is an actively developed # project, and has hundreds of commits between every release. However, # there is no other great alternative. # # One option ruled out is to replay every upstream zstd commit. This is # not feasible for several reasons: # # - There are over 3500 upstream commits since the zstd version in the # kernel. # # - The automation to automatically generate the kernel update was only # added recently, so older commits cannot easily be imported. # # - Not every upstream zstd commit builds. # # - Only zstd releases are "supported", and individual commits may have # bugs that were fixed before a release. # # Another option to reduce the patch size would be to first reorganize # to the new file structure, and then apply the patch. However, the # current kernel zstd is formatted with clang-format to be more # "kernel-like". But, the new method imports zstd as-is, without # additional formatting, to allow for closer correlation with upstream, # and easier debugging. So the patch wouldn't be any smaller. # # It also doesn't make sense to import upstream zstd commit by commit # going forward. Upstream zstd doesn't support production use cases # running of the development branch. We have a lot of post-commit # fuzzing that catches many bugs, so indiviudal commits may be buggy, # but fixed before a release. So going forward, I intend to import every # (important) zstd release into the Kernel. # # So, while it isn't ideal, updating in one big patch is the only patch # I see forward. # # Who is responsible for this code? # --------------------------------- # # I am. This patchset adds me as the maintainer for zstd. Previously, # there was no tree for zstd patches. Because of that, there were # several patches that either got ignored, or took a long time to merge, # since it wasn't clear which tree should pick them up. I'm officially # stepping up as maintainer, and setting up my tree as the path through # which zstd patches get merged. I'll make sure that patches to the # kernel zstd get ported upstream, so they aren't erased when the next # version update happens. # # How is this code tested? # ------------------------ # # I tested every caller of zstd on x86_64 (BtrFS, ZRAM, SquashFS, F2FS, # Kernel, InitRAMFS). I also tested Kernel & InitRAMFS on i386 and # aarch64. I checked both performance and correctness. # # Also, thanks to many people in the community who have tested these # patches locally. # # Lastly, this code will bake in linux-next before being merged into # v5.16. # # Why update to zstd-1.4.10 when zstd-1.5.0 has been released? # ------------------------------------------------------------ # # This patchset has been outstanding since 2020, and zstd-1.4.10 was the # latest release when it was created. Since the update patch is # automatically generated from upstream, I could generate it from # zstd-1.5.0. # # However, there were some large stack usage regressions in zstd-1.5.0, # and are only fixed in the latest development branch. And the latest # development branch contains some new code that needs to bake in the # fuzzer before I would feel comfortable releasing to the kernel. # # Once this patchset has been merged, and we've released zstd-1.5.1, we # can update the kernel to zstd-1.5.1, and exercise the update process. # # You may notice that zstd-1.4.10 doesn't exist upstream. This release # is an artifical release based off of zstd-1.4.9, with some fixes for # the kernel backported from the development branch. I will tag the # zstd-1.4.10 release after this patchset is merged, so the Linux Kernel # is running a known version of zstd that can be debugged upstream. # # Why was a wrapper API added? # ---------------------------- # # The first versions of this patchset migrated the kernel to the # upstream zstd API. It first added a shim API that supported the new # upstream API with the old code, then updated callers to use the new # shim API, then transitioned to the new code and deleted the shim API. # However, Cristoph Hellwig suggested that we transition to a kernel # style API, and hide zstd's upstream API behind that. This is because # zstd's upstream API is supports many other use cases, and does not # follow the kernel style guide, while the kernel API is focused on the # kernel's use cases, and follows the kernel style guide. # # Where is the previous discussion? # --------------------------------- # # Links for the discussions of the previous versions of the patch set # below. The largest changes in the design of the patchset are driven by # the discussions in v11, v5, and v1. Sorry for the mix of links, I # couldn't find most of the the threads on lkml.org" # # Link: https://lkml.org/lkml/2020/9/29/27 [1] # Link: https://www.spinics.net/lists/linux-crypto/msg58189.html [v12] # Link: https://lore.kernel.org/linux-btrfs/20210430013157.747152-1-nickrterrell@gmail.com/ [v11] # Link: https://lore.kernel.org/lkml/20210426234621.870684-2-nickrterrell@gmail.com/ [v10] # Link: https://lore.kernel.org/linux-btrfs/20210330225112.496213-1-nickrterrell@gmail.com/ [v9] # Link: https://lore.kernel.org/linux-f2fs-devel/20210326191859.1542272-1-nickrterrell@gmail.com/ [v8] # Link: https://lkml.org/lkml/2020/12/3/1195 [v7] # Link: https://lkml.org/lkml/2020/12/2/1245 [v6] # Link: https://lore.kernel.org/linux-btrfs/20200916034307.2092020-1-nickrterrell@gmail.com/ [v5] # Link: https://www.spinics.net/lists/linux-btrfs/msg105783.html [v4] # Link: https://lkml.org/lkml/2020/9/23/1074 [v3] # Link: https://www.spinics.net/lists/linux-btrfs/msg105505.html [v2] # Link: https://lore.kernel.org/linux-btrfs/20200916034307.2092020-1-nickrterrell@gmail.com/ [v1] # Signed-off-by: Nick Terrell <terrelln@fb.com> # Tested By: Paul Jones <paul@pauljones.id.au> # Tested-by: Oleksandr Natalenko <oleksandr@natalenko.name> # Tested-by: Sedat Dilek <sedat.dilek@gmail.com> # LLVM/Clang v13.0.0 on x86-64 # Tested-by: Jean-Denis Girard <jd.girard@sysnux.pf> # # * tag 'zstd-for-linus-v5.16' of git://github.com/terrelln/linux: # lib: zstd: Add cast to silence clang's -Wbitwise-instead-of-logical # MAINTAINERS: Add maintainer entry for zstd # lib: zstd: Upgrade to latest upstream zstd version 1.4.10 # lib: zstd: Add decompress_sources.h for decompress_unzstd # lib: zstd: Add kernel-specific API # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/hppa-linux/bin/hppa-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/hppa-linux/bin/hppa-linux-ld --version # < git log --format=%s --max-count=1 c8c109546a19613d323a319d0c921cb1f317e629 # < make -s -j 48 ARCH=parisc O=/kisskb/build/linus_parisc-allmodconfig_parisc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/hppa-linux/bin/hppa-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 48 ARCH=parisc O=/kisskb/build/linus_parisc-allmodconfig_parisc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/hppa-linux/bin/hppa-linux- help # make -s -j 48 ARCH=parisc O=/kisskb/build/linus_parisc-allmodconfig_parisc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/hppa-linux/bin/hppa-linux- olddefconfig # make -s -j 48 ARCH=parisc O=/kisskb/build/linus_parisc-allmodconfig_parisc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/hppa-linux/bin/hppa-linux- <stdin>:1559:2: warning: #warning syscall futex_waitv not implemented [-Wcpp] In file included from /kisskb/src/include/linux/compiler_types.h:85, from <command-line>: /kisskb/src/arch/parisc/include/asm/jump_label.h: In function 'arch_static_branch': /kisskb/src/arch/parisc/include/asm/jump_label.h:18:4: error: expected ':' before '__stringify' __stringify(ASM_ULONG_INSN) " %c0 - .\n\t" ^~~~~~~~~~~ /kisskb/src/include/linux/compiler-gcc.h:86:47: note: in definition of macro 'asm_volatile_goto' #define asm_volatile_goto(x...) do { asm goto(x); asm (""); } while (0) ^ In file included from /kisskb/src/include/linux/jump_label.h:117, from /kisskb/src/crypto/api.c:15: /kisskb/src/arch/parisc/include/asm/jump_label.h:23:1: error: label 'l_yes' defined but not used [-Werror=unused-label] l_yes: ^~~~~ In file included from /kisskb/src/include/linux/compiler_types.h:85, from <command-line>: /kisskb/src/arch/parisc/include/asm/jump_label.h: In function 'arch_static_branch_jump': /kisskb/src/arch/parisc/include/asm/jump_label.h:33:4: error: expected ':' before '__stringify' __stringify(ASM_ULONG_INSN) " %c0 - .\n\t" ^~~~~~~~~~~ /kisskb/src/include/linux/compiler-gcc.h:86:47: note: in definition of macro 'asm_volatile_goto' #define asm_volatile_goto(x...) do { asm goto(x); asm (""); } while (0) ^ In file included from /kisskb/src/include/linux/jump_label.h:117, from /kisskb/src/crypto/api.c:15: /kisskb/src/arch/parisc/include/asm/jump_label.h:38:1: error: label 'l_yes' defined but not used [-Werror=unused-label] l_yes: ^~~~~ cc1: all warnings being treated as errors make[2]: *** [/kisskb/src/scripts/Makefile.build:287: crypto/api.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1850: crypto] Error 2 make[1]: *** Waiting for unfinished jobs.... /kisskb/src/arch/parisc/kernel/stacktrace.c: In function 'walk_stackframe': /kisskb/src/arch/parisc/kernel/stacktrace.c:25:7: error: implicit declaration of function '__kernel_text_address'; did you mean 'set_kernel_text_rw'? [-Werror=implicit-function-declaration] if (__kernel_text_address(info.ip)) ^~~~~~~~~~~~~~~~~~~~~ set_kernel_text_rw cc1: all warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:287: arch/parisc/kernel/stacktrace.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:549: arch/parisc/kernel] Error 2 make[1]: *** [/kisskb/src/Makefile:1850: arch/parisc] Error 2 /kisskb/src/lib/zstd/compress/zstd_fast.c: In function 'ZSTD_compressBlock_fast_extDict_generic': /kisskb/src/lib/zstd/compress/zstd_fast.c:476:1: error: the frame size of 3800 bytes is larger than 1536 bytes [-Werror=frame-larger-than=] } ^ /kisskb/src/lib/zstd/compress/zstd_fast.c: In function 'ZSTD_compressBlock_fast': /kisskb/src/lib/zstd/compress/zstd_fast.c:204:1: error: the frame size of 2224 bytes is larger than 1536 bytes [-Werror=frame-larger-than=] } ^ /kisskb/src/lib/zstd/compress/zstd_double_fast.c: In function 'ZSTD_compressBlock_doubleFast_extDict_generic': /kisskb/src/lib/zstd/compress/zstd_double_fast.c:499:1: error: the frame size of 3360 bytes is larger than 1536 bytes [-Werror=frame-larger-than=] } ^ /kisskb/src/lib/zstd/compress/zstd_fast.c: In function 'ZSTD_compressBlock_fast_dictMatchState': /kisskb/src/lib/zstd/compress/zstd_fast.c:372:1: error: the frame size of 1824 bytes is larger than 1536 bytes [-Werror=frame-larger-than=] } ^ cc1: all warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:287: lib/zstd/compress/zstd_fast.o] Error 1 make[3]: *** Waiting for unfinished jobs.... /kisskb/src/lib/zstd/compress/zstd_double_fast.c: In function 'ZSTD_fillDoubleHashTable': /kisskb/src/lib/zstd/compress/zstd_double_fast.c:47:1: error: the frame size of 3252 bytes is larger than 1536 bytes [-Werror=frame-larger-than=] } ^ /kisskb/src/lib/zstd/compress/zstd_double_fast.c: In function 'ZSTD_compressBlock_doubleFast': /kisskb/src/lib/zstd/compress/zstd_double_fast.c:334:1: error: the frame size of 5344 bytes is larger than 1536 bytes [-Werror=frame-larger-than=] } ^ In file included from /kisskb/src/drivers/gpu/drm/msm/msm_gpu.h:16, from /kisskb/src/drivers/gpu/drm/msm/adreno/adreno_gpu.h:15, from /kisskb/src/drivers/gpu/drm/msm/adreno/adreno_device.c:9: /kisskb/src/drivers/gpu/drm/msm/msm_drv.h:531: error: "COND" redefined [-Werror] #define COND(bool, val) ((bool) ? (val) : 0) In file included from /kisskb/src/arch/parisc/include/asm/processor.h:15, from /kisskb/src/arch/parisc/include/asm/spinlock.h:7, from /kisskb/src/arch/parisc/include/asm/atomic.h:22, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/arch/parisc/include/asm/bitops.h:13, from /kisskb/src/include/linux/bitops.h:33, from /kisskb/src/include/linux/kernel.h:13, from /kisskb/src/arch/parisc/include/asm/bug.h:5, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/include/linux/mmdebug.h:5, from /kisskb/src/include/linux/gfp.h:5, from /kisskb/src/include/linux/firmware.h:7, from /kisskb/src/drivers/gpu/drm/msm/adreno/adreno_gpu.h:12, from /kisskb/src/drivers/gpu/drm/msm/adreno/adreno_device.c:9: /kisskb/src/arch/parisc/include/asm/assembly.h:37: note: this is the location of the previous definition #define COND(x) x cc1: all warnings being treated as errors make[5]: *** [/kisskb/src/scripts/Makefile.build:287: drivers/gpu/drm/msm/adreno/adreno_device.o] Error 1 make[4]: *** [/kisskb/src/scripts/Makefile.build:549: drivers/gpu/drm/msm] Error 2 make[4]: *** Waiting for unfinished jobs.... /kisskb/src/lib/zstd/compress/zstd_double_fast.c: In function 'ZSTD_compressBlock_doubleFast_dictMatchState': /kisskb/src/lib/zstd/compress/zstd_double_fast.c:354:1: error: the frame size of 5380 bytes is larger than 1536 bytes [-Werror=frame-larger-than=] } ^ cc1: all warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:287: lib/zstd/compress/zstd_double_fast.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:549: lib/zstd] Error 2 make[1]: *** [/kisskb/src/Makefile:1850: lib] Error 2 make[3]: *** [/kisskb/src/scripts/Makefile.build:549: drivers/gpu/drm] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:549: drivers/gpu] Error 2 make[1]: *** [/kisskb/src/Makefile:1850: drivers] Error 2 make: *** [Makefile:219: __sub-make] Error 2 Command 'make -s -j 48 ARCH=parisc O=/kisskb/build/linus_parisc-allmodconfig_parisc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/hppa-linux/bin/hppa-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus_parisc-allmodconfig_parisc-gcc8 # Build took: 0:17:25.538644
© Michael Ellerman 2006-2018.