From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Herbert J. Skuhra" Newsgroups: gmane.emacs.devel Subject: Re: USE_LSB_TAG not supported on this platform Date: Sat, 06 Feb 2016 17:04:50 +0100 Message-ID: <86si15ygd9.wl-herbert@mailbox.org> References: <86powcjei0.wl-herbert@mailbox.org> <56B3F962.8010203@cs.ucla.edu> <86mvrejegc.wl-herbert@mailbox.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1454774725 22350 80.91.229.3 (6 Feb 2016 16:05:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 6 Feb 2016 16:05:25 +0000 (UTC) Cc: emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 06 17:05:15 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aS5MI-0008LS-Be for ged-emacs-devel@m.gmane.org; Sat, 06 Feb 2016 17:05:14 +0100 Original-Received: from localhost ([::1]:54736 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aS5MH-0007pO-8e for ged-emacs-devel@m.gmane.org; Sat, 06 Feb 2016 11:05:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36500) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aS5M4-0007pB-6v for emacs-devel@gnu.org; Sat, 06 Feb 2016 11:05:01 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aS5Lz-0004zO-6m for emacs-devel@gnu.org; Sat, 06 Feb 2016 11:05:00 -0500 Original-Received: from mx2.mailbox.org ([80.241.60.215]:55839) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aS5Ly-0004zI-TH for emacs-devel@gnu.org; Sat, 06 Feb 2016 11:04:55 -0500 Original-Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx2.mailbox.org (Postfix) with ESMTPS id 39C8741F74; Sat, 6 Feb 2016 17:04:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mailbox.org; h= content-type:content-type:mime-version:user-agent:references :in-reply-to:subject:subject:from:from:message-id:date:date :received; s=mail20150812; t=1454774691; bh=WU6hbvONhBcwsA/gR7UA l/8aEtmEQTkB0rJshpTIXwQ=; b=H8eli1I8a9lMLN9g5ln/l9gbz0KXbeYC165e l2t87QiivTfO2S7KWrfTn0Q9kYeGzQYeYp31nVehCDEURz8jK1RoQxqgvSAWmw64 ZFvygbs6bi9jWn/TXnVGSMpBH7CNQXegVxlh9QTkgI9ohGqPjVufwYWWUhDUF2NB MZB7zeYHFRMerQLRZtu1jX3CT2I6esR1OeDMXNdkGQ1daVECBVeKKdBLSGSL1OMb D8lfNTbuJYDZx7eydhp1IROSoNDAqJK37Pk5qIoz0dGJHVAVw0AGR9AgA5sQYCVj EMaDcWRiK2juz+3akirCmF7Z4sp8X1Q7C/1qr2ugSy1+l6Voxg== X-Virus-Scanned: amavisd-new at heinlein-support.de Original-Received: from smtp1.mailbox.org ([80.241.60.240]) by hefe.heinlein-support.de (hefe.heinlein-support.de [91.198.250.172]) (amavisd-new, port 10030) with ESMTP id IfZrsqt3F0ZA; Sat, 6 Feb 2016 17:04:51 +0100 (CET) In-Reply-To: <86mvrejegc.wl-herbert@mailbox.org> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/25.0 Mule/6.0 (HANACHIRUSATO) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 80.241.60.215 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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 Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:199421 Archived-At: On Sat, 06 Feb 2016 11:55:15 +0100, "Herbert J. Skuhra" wrote: > > On Fri, 05 Feb 2016 02:22:42 +0100, Paul Eggert wrote: > > > > On 02/04/2016 02:29 PM, Herbert J. Skuhra wrote: > > > Commit d6585a910ed3e9e0e43c093b5fbfeb6d56b703b4 is obviously the > > > culprit. The workaround is successful. > > > > Thanks, but I'm not getting the connection. I don't understand why > > that commit would cause this problem. USE_LSB_TAG's value depends on > > EMACS_INT_MAX and INTPTR_MAX, neither of which should be affected by > > that commit. > > > > I guess you're configuring with the equivalent of './configure > > --with-x-toolkit=lucid'; that would explain why you're compiling > > lwlib.c. However, when I configure that way, I don't get an error on > > Fedora 23 x86. > > > > Can you tell us what the values of EMACS_INT_MAX and INTPTR_MAX are, > > in your environment? They should both be 2**31 - 1, but perhaps > > something has gone wrong in their configuration. > > INTPTR_MAX=0x7fffffff > EMACS_INT_MAX=0x7fffffffffffffffLL > > Before the commit mentioned above both are 0x7fffffff. I can build master on FreeBSD HEAD (amd64). Should hybrid_malloc work/be used on FreeBSD (i386)? I've tried this patch: diff --git a/configure.ac b/configure.ac index 286ca52..098ee52 100644 --- a/configure.ac +++ b/configure.ac @@ -2124,7 +2124,7 @@ esac if test "${system_malloc}" != yes && test "${doug_lea_malloc}" != yes \ && test "${UNEXEC_OBJ}" = unexelf.o; then - hybrid_malloc=yes + hybrid_malloc=no fi GMALLOC_OBJ= Now the build fails later with this error: CCLD temacs gmalloc.o: In function `calloc': /mnt/daten/source/emacs/src/gmalloc.c:1801: undefined reference to `gcalloc' collect2: error: ld returned 1 exit status Makefile:599: recipe for target 'temacs' failed gmake[1]: *** [temacs] Error 1 gmake[1]: Leaving directory '/mnt/daten/source/emacs/src' Makefile:394: recipe for target 'src' failed gmake: *** [src] Error 2 -- Herbert