[head tinderbox] failure on mips/mips

Marcel Moolenaar xcllnt at mac.com
Tue Feb 17 21:06:09 PST 2009


On Feb 17, 2009, at 7:36 PM, M. Warner Losh wrote:

> In message: <20090218023328.227617302F at freebsd-current.sentex.ca>
>            FreeBSD Tinderbox <tinderbox at freebsd.org> 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 at mac.com





More information about the freebsd-tinderbox mailing list