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 [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message