emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: USE_LSB_TAG not supported on this platform


From: Herbert J. Skuhra
Subject: Re: USE_LSB_TAG not supported on this platform
Date: Sat, 06 Feb 2016 17:04:50 +0100
User-agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/25.0 Mule/6.0 (HANACHIRUSATO)

On Sat, 06 Feb 2016 11:55:15 +0100,
"Herbert J. Skuhra" <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]