From owner-freebsd-current@FreeBSD.ORG Tue Jan 15 22:11:50 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC95416A419 for ; Tue, 15 Jan 2008 22:11:50 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail.speedfactory.net [66.23.216.219]) by mx1.freebsd.org (Postfix) with ESMTP id 75A6513C442 for ; Tue, 15 Jan 2008 22:11:50 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.8q) with ESMTP id 228635859-1834499 for multiple; Tue, 15 Jan 2008 17:09:54 -0500 Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.8/8.13.8) with ESMTP id m0FMBgVQ062213; Tue, 15 Jan 2008 17:11:46 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-current@freebsd.org Date: Tue, 15 Jan 2008 16:45:24 -0500 User-Agent: KMail/1.9.7 References: <20080115172200.4332F73039@freebsd-current.sentex.ca> <20080115205231.GF29422@bunrab.catwhisker.org> In-Reply-To: <20080115205231.GF29422@bunrab.catwhisker.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200801151645.24261.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Tue, 15 Jan 2008 17:11:46 -0500 (EST) X-Virus-Scanned: ClamAV 0.91.2/5484/Tue Jan 15 14:31:27 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Subject: Re: [head tinderbox] failure on i386/i386 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jan 2008 22:11:50 -0000 On Tuesday 15 January 2008 03:52:31 pm David Wolfskill wrote: > On Tue, Jan 15, 2008 at 12:22:00PM -0500, FreeBSD Tinderbox wrote: > > ... > > cc -c -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror -pg -mprofiler-epilogue /src/sys/dev/cxgb/cxgb_sge.c > > cc1: warnings being treated as errors > > /src/sys/dev/cxgb/cxgb_sge.c: In function 't3_encap': > > /src/sys/dev/cxgb/cxgb_sge.c:1254: warning: format '%ld' expects type 'long int', but argument 2 has type 'unsigned int' > > *** Error code 1 > > > > Stop in /obj/src/sys/LINT. > > *** Error code 1 > > > > Stop in /src. > > *** Error code 1 > > > > Stop in /src. > > Attached is the hack I used to get through this, in case it helps > someone. > > Caveat: I don't use cxgb(4) myself, so I haven't actually tested the > result. I think '%zd' may be the best actually since PIO_LEN is a constant minus a size_t. -- John Baldwin