Cyrille Lefevre <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED] work: mailto:[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message

Reply via email to