Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Nov 2001 00:16:35 +1100 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Jim Bryant <kc5vdj@yahoo.com>
Cc:        <current@FreeBSD.ORG>
Subject:   Re: kernel won't build - atomic.c/atomic.h errors...
Message-ID:  <20011109000347.J2336-100000@delplex.bde.org>
In-Reply-To: <3BE31270.5010905@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <machine/atomic.h> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011109000347.J2336-100000>