From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Eli Zaretskii" Newsgroups: gmane.emacs.devel Subject: USE_LSB_TAG and MS-DOS Date: Sat, 15 May 2004 15:07:18 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <2719-Sat15May2004150718+0300-eliz@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1084625049 9497 80.91.224.253 (15 May 2004 12:44:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 15 May 2004 12:44:09 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sat May 15 14:43:57 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 1BOyWD-0002FC-00 for ; Sat, 15 May 2004 14:43:57 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BOyWD-0001Uw-00 for ; Sat, 15 May 2004 14:43:57 +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 1BOyQm-0004HS-H1 for emacs-devel@quimby.gnus.org; Sat, 15 May 2004 08:38:20 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BOy7F-00014m-K1 for emacs-devel@gnu.org; Sat, 15 May 2004 08:18:09 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BOxzc-00082U-84 for emacs-devel@gnu.org; Sat, 15 May 2004 08:10:48 -0400 Original-Received: from [192.114.186.23] (helo=aragorn.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BOxxn-0007II-62 for emacs-devel@gnu.org; Sat, 15 May 2004 08:08:23 -0400 Original-Received: from zaretski ([80.230.144.211]) by aragorn.inter.net.il (MOS 3.4.6-GR) with ESMTP id CWP13435; Sat, 15 May 2004 15:08:20 +0300 (IDT) Original-To: emacs-devel@gnu.org X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 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:23474 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:23474 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. If Stefan, or someone else who understand the intricacies of USE_LSB_TAG and what it demands from the underlying platform, wishes to help me debug this, in the hope that we will learn something interesting about other platforms where USE_LSB_TAG could fail, I'll be glad to dig deeper into the reasons for the crash. Otherwise, I don't have resources to debug this myself, and I don't see any catastrophe to leave the MS-DOS port with the 256-MB max buffer size. (FWIW, I suspect that stack alignment has something to do with the crash, but I didn't look into this deep enough to be sure.) 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.