From owner-freebsd-stable Tue Nov 21 4:39:12 2000 Delivered-To: freebsd-stable@freebsd.org Received: from racine.cybercable.fr (racine.cybercable.fr [212.198.0.201]) by hub.freebsd.org (Postfix) with SMTP id EA45737B4C5 for ; Tue, 21 Nov 2000 04:39:08 -0800 (PST) Received: (qmail 10439804 invoked from network); 21 Nov 2000 12:39:06 -0000 Received: from s011.dhcp212-229.cybercable.fr (HELO gits.dyndns.org) ([212.198.229.11]) (envelope-sender ) by racine.cybercable.fr (qmail-ldap-1.03) with SMTP for ; 21 Nov 2000 12:39:06 -0000 Received: (from root@localhost) by gits.dyndns.org (8.11.1/8.11.1) id eALCcuR47279; Tue, 21 Nov 2000 13:38:57 +0100 (CET) (envelope-from clefevre@cybercable.fr) Original-Sender: Cyrille Lefevre Original-Sender: Cyrille Lefevre To: freebsd-stable@FreeBSD.ORG Subject: Re: kernel breackage in machine/atomic.h References: <8zqemibc.fsf@gits.dyndns.org> X-Face: V|+c;4!|B?E%BE^{E6);aI.[<97Zd*>^#%Y5Cxv;%Y[PT-LW3;A:fRrJ8+^k"e7@+30g0YD0*^^3jgyShN7o?a]C la*Zv'5NA,=963bM%J^o]C In-Reply-To: Cyrille Lefevre's message of "20 Nov 2000 22:42:31 +0100" From: Cyrille Lefevre Reply-To: Cyrille Lefevre Mail-Copies-To: never Date: 21 Nov 2000 13:38:54 +0100 Message-ID: Lines: 19 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Cyrille Lefevre 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