From owner-freebsd-current Thu Nov 8 5:17:51 2001 Delivered-To: freebsd-current@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 4266137B418 for ; Thu, 8 Nov 2001 05:17:48 -0800 (PST) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id AAA24278; Fri, 9 Nov 2001 00:17:43 +1100 Date: Fri, 9 Nov 2001 00:16:35 +1100 (EST) From: Bruce Evans X-X-Sender: To: Jim Bryant Cc: Subject: Re: kernel won't build - atomic.c/atomic.h errors... In-Reply-To: <3BE31270.5010905@yahoo.com> Message-ID: <20011109000347.J2336-100000@delplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 2 Nov 2001, Jim Bryant wrote: > Is anyone else seeing this problem? I posted a message the other day to this list, and have yet to see a single response. > > This is from a completely fresh cvsup of everything. > > buildworld succeeds, but the kernel build fails on atomic.c with the following message about the ATOMIC_ASM macros in atomic.h. > > The archetecture is 5.0-really-current on an SMP P2-333 machine. > > the message seems to be: "inconsistent operand constraints in an `asm'" Only people who have clobbered -O in CFLAGS in /etc/make.conf should see this problem :-). The i386 still uses archaic constraints for some input-output operands ("0" for the first operand). These never worked right and if fact don't actually work for compiling this file without optimization. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message