Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Feb 2000 10:43:31 -0500 (EST)
From:      Brian Dean <brdean@unx.sas.com>
To:        sobomax@altavista.net
Cc:        current@FreeBSD.ORG
Subject:   Re: gcc code generation bug (optimisation related)
Message-ID:  <200002211543.KAA00586@dean.pc.sas.com>
In-Reply-To: <38B106D0.B416F877@altavista.net> from Maxim Sobolev at "Feb 21, 2000 11:35:13 am"

next in thread | previous in thread | raw e-mail | index | archive | help
This was my mistake.  Seigo Tanimura found the problem and sent me a
patch which I committed as soon as I saw it.  I had a bad contraint on
the destination operand of an __asm inline that did not trigger when I
built the kernel at the default optimization level, but does at other
optimization levels.

-Brian
--
Brian Dean
bsd@freebsd.org
brdean@unx.sas.com

Maxim Sobolev wrote:
> Hi,
> 
> When I'm trying to compile kernel from just cvsup'ed sources on system
> builded/installed last evening I have following error message. This problem
> could be solved by lowering optimisation to -O, but previously I have no
> problems with -O2 for kernels.
> 
> cc -c -O2 -march=pentium -Wall -Wredundant-decls -Wnested-externs
> -Wstrict-proto
> types  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
> -fformat-exten
> sions -ansi  -nostdinc -I- -I. -I../.. -I../../../include  -D_KERNEL -include
> op
> t_global.h -elf  -mpreferred-stack-boundary=2  ../../i386/i386/machdep.c
> /tmp/ccfL2694.s: Assembler messages:
> /tmp/ccfL2694.s:3563: Error: operands given don't match any known 386
> instruction
> *** Error code 1


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?200002211543.KAA00586>