From owner-svn-src-all@FreeBSD.ORG Thu Oct 14 16:17:53 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id A228E1065672; Thu, 14 Oct 2010 16:17:52 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: John Nielsen Date: Thu, 14 Oct 2010 12:17:28 -0400 User-Agent: KMail/1.6.2 References: <201010131033.o9DAX1EE080534@svn.freebsd.org> <80A99C4D-ACAF-45CD-BE51-3B7560A85D96@jnielsen.net> In-Reply-To: <80A99C4D-ACAF-45CD-BE51-3B7560A85D96@jnielsen.net> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201010141217.45403.jkim@FreeBSD.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Rui Paulo Subject: Re: svn commit: r213765 - head/sys/dev/aic7xxx/aicasm X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Oct 2010 16:17:53 -0000 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