From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Brian Parent Newsgroups: gmane.emacs.bugs Subject: Re: Emacs crashes unless using -nw option Date: Wed, 13 Oct 2004 09:31:10 -0700 Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <20041013163110.GI2436@calvin.ucsd.edu> References: <20041007223113.A439160CE8@localhost.ucsd.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1097685150 26843 80.91.229.6 (13 Oct 2004 16:32:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 13 Oct 2004 16:32:30 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 13 18:32:25 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CHm36-0002nm-00 for ; Wed, 13 Oct 2004 18:32:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CHmA9-0003Us-NX for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Oct 2004 12:39:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CHmA7-0003UA-T7 for bug-gnu-emacs@gnu.org; Wed, 13 Oct 2004 12:39:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CHmA6-0003Tc-TO for bug-gnu-emacs@gnu.org; Wed, 13 Oct 2004 12:39:39 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CHmA6-0003TS-Q4 for bug-gnu-emacs@gnu.org; Wed, 13 Oct 2004 12:39:38 -0400 Original-Received: from [132.239.50.29] (helo=calvin.ucsd.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CHm2u-00058P-Fm; Wed, 13 Oct 2004 12:32:12 -0400 Original-Received: by calvin.ucsd.edu (Postfix, from userid 103) id E47402B0A2; Wed, 13 Oct 2004 09:31:10 -0700 (PDT) Original-To: Richard Stallman Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:9302 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:9302 Hmm, the copy of configure I have (emacs-21.3) has no reference to "nocombreloc". Nor does that string appear in any file in the top level (same level where configure lives) directory. The closest code segment I could find is: 1954 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 1955 if test "$ac_test_CFLAGS" = set; then 1956 CFLAGS="$ac_save_CFLAGS" 1957 elif test $ac_cv_prog_cc_g = yes; then 1958 if test "$GCC" = yes; then 1959 CFLAGS="-g -O2" 1960 else 1961 CFLAGS="-g" 1962 fi 1963 else 1964 if test "$GCC" = yes; then 1965 CFLAGS="-O2" 1966 else 1967 CFLAGS= 1968 fi 1969 fi [ratbert] [9:11]# ls -l configure -rwxr-xr-x 1 bparent staff 273939 Mar 18 2003 configure* [ratbert] [9:11]# md5sum configure 0195afcdc1bda43d3f6f311d6691f898 configure I picked up my copy of the emacs-21.3.tar.gz file from http://ftp.gnu.org/pub/gnu/emacs/ on October 1st. [ratbert] [9:13]# md5sum emacs-21.3.tar.gz a0bab457cbf5b4f8eb99d1d0a3ada420 emacs-21.3.tar.gz Re: > From: Richard Stallman > To: Brian Parent > Cc: bug-gnu-emacs@gnu.org > Subject: Re: Emacs crashes unless using -nw option > Date: Sat, 09 Oct 2004 11:44:29 -0400 > > The configure script is what figures out whether to use -z nocombreloc. > Can you debug why it made the wrong decision on your system? > If you figure that out, maybe we can fix it. > > The code in configure that does this test starts with these lines: > > late_LDFLAGS=$LDFLAGS > if test "$GCC" = yes; then > LDFLAGS="$LDFLAGS -Wl,-znocombreloc" > else > LDFLAGS="$LDFLAGS -znocombreloc" > fi