From owner-freebsd-stable Tue Dec 4 11:58:46 2001 Delivered-To: freebsd-stable@freebsd.org Received: from netau1.alcanet.com.au (ntp.alcanet.com.au [203.62.196.27]) by hub.freebsd.org (Postfix) with ESMTP id BBBCC37B41A for ; Tue, 4 Dec 2001 11:58:19 -0800 (PST) Received: from mfg1.cim.alcatel.com.au (mfg1.cim.alcatel.com.au [139.188.23.1]) by netau1.alcanet.com.au (8.9.3 (PHNE_22672)/8.9.3) with ESMTP id GAA19220; Wed, 5 Dec 2001 06:58:09 +1100 (EDT) Received: from gsmx07.alcatel.com.au by cim.alcatel.com.au (PMDF V5.2-32 #37640) with ESMTP id <01KBI0NLM274VLOMX7@cim.alcatel.com.au>; Wed, 5 Dec 2001 06:58:08 +1100 Received: (from jeremyp@localhost) by gsmx07.alcatel.com.au (8.11.6/8.11.6) id fB4Jw7Z28058; Wed, 05 Dec 2001 06:58:07 +1100 Content-return: prohibited Date: Wed, 05 Dec 2001 06:58:07 +1100 From: Peter Jeremy Subject: Re: Kernel compile error for last few days In-reply-to: <4.3.2.7.2.20011202122254.00bd4c90@mail.bogon.net>; from wes@bogon.net on Sun, Dec 02, 2001 at 12:36:00PM -0800 To: Wes Santee Cc: freebsd-stable@FreeBSD.ORG Mail-Followup-To: Wes Santee , freebsd-stable@FreeBSD.ORG Message-id: <20011205065806.D68607@gsmx07.alcatel.com.au> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-disposition: inline User-Agent: Mutt/1.2.5i References: <4.3.2.7.2.20011202122254.00bd4c90@mail.bogon.net> 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 On Sun, Dec 02, 2001 at 12:36:00PM -0800, 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. ... >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': >machine/atomic.h:106: inconsistent operand constraints in an `asm' Skipping the previously mentioned problem with your update order... Your immediate problem is that you don't have "-O" on your CFLAGS. There are difficulties producing a set of asm constraints that work correctly both with and without optimisation. This problem comes up every few months and a fix is being worked on in -CURRENT. Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message