Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Apr 2011 16:30:31 -0700
From:      Jeremy Chadwick <freebsd@jdc.parodius.com>
To:        FreeBSD Tinderbox <tinderbox@freebsd.org>
Cc:        arm@freebsd.org, stable@freebsd.org, hselasky@freebsd.org
Subject:   Re: [releng_8 tinderbox] failure on arm/arm
Message-ID:  <20110428233030.GA35428@icarus.home.lan>
In-Reply-To: <201104282106.p3SL6W1Y030026@freebsd-stable.sentex.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Apr 28, 2011 at 09:06:32PM +0000, FreeBSD Tinderbox wrote:
> ===> usr.sbin/usbdump (all)
> cc -O -pipe  -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wno-uninitialized -Wno-pointer-sign -c /src/usr.sbin/usbdump/usbdump.c
> cc1: warnings being treated as errors
> /src/usr.sbin/usbdump/usbdump.c: In function 'print_apacket':
> /src/usr.sbin/usbdump/usbdump.c:353: warning: cast increases required alignment of target type
> /src/usr.sbin/usbdump/usbdump.c: In function 'print_packets':
> /src/usr.sbin/usbdump/usbdump.c:399: warning: cast increases required alignment of target type
> *** Error code 1
> 
> Stop in /src/usr.sbin/usbdump.
> *** Error code 1

CC'ing hselasky and thompsa for review of this.

For failure logs (so far ia64 and arm), please see end of this page:

http://lists.freebsd.org/pipermail/freebsd-stable/2011-April/thread.html

Commit question is revision 1.6.2.2 to RELENG_8:

http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.sbin/usbdump/usbdump.c

Relevant code bits:

290: static void
291: print_apacket(const struct bpf_xhdr *hdr, const uint8_t *ptr, int ptr_len)
292: {
...
349:                        const struct usbpf_framehdr *uf;
...
353:                        uf = (const struct usbpf_framehdr *)ptr;

-- 
| Jeremy Chadwick                                   jdc@parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.               PGP 4BD6C0CB |




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110428233030.GA35428>