Date: Wed, 19 Jul 2000 19:31:12 -0700 (PDT) From: John Polstra <jdp@polstra.com> To: hm@hcs.de Cc: current@freebsd.org Subject: Re: kernel compile failure without -O option Message-ID: <200007200231.TAA15177@vashon.polstra.com> In-Reply-To: <20000719144614.7FE52483D@hcswork.hcs.de> References: <20000719144614.7FE52483D@hcswork.hcs.de>
next in thread | previous in thread | raw e-mail | index | archive | help
In article <20000719144614.7FE52483D@hcswork.hcs.de>, Hellmuth Michaelis <hm@hcs.de> wrote: > > In the process of tracing down the problem of the kernel panic when booting > a kernel with pcvt enabled, i tried to compile a kernel without the -O > option to gcc and got this compile failure (sources from 18.7.2000 9:00 MET): > > 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' > machine/atomic.h: In function `atomic_clear_char': > machine/atomic.h:107: inconsistent operand constraints in an `asm' [...] I have seen that same problem recently in a slightly different context. After staring at the code for a very long time, I could only conclude that the problem was a bug in gcc. John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200007200231.TAA15177>