From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Barry Fishman Newsgroups: gmane.emacs.devel Subject: x86_64 problems/fix (was: alloc.c problem when GC_MARK_STACK is GC_USE_GCPROS_AS_BEFORE) Date: Tue, 06 Jul 2004 21:08:36 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: sea.gmane.org 1089162508 26685 80.91.224.253 (7 Jul 2004 01:08:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 7 Jul 2004 01:08:28 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Jul 07 03:08:22 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Bi0v8-0006VZ-00 for ; Wed, 07 Jul 2004 03:08:22 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1Bi0v7-0005jL-00 for ; Wed, 07 Jul 2004 03:08:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bi0xA-0002Wm-HF for emacs-devel@quimby.gnus.org; Tue, 06 Jul 2004 21:10:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Bi0wt-0002WV-Rn for emacs-devel@gnu.org; Tue, 06 Jul 2004 21:10:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Bi0ws-0002Vr-9F for emacs-devel@gnu.org; Tue, 06 Jul 2004 21:10:11 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bi0ws-0002Vm-6q for emacs-devel@gnu.org; Tue, 06 Jul 2004 21:10:10 -0400 Original-Received: from [80.91.224.249] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bi0uL-00011U-4G for emacs-devel@gnu.org; Tue, 06 Jul 2004 21:07:33 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1Bi0uK-0007b3-00 for ; Wed, 07 Jul 2004 03:07:32 +0200 Original-Received: from 249.orlando-06-08rs.fl.dial-access.att.net ([12.78.46.249]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 07 Jul 2004 03:07:32 +0200 Original-Received: from barry_fishman by 249.orlando-06-08rs.fl.dial-access.att.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 07 Jul 2004 03:07:32 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 49 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 249.orlando-06-08rs.fl.dial-access.att.net User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:hFNnFOqDDS0HHjElUYoeTUIaIh0= 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+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:25514 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:25514 --=-=-= 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. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=gnu-linux.pat Content-Description: Add __amd64__ to systems like __i386__ 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 --=-=-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel --=-=-=--