Date: 21 Nov 2000 13:38:54 +0100 From: Cyrille Lefevre <clefevre@cybercable.fr> To: freebsd-stable@FreeBSD.ORG Subject: Re: kernel breackage in machine/atomic.h Message-ID: <d7fpcxep.fsf@gits.dyndns.org> In-Reply-To: Cyrille Lefevre's message of "20 Nov 2000 22:42:31 %2B0100" References: <8zqemibc.fsf@gits.dyndns.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Cyrille Lefevre <clefevre@cybercable.fr> writes: [snip] > the symptom is : > > cc -c -fomit-frame-pointer -fno-builtin -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -g -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' > ... [snip] I've found the problem. cc need -O to compile this file (well, all files :) and my make.conf get rid of this. in fact, not really, since I use +=, but kernel's Makefile use ?= for COPTFLAGS. maybe it should use += also ? Cyrille. -- home: mailto:clefevre@citeweb.net work: mailto:Cyrille.Lefevre@edf.fr 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?d7fpcxep.fsf>