svn commit: r263478 - in stable/10: share/man/man9 sys/contrib/ipfilter/netinet sys/net sys/netatalk sys/netinet sys/netinet6 sys/netipx sys/netpfil/pf sys/nfs usr.bin/netstat

Adam Weinberger adamw at FreeBSD.org
Sat Mar 22 21:36:13 UTC 2014


>> (2014/03/22 @ 1714 EST): Adam Weinberger said, in 1.2K: <<
> >> (2014/03/21 @ 1627 EST): Andrey Chernov said, in 1.1K: <<
> > On 22.03.2014 0:07, Andrey Chernov wrote:
> > > /usr/src/usr.bin/netstat/route.c:333:7: error: format specifies type
> > > 'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long
> > > long') [-Werror,-Wformat]
> > >                     kread_counter((u_long )rt->rt_pksent));
> > >                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > 
> > The whole expression is
> >                 len = snprintf(buffer, sizeof(buffer), "%lu",
> >                     kread_counter((u_long )rt->rt_pksent));
> > 
> > You can't print uint64_t kread_counter() using %lu on i386.
> >> end of "Re: svn commit: r263478 - in stable/10: share/man/man9 sys/contrib/ipfilter/netinet sys/net sys/netatalk sys/netinet sys/netinet6 sys/netipx sys/netpfil/pf sys/nfs usr.bin/netstat" from Andrey Chernov <<
> 
> Can somebody maybe merge r262819? 10-STABLE is unbuildable on i386 right
> now.
> 
>> end of "Re: svn commit: r263478 - in stable/10: share/man/man9 sys/contrib/ipfilter/netinet sys/net sys/netatalk sys/netinet sys/netinet6 sys/netipx sys/netpfil/pf sys/nfs usr.bin/netstat" from Adam Weinberger <<

Well, with that commit applied, it still dies later on. glebius, what's
the deal man, this one looks like it's from March 12.

===> usr.sbin/route6d (all)
clang -O2 -pipe -mtune=native -march=native -O2 -pipe -Qunused-arguments  -DHAVE_POLL_H -std=gnu99 -Qunused-arguments  -fstack-protector -Wsystem-headers -Werror -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses -c /usr/src/usr.sbin/route6d/route6d.c
In file included from /usr/src/usr.sbin/route6d/route6d.c:68:
In file included from /usr/obj/usr/src/tmp/usr/include/net/route.h:36:
In file included from /usr/obj/usr/src/tmp/usr/include/sys/counter.h:35:
/usr/obj/usr/src/tmp/usr/include/machine/counter.h:170:3: error: implicit declaration of function 'critical_enter' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
                critical_enter();
                ^
/usr/obj/usr/src/tmp/usr/include/machine/counter.h:172:3: error: implicit declaration of function 'critical_exit' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
                critical_exit();
                ^
/usr/obj/usr/src/tmp/usr/include/machine/counter.h:172:3: note: did you mean 'critical_enter'?
/usr/obj/usr/src/tmp/usr/include/machine/counter.h:170:3: note: 'critical_enter' declared here
                critical_enter();
                ^
2 errors generated.
*** Error code 1

Stop.
make[4]: stopped in /usr/src/usr.sbin/route6d
*** Error code 1

Stop.
make[3]: stopped in /usr/src/usr.sbin
*** Error code 1

Stop.
make[2]: stopped in /usr/src
*** Error code 1

Stop.
make[1]: stopped in /usr/src
*** Error code 1

Stop.
make: stopped in /usr/src


--
Adam Weinberger
adamw at adamw.org
http://www.adamw.org


More information about the svn-src-stable-10 mailing list