From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: x86_64 problems/fix (was: alloc.c problem when GC_MARK_STACK is GC_USE_GCPROS_AS_BEFORE) Date: 22 Jul 2004 00:34:09 +0200 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1090449234 14919 80.91.224.253 (21 Jul 2004 22:33:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 21 Jul 2004 22:33:54 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 22 00:33:46 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 1BnPek-0003LI-00 for ; Thu, 22 Jul 2004 00:33:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BnPhX-0001LE-Vi for ged-emacs-devel@m.gmane.org; Wed, 21 Jul 2004 18:36:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BnPhP-0001Hw-NX for emacs-devel@gnu.org; Wed, 21 Jul 2004 18:36:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BnPhO-0001FP-61 for emacs-devel@gnu.org; Wed, 21 Jul 2004 18:36:31 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BnPhO-0001FM-3u for emacs-devel@gnu.org; Wed, 21 Jul 2004 18:36:30 -0400 Original-Received: from [195.41.46.236] (helo=pfepb.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BnPeV-00013L-Kl for emacs-devel@gnu.org; Wed, 21 Jul 2004 18:33:31 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx3.adsl-dhcp.tele.dk [80.62.38.68]) by pfepb.post.tele.dk (Postfix) with SMTP id 007EC5EE01D; Thu, 22 Jul 2004 00:33:30 +0200 (CEST) Original-To: Barry Fishman In-Reply-To: Original-Lines: 49 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 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: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:25870 I have installed your patch in CVS. Thank you. Barry Fishman writes: > I was unable to make any change to alloc.c that would fix the GC_MARK_STACK > problem without later crashes in the build while compiling the lisp > files. > > However, I suspect the attached change to src/s/gnu-linux.h is > approprate. This produces a working emacs (for me) on a amd64 > gnu-linux system (SuSE 9.1), although it sidesteps the problem in > alloc.c. > > Index: gnu-linux.h > =================================================================== > RCS file: /cvsroot/emacs/emacs/src/s/gnu-linux.h,v > retrieving revision 1.89 > diff -c -r1.89 gnu-linux.h > *** gnu-linux.h 1 Sep 2003 15:45:58 -0000 1.89 > --- gnu-linux.h 6 Jul 2004 23:49:36 -0000 > *************** > *** 355,361 **** > > #if defined __i386__ || defined __sparc__ || defined __mc68000__ \ > || defined __alpha__ || defined __mips__ || defined __s390__ \ > ! || defined __arm__ || defined __powerpc__ > #define GC_SETJMP_WORKS 1 > #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS > #ifdef __mc68000__ > --- 355,361 ---- > > #if defined __i386__ || defined __sparc__ || defined __mc68000__ \ > || defined __alpha__ || defined __mips__ || defined __s390__ \ > ! || defined __arm__ || defined __powerpc__ || defined __amd64__ > #define GC_SETJMP_WORKS 1 > #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS > #ifdef __mc68000__ > > -- > Barry Fishman > _______________________________________________ > Emacs-devel mailing list > Emacs-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-devel -- Kim F. Storm http://www.cua.dk