From owner-freebsd-current@FreeBSD.ORG Wed Feb 26 18:32:49 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 1F2BBAA8 for ; Wed, 26 Feb 2014 18:32:49 +0000 (UTC) Received: from mail-ee0-x234.google.com (mail-ee0-x234.google.com [IPv6:2a00:1450:4013:c00::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id AB7051A8B for ; Wed, 26 Feb 2014 18:32:48 +0000 (UTC) Received: by mail-ee0-f52.google.com with SMTP id c41so766852eek.25 for ; Wed, 26 Feb 2014 10:32:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=C394BA/XnTBpsSX0aXPNeuxatLbbnPnGcuJ1kqSqFIM=; b=ITDcSMOqxodo2rxQD+5MzqbYdnMbs6owi/0MJ6Vm1Uy2ypOOeWt+v4LCc133oYUL5e 0Vxu8Y7ED8x7HX9HASP2CyJZ0eKAIzoDX1nRoI5mLT8O+7ToNazA3MOlXb1OoR5F5ImR GhRuPJvz9RrBHh2Q8TZ50m6FkZDXltADHe1stbjTT8KL9U26CQgER6MoIWHWTSqlpBHl nqIQhJGSyZKudbTvqsZyKIxxsNa4NdhsIXRCxrTg48FfJuBZugFQsRqGClcE515YOXfk H4SBrE0g0Z/THxBwgCGq9CGGJBUsfahjA3Ein1w9vb2ec1cfXA+NULrpYtza9u2HNbLt /vjQ== MIME-Version: 1.0 X-Received: by 10.205.9.67 with SMTP id ov3mr3203644bkb.13.1393439566960; Wed, 26 Feb 2014 10:32:46 -0800 (PST) Sender: chmeeedalf@gmail.com Received: by 10.205.21.68 with HTTP; Wed, 26 Feb 2014 10:32:46 -0800 (PST) Date: Wed, 26 Feb 2014 10:32:46 -0800 X-Google-Sender-Auth: clojDUBn0XgSyBnVWwP1MjnBi1w Message-ID: Subject: Build failure on PowerPC in pf From: Justin Hibbits To: FreeBSD Current Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 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: Wed, 26 Feb 2014 18:32:49 -0000 Building on PowerPC I see the following failure: cc1: warnings being treated as errors /home/chmeee/freebsd/head/sys/modules/pf/../../netpfil/pf/pf_ioctl.c: In function 'pfioctl': /home/chmeee/freebsd/head/sys/modules/pf/../../netpfil/pf/pf_ioctl.c:1357:warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] /home/chmeee/freebsd/head/sys/modules/pf/../../netpfil/pf/pf_ioctl.c:1359:warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] /home/chmeee/freebsd/head/sys/modules/pf/../../netpfil/pf/pf_ioctl.c:1361:warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] struct pf_rule has counter_u64_t entries, which are actually pointers to uint64_t's. These pointers get assigned from the result of counter_u64_fetch(), which returns a uint64_t. Looks to me like there's a bug in here, but I have no idea what to do to fix it. And I'm surprised this hasn't been reported against other 32-bit architectures. - Justin