Phantom nulls in usbdevs.h during 9-STABLE kernel build
J David
j.david.lists at gmail.com
Thu Jul 4 23:38:25 UTC 2013
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
Thanks!
More information about the freebsd-stable
mailing list