Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Mar 2014 17:36:11 -0400
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        Adam Weinberger <adamw@FreeBSD.org>
Cc:        src-committers@freebsd.org, Andrey Chernov <ache@freebsd.org>, svn-src-stable@freebsd.org, svn-src-all@freebsd.org, Gleb Smirnoff <glebius@FreeBSD.org>, svn-src-stable-10@freebsd.org
Subject:   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
Message-ID:  <20140322213611.GA28948@apnoea.adamw.org>
In-Reply-To: <20140322211429.GA1584@apnoea.adamw.org>
References:  <201403211515.s2LFFVUb064861@svn.freebsd.org> <532C9C02.5010409@freebsd.org> <532CA0AD.2000608@freebsd.org> <20140322211429.GA1584@apnoea.adamw.org>

next in thread | previous in thread | raw e-mail | index | archive | help
>> (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@adamw.org
http://www.adamw.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140322213611.GA28948>