Buildresult: linus-rand/arm64-randconfig/arm64-gcc5 built on Jan 11 2022, 17:23
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
Failed
Date/Time:
Jan 11 2022, 17:23
Duration:
0:03:03.877755
Builder:
blade46
Revision:
netfilter: nf_tables: don't use 'data_size' uninitialized (
63045bfd3c8dbe9c8bee7e33291202725154cb2c)
Target:
linus-rand/arm64-randconfig/arm64-gcc5
Branch:
linus-rand
Compiler:
arm64-gcc5
(aarch64-linux-gcc.br_real (Buildroot 2016.11-git-00613-ge98b4dd) 5.4.0 / GNU ld (GNU Binutils) 2.25.1)
Config:
randconfig
(
download
)
Log:
Download original
Possible errors
libbpf.c:47:20: fatal error: libelf.h: No such file or directory make[6]: *** [tools/build/Makefile.build:97: /kisskb/build/linus-rand_arm64-randconfig_arm64-gcc5.4/kernel/bpf/preload/libbpf/staticobjs/libbpf.o] Error 1 make[5]: *** [Makefile:157: /kisskb/build/linus-rand_arm64-randconfig_arm64-gcc5.4/kernel/bpf/preload/libbpf/staticobjs/libbpf-in.o] Error 2 make[4]: *** [kernel/bpf/preload/Makefile:13: /kisskb/build/linus-rand_arm64-randconfig_arm64-gcc5.4/kernel/bpf/preload/libbpf/libbpf.a] Error 2 make[3]: *** [scripts/Makefile.build:549: kernel/bpf/preload] Error 2 make[2]: *** [scripts/Makefile.build:549: kernel/bpf] Error 2 make[1]: *** [Makefile:1846: kernel] Error 2 make: *** [Makefile:219: __sub-make] Error 2
Possible warnings (4)
warning: The last gc run reported the following. Please correct the root cause warning: There are too many unreachable loose objects; run 'git prune' to remove them. .config:4599:warning: override: reassigning to symbol PREVENT_FIRMWARE_BUILD warning: ld does not support --fix-cortex-a53-843419; kernel may be susceptible to erratum
Full Log
# git rev-parse -q --verify 63045bfd3c8dbe9c8bee7e33291202725154cb2c^{commit} # git fetch -q -n -f git://fs.ozlabs.ibm.com/kernel/linus master warning: The last gc run reported the following. Please correct the root cause and remove .git/gc.log. Automatic cleanup will not be performed until the file is removed. warning: There are too many unreachable loose objects; run 'git prune' to remove them. # git rev-parse -q --verify 63045bfd3c8dbe9c8bee7e33291202725154cb2c^{commit} 63045bfd3c8dbe9c8bee7e33291202725154cb2c # git checkout -q -f -B kisskb 63045bfd3c8dbe9c8bee7e33291202725154cb2c # git clean -qxdf # < git log -1 # commit 63045bfd3c8dbe9c8bee7e33291202725154cb2c # Author: Linus Torvalds <torvalds@linux-foundation.org> # Date: Mon Jan 10 19:33:36 2022 -0800 # # netfilter: nf_tables: don't use 'data_size' uninitialized # # Commit 2c865a8a28a1 ("netfilter: nf_tables: add rule blob layout") never # initialized the new 'data_size' variable. # # I'm not sure how it ever worked, but it might have worked almost by # accident - gcc seems to occasionally miss these kinds of 'variable used # uninitialized' situations, but I've seen it do so because it ended up # zero-initializing them due to some other simplification. # # But clang is very unhappy about it all, and correctly reports # # net/netfilter/nf_tables_api.c:8278:4: error: variable 'data_size' is uninitialized when used here [-Werror,-Wuninitialized] # data_size += sizeof(*prule) + rule->dlen; # ^~~~~~~~~ # net/netfilter/nf_tables_api.c:8263:30: note: initialize the variable 'data_size' to silence this warning # unsigned int size, data_size; # ^ # = 0 # 1 error generated. # # and this fix just initializes 'data_size' to zero before the loop. # # Fixes: 2c865a8a28a1 ("netfilter: nf_tables: add rule blob layout") # Cc: Pablo Neira Ayuso <pablo@netfilter.org> # Cc: Jakub Kicinski <kuba@kernel.org> # Cc: David Miller <davem@davemloft.net> # Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> # < /opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux-gcc --version # < /opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux-ld --version # < git log --format=%s --max-count=1 63045bfd3c8dbe9c8bee7e33291202725154cb2c # < make -s -j 32 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc5.4 CROSS_COMPILE=/opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux- randconfig # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # < make -s -j 32 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc5.4 CROSS_COMPILE=/opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux- help # make -s -j 32 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc5.4 CROSS_COMPILE=/opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux- olddefconfig .config:4599:warning: override: reassigning to symbol PREVENT_FIRMWARE_BUILD # make -s -j 32 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc5.4 CROSS_COMPILE=/opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux- warning: ld does not support --fix-cortex-a53-843419; kernel may be susceptible to erratum libbpf.c:47:20: fatal error: libelf.h: No such file or directory compilation terminated. make[6]: *** [/kisskb/src/tools/build/Makefile.build:97: /kisskb/build/linus-rand_arm64-randconfig_arm64-gcc5.4/kernel/bpf/preload/libbpf/staticobjs/libbpf.o] Error 1 make[5]: *** [Makefile:157: /kisskb/build/linus-rand_arm64-randconfig_arm64-gcc5.4/kernel/bpf/preload/libbpf/staticobjs/libbpf-in.o] Error 2 make[4]: *** [/kisskb/src/kernel/bpf/preload/Makefile:13: /kisskb/build/linus-rand_arm64-randconfig_arm64-gcc5.4/kernel/bpf/preload/libbpf/libbpf.a] Error 2 make[3]: *** [/kisskb/src/scripts/Makefile.build:549: kernel/bpf/preload] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:549: kernel/bpf] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1846: kernel] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:219: __sub-make] Error 2 Command 'make -s -j 32 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc5.4 CROSS_COMPILE=/opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus-rand_arm64-randconfig_arm64-gcc5.4 # Build took: 0:03:03.877755
© Michael Ellerman 2006-2018.