Phantom nulls in usbdevs.h during 9-STABLE kernel build

Konstantin Belousov kostikbel at gmail.com
Fri Jul 5 03:28:34 UTC 2013


On Thu, Jul 04, 2013 at 07:38:24PM -0400, J David wrote:
> On Thu, Jul 4, 2013 at 12:15 PM, Dimitry Andric <dim at freebsd.org> wrote:
> 
> > One other thing: which type of file system are you using for /usr/obj, or
> > wherever you pointed $MAKEOBJDIRPREFIX?
> >
> 
> Also ZFS-over-NFS.  The goal is to build on one machine and install on many.
> 
> I was able to reproduce this with gcc:
> 
> ===> usb/u3g (all)
> cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc
>   -DHAVE_KERNEL_OPTION_HEADERS -include
> /usr/obj/usr/src/sys/NFSN32/opt_global.h -I. -I@ -I@/contrib/altq
> -finline-limit=8000 --param inline-unit-growth=100 --param
> large-function-growth=1000 -fno-common -g -I/usr/obj/usr/src/sys/NFSN32
>  -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-sse
> -msoft-float -ffreestanding -fstack-protector -std=iso9899:1999
> -fstack-protector -Wall -Wredundant-decls -Wnested-externs
> -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
> -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions
>  -Wmissing-include-dirs -fdiagnostics-show-option   -c
> /usr/src/sys/modules/usb/u3g/../../../dev/usb/serial/u3g.c
> In file included from
> /usr/src/sys/modules/usb/u3g/../../../dev/usb/serial/u3g.c:57:
> ./usbdevs.h:1362:1: error: null character(s) ignored
> *** [u3g.o] Error code 1

Try to apply r252528 and see if it helps.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20130705/6fd5616c/attachment.sig>


More information about the freebsd-stable mailing list