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: 21 Jul 2004 23:26:05 +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 1090445166 4853 80.91.224.253 (21 Jul 2004 21:26:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 21 Jul 2004 21:26:06 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 21 23:25:38 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 1BnOan-0005UY-00 for ; Wed, 21 Jul 2004 23:25:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BnOdb-00027s-FI for ged-emacs-devel@m.gmane.org; Wed, 21 Jul 2004 17:28:31 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BnOdV-00027m-4U for emacs-devel@gnu.org; Wed, 21 Jul 2004 17:28:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BnOdT-00027a-DD for emacs-devel@gnu.org; Wed, 21 Jul 2004 17:28:24 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BnOdT-00027X-Ag for emacs-devel@gnu.org; Wed, 21 Jul 2004 17:28:23 -0400 Original-Received: from [195.41.46.237] (helo=pfepc.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BnOad-0000Aq-DD for emacs-devel@gnu.org; Wed, 21 Jul 2004 17:25:27 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx3.adsl-dhcp.tele.dk [80.62.38.68]) by pfepc.post.tele.dk (Postfix) with SMTP id B81ED262868; Wed, 21 Jul 2004 23:25:26 +0200 (CEST) Original-To: Barry Fishman In-Reply-To: Original-Lines: 30 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:25867 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:25867 Barry Fishman writes: > storm@cua.dk (Kim F. Storm) writes: > > > 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. > > > > Does the following patch work (if you undo the patch you suggested below)? > > > [patch skipped] > > That was my first attempt at fixing the problem. The emacs (bootstrap) > build then failed later on during a lisp compile. I could not > diagnose what was causing it, but at the time assumed it was a > garbage collector problem. > > Trying it again I get the following during a bootstrap build: I have been running with the patch and GC_USE_GCPROS_AS_BEFORE for a week now without any problems, and studying the code doesn't indicate to me what's wrong. You could try to run the ./temacs command under gdb to see where the program traps. You can see the required parameters in the make output. -- Kim F. Storm http://www.cua.dk