Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jul 2001 20:04:41 -0700 (PDT)
From:      Gordon Tetlow <gordont@gnf.org>
To:        Stewart Morgan <stewart@nameless-uk.com>
Cc:        <freebsd-stable@FreeBSD.ORG>, 'Greg Lehey' <grog@lemis.com>
Subject:   Re: PANIC in FFS -- Please HELP!
Message-ID:  <Pine.LNX.4.33.0107182000480.19368-100000@smtp.gnf.org>
In-Reply-To: <000001c10fb2$ed07a0e0$0f01000a@saturn>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 18 Jul 2001, Stewart Morgan wrote:

> CPUTYPE=i686
>
> CFLAGS=-O -pipe -felide-constructors -mcpu=pentiumpro -march=pentiumpro
> -ffast-math -felide-constructors -fexpensive-optimizations
> -funroll-loops -funroll-all-loops -fmemoize-lookups -fsave-memoized
> -fno-strength-reduce
>
> CXXFLAGS+=-O -pipe -felide-constructors -mcpu=pentiumpro
> -march=pentiumpro -ffast-math -felide-constructors
> -fexpensive-optimizations -funroll-loops -funroll-all-loops
> -fmemoize-lookups -fsave-memoized -fno-strength-reduce
>
> COPTFLAGS=-O -pipe -felide-constructors -mcpu=pentiumpro
> -march=pentiumpro -ffast-math -felide-constructors
> -fexpensive-optimizations -funroll-loops -funroll-all-loops
> -fmemoize-lookups -fsave-memoized -fno-strength-reduce
>
>

I feel obligated to point out the warning from /etc/defaults/make.conf:

# CFLAGS controls the compiler settings used when compiling C code.
# Note that optimization settings above -O (-O2, ...) are not recommended
# or supported for compiling the world or the kernel - please revert any
# nonstandard optimization settings to "-O" before submitting bug reports
# to the developers.

Please try your setup with the a "normal" CFLAGS (ie -O -pipe) and then
see if you get a reproducible panic. If you do, then report it to the
mailing list. Otherwise, you are a victim of a *known* bad code optimizer
which you were warned about.

-gordon



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?Pine.LNX.4.33.0107182000480.19368-100000>