rpc.lockd(8) seg faults on 5.2-RELEASE

David O'Brien obrien at freebsd.org
Fri Jan 30 08:33:09 PST 2004


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.


More information about the freebsd-current mailing list