From owner-freebsd-current@FreeBSD.ORG Wed Feb 18 04:06:10 2009 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C2EF1065675 for ; Wed, 18 Feb 2009 04:06:10 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout022.mac.com (asmtpout022.mac.com [17.148.16.97]) by mx1.freebsd.org (Postfix) with ESMTP id BAF978FC18 for ; Wed, 18 Feb 2009 04:06:09 +0000 (UTC) (envelope-from xcllnt@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from MacBook-Pro.lan.xcllnt.net (xcllnt.net [75.101.29.67]) by asmtp022.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPSA id <0KF8006M6U28MG80@asmtp022.mac.com>; Tue, 17 Feb 2009 20:06:09 -0800 (PST) Message-id: <302F9BB0-AF38-422C-86DB-96FCF47C2168@mac.com> From: Marcel Moolenaar To: "M. Warner Losh" In-reply-to: <20090217.203647.-1518647466.imp@bsdimp.com> Date: Tue, 17 Feb 2009 20:06:08 -0800 References: <20090218023328.227617302F@freebsd-current.sentex.ca> <20090217.203647.-1518647466.imp@bsdimp.com> X-Mailer: Apple Mail (2.930.3) Cc: mips@FreeBSD.org, tinderbox@FreeBSD.org, current@FreeBSD.org Subject: Re: [head tinderbox] failure on mips/mips 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: Wed, 18 Feb 2009 04:06:10 -0000 On Feb 17, 2009, at 7:36 PM, M. Warner Losh wrote: > In message: <20090218023328.227617302F@freebsd-current.sentex.ca> > FreeBSD Tinderbox writes: > : /src/usr.sbin/bsnmpd/modules/snmp_mibII/../../../../contrib/bsnmp/ > snmp_mibII/mibII.c:1016: warning: cast increases required alignment > of target type > > there's still 3 or 4 of these in the tree that I'm trying to track > back to root cause. A simple (void *) fixes the problem, but I want > to understand the issues before I slap that bad-boy in there... I think the warning simply means that you cast from pointer to type A with alignment requirement P to pointer to type B with alignment requirement Q, and with P < Q. This doesn't necessary mean there's a problem (i.e that you have a misaligned dereference), but there's a potential. A case by case analysis is called for... -- Marcel Moolenaar xcllnt@mac.com