From owner-freebsd-current@FreeBSD.ORG Fri Aug 29 12:02:55 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E5551F08 for ; Fri, 29 Aug 2014 12:02:55 +0000 (UTC) Received: from smtp1.multiplay.co.uk (smtp1.multiplay.co.uk [85.236.96.35]) by mx1.freebsd.org (Postfix) with ESMTP id A9AD51234 for ; Fri, 29 Aug 2014 12:02:55 +0000 (UTC) Received: by smtp1.multiplay.co.uk (Postfix, from userid 65534) id E07F720E7088B; Fri, 29 Aug 2014 12:02:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.multiplay.co.uk X-Spam-Level: ** X-Spam-Status: No, score=2.2 required=8.0 tests=AWL,BAYES_00,DOS_OE_TO_MX, FSL_HELO_NON_FQDN_1,RDNS_DYNAMIC,STOX_REPLY_TYPE autolearn=no version=3.3.1 Received: from r2d2 (82-69-141-170.dsl.in-addr.zen.co.uk [82.69.141.170]) by smtp1.multiplay.co.uk (Postfix) with ESMTPS id 12BBD20E70886; Fri, 29 Aug 2014 12:02:47 +0000 (UTC) Message-ID: From: "Steven Hartland" To: "David Shao" , References: Subject: Re: i386 compilation errors in head/sys/dev/ixl/if_ixl.c Date: Fri, 29 Aug 2014 13:02:44 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 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: Fri, 29 Aug 2014 12:02:56 -0000 Looks like this was already fixed by: http://svnweb.freebsd.org/changeset/base/270799 Regards Steve ----- Original Message ----- From: "David Shao" To: Sent: Friday, August 29, 2014 6:38 AM Subject: i386 compilation errors in head/sys/dev/ixl/if_ixl.c > Compilation errors occur in head/sys/dev/ixl/if_ixl.c on i386 for > FreeBSD 11-current for the following: > > In function ixl_print_debug_info() > > printf("Queue irqs = %lx\n", que->irqs); > printf("AdminQ irqs = %lx\n", pf->admin_irq); > ... > printf("RX not ready = %lx\n", rxr->not_done); > printf("RX packets = %lx\n", rxr->rx_packets); > > all cause > error: format specifies type 'unsigned long' but the argument has type > 'u64' (aka 'unsigned long long') [-Werror,-Wformat] > > In function ixl_stat_update48(struct i40e_hw *hw, u32 hireg, u32 > loreg, > bool offset_loaded, u64 *offset, u64 *stat) > > > #if __FreeBSD__ >= 10 && __amd64__ > > causes > error: '__amd64__' is not defined, evaluates to 0 [-Werror,-Wundef] > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to > "freebsd-current-unsubscribe@freebsd.org" >