From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.bugs Subject: Re: Build Failure Date: Sat, 15 Jun 2002 15:47:33 -0600 (MDT) Sender: bug-gnu-emacs-admin@gnu.org Message-ID: <200206152147.g5FLlXE10974@aztec.santafe.edu> References: <1020431829.514859@sj-nntpcache-5> <3CD2B8A1.E3BAC47@is.elta.co.il> <1020772560.927220@sj-nntpcache-5> <8296-Tue07May2002175828+0300-eliz@is.elta.co.il> <1020784405.676466@sj-nntpcache-3> <1024063905.30056@sj-nntpcache-5> <1024071857.503257@sj-nntpcache-3> Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1024177722 19870 127.0.0.1 (15 Jun 2002 21:48:42 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 15 Jun 2002 21:48:42 +0000 (UTC) Cc: gnu-emacs-bug@prep.ai.mit.edu Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17JLPV-0005AN-00 for ; Sat, 15 Jun 2002 23:48:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17JLPT-0004lX-00; Sat, 15 Jun 2002 17:48:39 -0400 Original-Received: from pele.santafe.edu ([192.12.12.119]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17JLOQ-0004bD-00 for ; Sat, 15 Jun 2002 17:47:35 -0400 Original-Received: from aztec.santafe.edu (aztec [192.12.12.49]) by pele.santafe.edu (8.11.6+Sun/8.11.6) with ESMTP id g5FLlXQ11000; Sat, 15 Jun 2002 15:47:33 -0600 (MDT) Original-Received: (from rms@localhost) by aztec.santafe.edu (8.10.2+Sun/8.9.3) id g5FLlXE10974; Sat, 15 Jun 2002 15:47:33 -0600 (MDT) X-Authentication-Warning: aztec.santafe.edu: rms set sender to rms@aztec using -f Original-To: nicbrown@cisco.com In-Reply-To: <1024071857.503257@sj-nntpcache-3> (message from Nick Brown on Fri, 14 Jun 2002 17:15:40 +0100) Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:2070 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:2070 But the big question is, why when I use the default -O2 and don't specify --without-x does it built just fine !? the optimisation error obviously only relates to stuff that's included for emacs when there is no X support. any ideas? You can try compiling various files with different flags and determine which file is the locus of the problem. Then you can try splitting that file into two parts, compiling each part differently, and moving some things between the parts. then you can find which function is the locus of the problem. Then someone could study the erroneous assembler code made for that function and try to find the GCC bug. But before trying any of this, how about if you install the latest GCC release and see if it still fails. There is no point in your spending time to debug a GCC bug that has been fixed already.