Sorry for mot responding sooner.
On Wed, Oct 31, 2001 at 09:27:58PM -0600, Jim Bryant wrote:
>cc -c -g -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
>-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi
>-nostdinc -I- -I. -I../../.. -I../../../dev -I../../../contrib/dev/acpica
>-I../../../contrib/ipfilter -I../../../../include -D_KERNEL -include opt_global.h
>-elf -mpreferred-stack-boundary=2 -fomit-frame-pointer ../../../i386/i386/atomic.c
>In file included from ../../../i386/i386/atomic.c:48:
>machine/atomic.h: In function `atomic_set_char':
>machine/atomic.h:214: inconsistent operand constraints in an `asm'
On Fri, Nov 02, 2001 at 03:38:56PM -0600, Jim Bryant wrote:
>Is anyone else seeing this problem?
There is a problem with the way gcc handles asm constraints. The
quick solution is to compile with `-O'. For a more detailed analysis
and my then suggested solution, refer to the thread "kernel compile
failure without -O option" in -current from Jul 2000 (I can't quote
the exact message ID of my response because our firewall helpfully
Since those patches were written, the code has been cleaned up to
remove support for older variants of gcc, but the constraint changes
for gcc >= 2.8 should still be valid.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message