Re: include/net/gro.h:413:22: error: implicit declaration of function 'csum_ipv6_magic
From: Denis Kirjanov <hidden>
Date: 2021-11-17 13:54:51
Also in:
lkml, netdev
11/17/21 3:47 PM, Naresh Kamboju пишет:
Regression found on riscv and arc gcc-11 build.
Following build warnings / errors reported on linux next 20211117.
metadata:
git_describe: next-20211117
git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next
git_short_log: fd96a4057bd0 (\"Add linux-next specific files for 20211117\")
target_arch: riscv
toolchain: gcc-11
build error :
--------------
In file included from net/core/dev.c:105:
include/net/gro.h: In function 'ip6_gro_compute_pseudo':
include/net/gro.h:413:22: error: implicit declaration of function
'csum_ipv6_magic'; did you mean 'csum_tcpudp_magic'?
[-Werror=implicit-function-declaration]
return ~csum_unfold(csum_ipv6_magic(&iph->saddr, &iph->daddr,
^~~~~~~~~~~~~~~
csum_tcpudp_magic
cc1: some warnings being treated as errorsSee https://patchwork.kernel.org/project/netdevbpf/patch/20211117100130.2368319-1-eric.dumazet@gmail.com/
Reported-by: Linux Kernel Functional Testing <redacted> link: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next/-/jobs/1790398957#L73 build link: ----------- https://builds.tuxbuild.com/211schgBXkq5zjdda7io29wMONF/build.log build config: ------------- https://builds.tuxbuild.com/211schgBXkq5zjdda7io29wMONF/config # To install tuxmake on your system globally # sudo pip3 install -U tuxmake tuxmake --runtime podman --target-arch riscv --toolchain gcc-11 --kconfig defconfig