From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: -fomit-frame-pointer lossage FYI Date: Mon, 17 Dec 2007 03:25:06 -0500 Message-ID: References: <20071216033834.117e8649@reforged> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1197880006 26862 80.91.229.12 (17 Dec 2007 08:26:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Dec 2007 08:26:46 +0000 (UTC) Cc: emacs-devel@gnu.org To: Mike Mattie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 17 09:26:58 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1J4BJO-0004Kr-6L for ged-emacs-devel@m.gmane.org; Mon, 17 Dec 2007 09:26:54 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J4BJ4-0000C3-Sr for ged-emacs-devel@m.gmane.org; Mon, 17 Dec 2007 03:26:34 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J4BHj-0007VZ-H7 for emacs-devel@gnu.org; Mon, 17 Dec 2007 03:25:11 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J4BHh-0007UL-Te for emacs-devel@gnu.org; Mon, 17 Dec 2007 03:25:11 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J4BHh-0007UC-AQ for emacs-devel@gnu.org; Mon, 17 Dec 2007 03:25:09 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J4BHg-0005sg-MF for emacs-devel@gnu.org; Mon, 17 Dec 2007 03:25:09 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1J4BHe-0006zI-KS; Mon, 17 Dec 2007 03:25:06 -0500 In-reply-to: <20071216033834.117e8649@reforged> (message from Mike Mattie on Sun, 16 Dec 2007 03:38:34 -0800) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:85204 Archived-At: I was going to report a problem with laggy scrolling in emacs through the u= sual channels. While rebuilding emacs to narrow down the problem I discovered that my package manager was b= uilding with -fomit-frame-pointer. I like debugging so I killed the flag. To my joy it eliminated my scrolling= problem entirely. That probably means a real bug in either Emacs or GCC. Unfortunately there is no way to know which except by tracking down the specific cause. Could you try to do this? The first step is to try compiling various subsets of Emacs' files with -fomit-frame-pointer, and see which file is the cause of the problem. Then by splitting that file at various points you can find out which function is the cause of the problem. Once we know that, maybe we can spot the problem by eyeballing it.