Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jan 2020 09:31:13 +0300
From:      Pavel Timofeev <timp87@gmail.com>
To:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: Can't cross-compile HEAD
Message-ID:  <CAAoTqfvqeBDy5oKh1hfjm5G88ehYz_bJ_D%2BxiFQaD_bvP9R0Hw@mail.gmail.com>
In-Reply-To: <CAAoTqftF5ppz421CvvJU%2BauB1bsBWNCUepYVgcSEV9Bmdqg3NQ@mail.gmail.com>
References:  <CAAoTqftF5ppz421CvvJU%2BauB1bsBWNCUepYVgcSEV9Bmdqg3NQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
=D1=87=D1=82, 9 =D1=8F=D0=BD=D0=B2. 2020 =D0=B3. =D0=B2 16:52, Pavel Timofe=
ev <timp87@gmail.com>:
>
> Hello
>
> I'm trying to cross-compile HEAD r356551 for mips on my FreeBSD-12.1 amd6=
4.
> I'm using mips-gcc6-6.5.0 and this
> https://github.com/freebsd/freebsd-wifi-build nice project to build
> image for my tl-wdr3600
>
> The error I'm getting is:
> ...
> =3D=3D=3D> usr.sbin/fmtree (all)
> =3D=3D=3D> usr.bin/vi (all)
> =3D=3D=3D> usr.sbin/freebsd-update (all)
> =3D=3D=3D> usr.sbin/gpioctl (all)
> =3D=3D=3D> usr.sbin/inetd (all)
> /usr/home/pavel.timofeev/mips/head/usr.sbin/inetd/inetd.c: In function
> 'getconfigent':
> /usr/home/pavel.timofeev/mips/head/usr.sbin/inetd/inetd.c:1614:6:
> warning: variable 'v4bind' set but not used
> [-Wunused-but-set-variable]
>   int v4bind;
>       ^~~~~~
> At top level:
> /usr/home/pavel.timofeev/mips/head/usr.sbin/inetd/inetd.c:33:19:
> warning: 'copyright' defined but not used [-Wunused-const-variable=3D]
>  static const char copyright[] =3D
>                    ^~~~~~~~~
> /usr/home/pavel.timofeev/mips/head/usr.sbin/inetd/inetd.c: In function 's=
etup':
> /usr/home/pavel.timofeev/mips/head/usr.sbin/inetd/inetd.c:1368:4:
> error: 'netid' may be used uninitialized in this function
> [-Werror=3Dmaybe-uninitialized]
>     rpcb_set(sep->se_rpc_prog, i, netid, &nbuf);
>     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
> --- inetd.o ---
> *** [inetd.o] Error code 1
>
>
> Could anybody please help fix that?



Terribly sorry, I forgot to mention a very important detail.
My src.conf has the only option now.
It's WITHOUT_INET6=3D"YES"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAoTqfvqeBDy5oKh1hfjm5G88ehYz_bJ_D%2BxiFQaD_bvP9R0Hw>