Date: Mon, 14 Aug 2000 15:57:53 +1000 From: Peter Jeremy <peter.jeremy@alcatel.com.au> To: Doug Lee <dgl@visi.com> Cc: freebsd-stable@FreeBSD.ORG Subject: Re: Can't build kernel in 4.1 snapshot? Message-ID: <00Aug14.155828est.115225@border.alcanet.com.au> In-Reply-To: <Pine.BSF.4.21.0008121855490.59349-100000@kirk.dsl.visi.com>; from dgl@visi.com on Sat, Aug 12, 2000 at 06:57:29PM -0500 References: <Pine.BSF.4.21.0008121855490.59349-100000@kirk.dsl.visi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2000-Aug-12 18:57:29 -0500, Doug Lee <dgl@visi.com> wrote: >cc -c -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -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:47: >machine/atomic.h: In function `atomic_set_char': >machine/atomic.h:106: inconsistent operand constraints in an `asm' There is a problem with the way gcc handles asm constraints. The problem here will go away as soon as you add a `-O' to the compiler flags. Have a look at the thread "kernel compile failure without -O option" in -current - I posted a followup that includes some patches that should solve the problem (I can't quote the exact message ID of my response because our firewall helpfully rewrites it). 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?00Aug14.155828est.115225>