Re: sparc: icmpv6.h:70:2: error: implicit declaration of function '__icmpv6_send'; did you mean 'icmpv6_send'? [-Werror=implicit-function-declaration]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Mar 02, 2021 at 01:33:18PM +0530, Naresh Kamboju wrote:
> On Tue, 2 Mar 2021 at 13:30, Greg Kroah-Hartman
> <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
> >
> > On Mon, Mar 01, 2021 at 10:42:34PM +0530, Naresh Kamboju wrote:
> > > On stable rc 5.11 sparc allnoconfig and tinyconfig failed with gcc-8,
> > > gcc-9 and gcc-10.
> > >
> > > make --silent --keep-going --jobs=8
> > > O=/home/tuxbuild/.cache/tuxmake/builds/1/tmp ARCH=sparc
> > > CROSS_COMPILE=sparc64-linux-gnu- 'CC=sccache sparc64-linux-gnu-gcc'
> > > 'HOSTCC=sccache gcc'
> > > <stdin>:1335:2: warning: #warning syscall rseq not implemented [-Wcpp]
> > > In file included from include/net/ndisc.h:50,
> > >                  from include/net/ipv6.h:21,
> > >                  from include/linux/sunrpc/clnt.h:28,
> > >                  from include/linux/nfs_fs.h:32,
> > >                  from init/do_mounts.c:22:
> > > include/linux/icmpv6.h: In function 'icmpv6_ndo_send':
> > > include/linux/icmpv6.h:70:2: error: implicit declaration of function
> > > '__icmpv6_send'; did you mean 'icmpv6_send'?
> > > [-Werror=implicit-function-declaration]
> > >    70 |  __icmpv6_send(skb_in, type, code, info, &parm);
> > >       |  ^~~~~~~~~~~~~
> > >       |  icmpv6_send
> > > cc1: some warnings being treated as errors
> > > make[2]: *** [scripts/Makefile.build:304: init/do_mounts.o] Error 1
> > >
> > > Reported-by: Naresh Kamboju <naresh.kamboju@xxxxxxxxxx>
> > >
> > > Ref:
> > > https://gitlab.com/Linaro/lkft/mirrors/stable/linux-stable-rc/-/jobs/1064179275#L62
> >
> > Ok, I can duplicate this on 4.19.y, but not 5.11.y, let me see how to
> > resolve it...
> 
> My bad. The reported problem is on 5.4, 4.19, 4.14 and 4.9.

Ok, that makes more sense, thanks, will try to unwind the #ifdef mess
here...



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux