Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jan 2004 08:28:35 -0800
From:      "David O'Brien" <obrien@freebsd.org>
To:        Frode Nordahl <frode@nordahl.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: rpc.lockd(8) seg faults on 5.2-RELEASE
Message-ID:  <20040130162835.GD5544@dragon.nuxi.com>
In-Reply-To: <236E6CBD-5301-11D8-B122-000A95A9A574@nordahl.net>
References:  <3DC16400-517B-11D8-9CB2-0005028F6AEB@TrueStep.com> <B6959364-5240-11D8-91E0-000A95A9A574@nordahl.net> <68FC202A-525D-11D8-B122-000A95A9A574@nordahl.net> <20040129135653.H21660@mail.allcaps.org> <236E6CBD-5301-11D8-B122-000A95A9A574@nordahl.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jan 30, 2004 at 09:48:56AM +0100, Frode Nordahl wrote:
> Hello,
> 
> I had default CFLAGS in effect, which includes -O. :-(
> 
> Added -O0 now.

You auctually *do* want -O in CFLAGS.  -O0 means to totally turn off the
optimizer.  GCC sometimes generates bad code with the optimizer turned
off.  -O or -O1 is the offical FreeBSD optimization level.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040130162835.GD5544>