From owner-freebsd-stable Sun Dec 2 13: 4:52 2001 Delivered-To: freebsd-stable@freebsd.org Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by hub.freebsd.org (Postfix) with ESMTP id 096F237B417 for ; Sun, 2 Dec 2001 13:04:41 -0800 (PST) Received: from owt.com (owt-207-41-94-232.owt.com [207.41.94.232]) by rutger.owt.com (8.9.3/8.9.3) with ESMTP id NAA17340; Sun, 2 Dec 2001 13:04:39 -0800 Message-ID: <3C0A9766.3050309@owt.com> Date: Sun, 02 Dec 2001 13:04:38 -0800 From: Kent Stewart User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2 X-Accept-Language: en-us MIME-Version: 1.0 To: Wes Santee Cc: freebsd-stable@FreeBSD.ORG Subject: Re: Kernel compile error for last few days References: <4.3.2.7.2.20011202122254.00bd4c90@mail.bogon.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Wes Santee wrote: > Greetings all. I've been trying to build a -STABLE kernel for the past > few days, and have been running into the same compile error. cvsup's > aren't appearing to fix the problem, but I haven't seen anyone else post > with this error, so I'm guessing the problem is me (bad cvsup'd file is > my guess). However, I don't really know where to look for the problem. > > Here's what I'm doing (running a FreeBSD 4.4-STABLE system from a few > weeks ago): > > 1) cvsup cvs-supfile (I get the whole 'src' cvs tree) > 2) newfs my /usr/src and /usr/obj partitions > 3) checkout the RELENG_4 branch > 4) make buildworld > 5) make installworld > 6) make KERNCONF=MYCONF buildkernel If you look at /usr/src/UPDATING, this isn't the order you are told to do it in. Now you have a userland that could be incompatible with your kernel. You really should switch 5 to the end. > > Everything before 6 works just fine with no errors. Step 6 gives me > this (snipped for space considerations): > > ===> wi > [...] > cc -c -pipe -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I/usr/src/sys > -I/usr/src/sys/../include -I/usr/src/sys/contrib/ipfilter -D_KERNEL > -include opt_global.h -elf -mpreferred-stack-boundary=2 > -fomit-frame-pointer /usr/src/sys/i386/i386/atomic.c > In file included from /usr/src/sys/i386/i386/atomic.c:47: > machine/atomic.h: In function `atomic_set_char': From a cvsup of RELENG_4 early this morning (2am PST), I did a system upgrade on two machines. They didn't have any problems. Atomic.c was compiled just fine cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer- arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/../inc lude -I/usr/src/sys/contrib/ipfilter -D_KERNEL -include opt_global.h -elf -mpreferred-stack-boundary=2 -fom it-frame-pointer /usr/src/sys/i386/i386/atomic.c cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer- arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/../inc lude -I/usr/src/sys/contrib/ipfilter -D_KERNEL -include opt_global.h -elf -mpreferred-stack-boundary=2 /us r/src/sys/i386/i386/autoconf.c -- Kent Stewart Richland, WA mailto:kbstew99@hotmail.com http://users.owt.com/kstewart/index.html FreeBSD News http://daily.daemonnews.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message