Date: Wed, 05 Dec 2001 06:58:07 +1100 From: Peter Jeremy <peter.jeremy@alcatel.com.au> To: Wes Santee <wes@bogon.net> Cc: freebsd-stable@FreeBSD.ORG Subject: Re: Kernel compile error for last few days Message-ID: <20011205065806.D68607@gsmx07.alcatel.com.au> 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 References: <4.3.2.7.2.20011202122254.00bd4c90@mail.bogon.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011205065806.D68607>