From owner-freebsd-current@FreeBSD.ORG Fri Jan 30 10:48:05 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B9C5916A4CE; Fri, 30 Jan 2004 10:48:05 -0800 (PST) Received: from smtp1.powertech.no (smtp1.powertech.no [195.159.0.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id 181A143D2D; Fri, 30 Jan 2004 10:48:04 -0800 (PST) (envelope-from frode@nordahl.net) Received: from [195.159.148.100] (samwise.xu.nordahl.net [195.159.148.100]) by smtp1.powertech.no (Postfix) with ESMTP id 26D738214; Fri, 30 Jan 2004 19:48:02 +0100 (CET) In-Reply-To: <20040130162835.GD5544@dragon.nuxi.com> References: <3DC16400-517B-11D8-9CB2-0005028F6AEB@TrueStep.com> <68FC202A-525D-11D8-B122-000A95A9A574@nordahl.net> <20040129135653.H21660@mail.allcaps.org> <236E6CBD-5301-11D8-B122-000A95A9A574@nordahl.net> <20040130162835.GD5544@dragon.nuxi.com> Mime-Version: 1.0 (Apple Message framework v612) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Frode Nordahl Date: Fri, 30 Jan 2004 19:48:03 +0100 To: obrien@freebsd.org X-Mailer: Apple Mail (2.612) cc: "Andrew P. Lentvorski, Jr." cc: freebsd-current@freebsd.org Subject: Re: rpc.lockd(8) seg faults on 5.2-RELEASE X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jan 2004 18:48:05 -0000 On Jan 30, 2004, at 17:28, David O'Brien wrote: >> 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. Of course, I normally would want this, but I am trying to avoid core dumps that will make gdb show wrong line numbers. I thought optimization some times caused such problems, or is it something else? Mvh, Frode