From owner-svn-src-all@FreeBSD.ORG Sat Mar 22 21:36:13 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4210C487; Sat, 22 Mar 2014 21:36:13 +0000 (UTC) Received: from apnoea.adamw.org (apnoea.adamw.org [204.109.59.150]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id EE784A07; Sat, 22 Mar 2014 21:36:12 +0000 (UTC) Received: by apnoea.adamw.org (Postfix, from userid 1002) id 2BBC2121759; Sat, 22 Mar 2014 17:36:12 -0400 (EDT) Date: Sat, 22 Mar 2014 17:36:11 -0400 From: Adam Weinberger To: Adam Weinberger 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> References: <201403211515.s2LFFVUb064861@svn.freebsd.org> <532C9C02.5010409@freebsd.org> <532CA0AD.2000608@freebsd.org> <20140322211429.GA1584@apnoea.adamw.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140322211429.GA1584@apnoea.adamw.org> X-Editor: Vim 7.3 http://www.vim.org X-Mailer: Mutt 1.5 http://www.mutt.org X-Adamw: ADAMW!!! X-URL: http://www.adamw.org User-Agent: Mutt/1.5.23 (2014-03-12) Cc: src-committers@freebsd.org, Andrey Chernov , svn-src-stable@freebsd.org, svn-src-all@freebsd.org, Gleb Smirnoff , svn-src-stable-10@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Mar 2014 21:36:13 -0000 >> (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