From owner-freebsd-current@FreeBSD.ORG Fri Aug 29 05:38:06 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 EF8FCF84 for ; Fri, 29 Aug 2014 05:38:06 +0000 (UTC) Received: from mail-oa0-x22f.google.com (mail-oa0-x22f.google.com [IPv6:2607:f8b0:4003:c02::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BDA34153C for ; Fri, 29 Aug 2014 05:38:06 +0000 (UTC) Received: by mail-oa0-f47.google.com with SMTP id i7so1432344oag.20 for ; Thu, 28 Aug 2014 22:38:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=n66VX5fnAOS76zj73feza9V7KBg6x6q5DyDljBhK0xg=; b=ovQqaMWkaOv0TvKPTbL0qqDFf3wcnI3eQ/ygH4S2yBo2h++9hvULrO6yaQfXxYQoe7 QYRe1mXAcdXwYCWd57ZJMtIz+qyMYknUqD24+U89pIown7w7QAPC+d8oJ+GTMcXE7h5d EVBmXp/UHwkYZvSFvwsOEOLH506RMfjhhaohJ0YUyUsXD7jk+kdemcS0NO0eR03IPVcG sigoI6gkDWnlPZZBEps+9/fbg3w3zcCdLLHtOjKSvmNfICIdko2mtLP+kalm+tehs1Yg AMxJCoz7nQ5TlwkPR1BHVrMnq9ECuHokp1eqbfDXKDlXFTmrbe82XjqtQnii1gpl+Jtj 20Vw== MIME-Version: 1.0 X-Received: by 10.60.145.143 with SMTP id su15mr8369116oeb.58.1409290686074; Thu, 28 Aug 2014 22:38:06 -0700 (PDT) Received: by 10.202.105.4 with HTTP; Thu, 28 Aug 2014 22:38:06 -0700 (PDT) Date: Thu, 28 Aug 2014 22:38:06 -0700 Message-ID: Subject: i386 compilation errors in head/sys/dev/ixl/if_ixl.c From: David Shao To: freebsd-current@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Mailman-Approved-At: Fri, 29 Aug 2014 11:33:49 +0000 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 05:38:07 -0000 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]