From owner-freebsd-stable@FreeBSD.ORG Mon Oct 12 11:50:31 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A71151065672 for ; Mon, 12 Oct 2009 11:50:31 +0000 (UTC) (envelope-from howard@leadmon.net) Received: from ibm.leadmon.net (ibm.leadmon.net [207.114.24.13]) by mx1.freebsd.org (Postfix) with ESMTP id 0CBF28FC14 for ; Mon, 12 Oct 2009 11:50:30 +0000 (UTC) Received: from HDLDESKTOP64 (hdl-desktop-64.leadmon.net [207.114.24.3]) (authenticated bits=0) by ibm.leadmon.net (8.14.3/8.14.3/LNSG+SCOP+PSBL+LUBL+NJABL+SBL+DSBL+SORBS+CBL+RHSBL) with ESMTP id n9CBVTLs098791 for ; Mon, 12 Oct 2009 07:31:29 -0400 (EDT) (envelope-from howard@leadmon.net) X-DKIM: Sendmail DKIM Filter v2.8.3 ibm.leadmon.net n9CBVTLs098791 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=leadmon.net; s=default; t=1255347089; bh=xkIn/ssiB36mx4p5cik8Do9GHiH3ul/GAMSEnUmNV6o=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=ZFW1pds5q/zCoeRqdjU5a8qJa8FkP6ApS/kp4ghapk0sV6+3OpLJi48bp5ynOnv9C ROix/LvDDik3P7JY2Gffq06Is5xbeF5zzxfyf/dxvmSeHYHOoGHdbMZru3fyluTtBy pp1m0Q/SDorNjRyrEJAR4yDCun7vXf0TPYGDVccE= X-DomainKeys: Sendmail DomainKeys Filter v1.0.2 ibm.leadmon.net n9CBVTLs098791 DomainKey-Signature: a=rsa-sha1; s=default; d=leadmon.net; c=simple; q=dns; h=x-senderid:authentication-results:from:to:subject:date: message-id:mime-version:content-type:x-mailer:thread-index:content-language; b=Dk1hyn1Qb11jsuJcU0GVX/qC6JPANxF4325CadauL/GZKvuwfXZWXffBig20kWCub /UXGLg+CRu/Y7iPN45hvL92Db3vbAi8oJTkqxjYZm98aDW8t8iip28HreNU/qOSausN cB/RZvXmdYf58VH6VRokSxgOnqc7v7YmZ4VOJxI= X-SenderID: Sendmail Sender-ID Filter v1.0.0 ibm.leadmon.net n9CBVTLs098791 Authentication-Results: ibm.leadmon.net; sender-id=pass header.from=howard@leadmon.net; spf=pass smtp.mfrom=howard@leadmon.net From: "Howard Leadmon" To: Date: Mon, 12 Oct 2009 07:31:26 -0400 Message-ID: <002001ca4b2f$8aa3fef0$9febfcd0$@net> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 12.0 thread-index: AcpLL4i6hrMwEY4wRP+cGKSI4HkmNw== Content-Language: en-us X-Virus-Scanned: clamav-milter 0.95.2 at ibm.leadmon.net X-Virus-Status: Clean Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Kernel Build Issues with latest cvsup of both a 7.2 system, and a 6.4 system.. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Oct 2009 11:50:31 -0000 Not sure if I am just having a run of bad luck here, but I have a bunch of various free BSD boxen on both 6.4-STABLE, and on 7.2-STABLE. I try and make it a point to do a cvsup and update the machines every month or so to keep things current and any updates/patches installed. I decided a couple days ago, it was again time to do this again. So I ran cvsup on the machines, and set out to rebuild, first doing a 'make buildworld', then a 'make installworld', and finally a 'mergemaster' on the servers. That all went well, then time for a kernel update, so I performed a 'make buildkernel KERNCONF=GENERIC' to create the new kernel, which is where things went bad. On my 6.4-STABLE x86 machine, I received the following: cc -c -O -pipe -march=pentium4 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/dev/ath -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -I/usr/src/sys/dev/em -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror /usr/src/sys/kern/kern_event.c /usr/src/sys/kern/kern_event.c:408: warning: no previous prototype for 'knote_fork' *** Error code 1 Stop in /usr/obj/usr/src/sys/GENERIC. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. On my 7.2-STABLE amd64 machine, I received the following: cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -march=nocona -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/dev/ath -I/usr/src/sys/dev/ath/ath_hal -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -I/usr/src/sys/gnu/fs/xfs/FreeBSD -I/usr/src/sys/gnu/fs/xfs/FreeBSD/support -I/usr/src/sys/gnu/fs/xfs -I/usr/src/sys/contrib/opensolaris/compat -I/usr/src/sys/dev/cxgb -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding /usr/src/sys/amd64/amd64/genassym.c In file included from /usr/src/sys/vm/pmap.h:82, from /usr/src/sys/amd64/amd64/genassym.c:61: ./machine/pmap.h:323: error: expected declaration specifiers or '...' before 'vm_memattr_t' *** Error code 1 Stop in /usr/obj/usr/src/sys/GENERIC. *** Error code 1 Stop in /usr/src. *** Error code 1 I have rebuilt the above servers many times over, and I must say it's worked great, so was really thrown that not only one version on a server would blow up, but two different versions of the OS would pop at the same moment. Needless to say I haven't tried to rebuild any of my other 6.4 or 7.2 boxen yet, as I want to get the above two attempts sorted out first. Has something changed I am forgetting to do that is not biting me in the backside, or has some bug been introduced I am now aware of currently causing issues?? If anyone can help sort this out, or if you need additional info, please let me know.. --- Howard Leadmon