svn commit: r213765 - head/sys/dev/aic7xxx/aicasm

Jung-uk Kim jkim at FreeBSD.org
Thu Oct 14 16:17:53 UTC 2010


On Thursday 14 October 2010 11:18 am, John Nielsen wrote:
> I'm migrating a box from 8-STABLE to -CURRENT this morning and this
> commit seems to break buildkernel:
>
> cc -O2 -pipe -nostdinc -I/usr/include -I.
> -I/usr/src/sys/dev/aic7xxx/aicasm -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
> -Wunused-parameter -Wcast-align -Wno-pointer-sign -c aicasm_scan.c
> cc1: warnings being treated as errors
> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:840: warning:
> function declaration isn't a prototype *** Error code 1
>
> I don't have any custom CFLAGS, etc defined. Commenting out the new
> #defines from this patch allows the build to continue.
>
> I'm guessing this doesn't happen on machines already running
> -CURRENT or tinderbox (and others) would have noticed. However if
> this is (going to be) a supported upgrade path from 8.x to 9.0
> perhaps there's a way to make both clang and gcc from 8.x happy?

If you want to upgrade from N to N+1, "make buildworld" is required.

Jung-uk Kim


More information about the svn-src-head mailing list