Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Oct 2010 12:17:28 -0400
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        John Nielsen <john@jnielsen.net>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Rui Paulo <rpaulo@freebsd.org>
Subject:   Re: svn commit: r213765 - head/sys/dev/aic7xxx/aicasm
Message-ID:  <201010141217.45403.jkim@FreeBSD.org>
In-Reply-To: <80A99C4D-ACAF-45CD-BE51-3B7560A85D96@jnielsen.net>
References:  <201010131033.o9DAX1EE080534@svn.freebsd.org> <80A99C4D-ACAF-45CD-BE51-3B7560A85D96@jnielsen.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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