Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jul 2013 19:38:24 -0400
From:      J David <j.david.lists@gmail.com>
To:        Dimitry Andric <dim@freebsd.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Phantom nulls in usbdevs.h during 9-STABLE kernel build
Message-ID:  <CABXB=RT87QJsH_CM6QSrJeXRn76VTMQ4SXhop9Ge%2BW8_vto_nw@mail.gmail.com>
In-Reply-To: <F1DF4DC8-97F4-4770-97F9-ADE0685F1E4E@freebsd.org>
References:  <CABXB=RRuvueMQ=KpEy=04RT9n-z%2BW_Ap%2BTDWZn6xqVet1=w-LA@mail.gmail.com> <2D61560D-E3D9-4558-8715-8215DBBF21D9@FreeBSD.org> <CABXB=RSpLo7sXR3F74QYrtOwYvk3OKGou0h9XQtu3b0E-hNxYw@mail.gmail.com> <F1DF4DC8-97F4-4770-97F9-ADE0685F1E4E@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 4, 2013 at 12:15 PM, Dimitry Andric <dim@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!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABXB=RT87QJsH_CM6QSrJeXRn76VTMQ4SXhop9Ge%2BW8_vto_nw>