all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Barry Fishman <barry_fishman@att.net>
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	[thread overview]
Message-ID: <m37jtgtyi3.fsf@ecube.site> (raw)
In-Reply-To: m38ydwkbig.fsf@ecube.site

[-- Attachment #1: Type: text/plain, Size: 354 bytes --]

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.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Add __amd64__ to systems like __i386__ --]
[-- Type: text/x-patch, Size: 916 bytes --]

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__

[-- Attachment #3: Type: text/plain, Size: 19 bytes --]


-- 
Barry Fishman

[-- Attachment #4: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

  reply	other threads:[~2004-07-07  1:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-06 22:37 alloc.c problem when GC_MARK_STACK is GC_USE_GCPROS_AS_BEFORE Barry Fishman
2004-07-07  1:08 ` Barry Fishman [this message]
2004-07-12  9:33   ` x86_64 problems/fix (was: alloc.c problem when GC_MARK_STACK is GC_USE_GCPROS_AS_BEFORE) Kim F. Storm
2004-07-12 14:24     ` Barry Fishman
2004-07-21 21:26       ` Kim F. Storm
2004-07-21 22:34   ` Kim F. Storm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m37jtgtyi3.fsf@ecube.site \
    --to=barry_fishman@att.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.