From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: USE_LSB_TAG and MS-DOS Date: 16 May 2004 19:40:23 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <2719-Sat15May2004150718+0300-eliz@gnu.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1084750958 20200 80.91.224.253 (16 May 2004 23:42:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 16 May 2004 23:42:38 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon May 17 01:42:30 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 1BPVH4-0001c4-00 for ; Mon, 17 May 2004 01:42:30 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BPVH4-0000vD-00 for ; Mon, 17 May 2004 01:42:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BPVH1-0000Un-DJ for emacs-devel@quimby.gnus.org; Sun, 16 May 2004 19:42:27 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BPVGu-0000S7-J1 for emacs-devel@gnu.org; Sun, 16 May 2004 19:42:20 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BPVGN-0007tj-5N for emacs-devel@gnu.org; Sun, 16 May 2004 19:42:19 -0400 Original-Received: from [206.47.199.166] (helo=simmts8-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BPVFo-0006wj-F7; Sun, 16 May 2004 19:41:12 -0400 Original-Received: from empanada.local ([67.71.116.83]) by simmts8-srv.bellnexxia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20040516234026.EKND15930.simmts8-srv.bellnexxia.net@empanada.local>; Sun, 16 May 2004 19:40:26 -0400 Original-Received: by empanada.local (Postfix, from userid 502) id 6830218F8D2; Sun, 16 May 2004 19:40:24 -0400 (EDT) Original-To: Eli Zaretskii In-Reply-To: <2719-Sat15May2004150718+0300-eliz@gnu.org> Original-Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 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:23552 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:23552 > For whom it may concern: I've checked in a change to lisp.h that > disables the use of USE_LSB_TAG in the MS-DOS port. USE_LSB_TAG was > turned on by a recent change in lisp.h because the MS-DOS build uses > the GNU malloc and GCC, but that caused temacs to crash with SIGABRT > during loadup when it performed the first GC. Can you compile with ENABLE_CHECKING and try again? And give me a backtrace? > Btw, the way DECL_ALIGN and USE_LSB_TAG are defined on lisp.h doesn't > leave any elegant way for specific platforms to turn that off without > cluttering lisp.h with ugly OS-specific #ifdef's. Perhaps we should > devise a cleaner way. It was devised in the hope that it will only be turned on where it's safe. Obviously, that's not the way it works, but at least it *should* work that way, so I think we're just hitting a bug. After all, all we need is to make sure pointers are multiples of 8. GNU malloc guarantees that AFAIK for malloced objects and DECL_ALIGN allows to get the same guarantee for static objects, so if we have both the only reasonf ro USE_LSB_TAG to fail is a bug, right? Stefan