GNU bug report logs - #38868
Problem compiling Emacs24 on Debian 10

Previous Next

Package: emacs;

Reported by: Eduardo Ochs <eduardoochs <at> gmail.com>

Date: Thu, 2 Jan 2020 06:07:01 UTC

Severity: normal

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


Message #16 received at 38868 <at> debbugs.gnu.org (full text, mbox):

From: "Basil L. Contovounesios" <contovob <at> tcd.ie>
To: 38868 <at> debbugs.gnu.org
Cc: stefan <at> marxist.se, eduardoochs <at> gmail.com
Subject: Re: bug#38868: Problem compiling Emacs24 on Debian 10
Date: Wed, 04 Nov 2020 23:32:01 +0000
Stefan Kangas <stefan <at> marxist.se> writes:

> Eli Zaretskii <eliz <at> gnu.org> writes:
>
>>> From: Eduardo Ochs <eduardoochs <at> gmail.com>
>>> Date: Thu, 2 Jan 2020 03:06:07 -0300
>>>
>>>   git checkout emacs-24
>>>
>>>   ./autogen.sh   2>&1 | tee oa
>>>   ./configure    2>&1 | tee oc
>>>   # make         2>&1 | tee om
>>>   make bootstrap 2>&1 | tee omb
>>>
>>>   # "make bootstrap" fails!
>>>   tail -n 15 omb
>>>   # The output of "tail" is:
>>>   # make[3]: Leaving directory '/home/edrx/bigsrc/emacs24/lisp'
>>>   # if test "no" = "yes"; then \
>>>   #   rm -f bootstrap-emacs; \
>>>   #   ln temacs bootstrap-emacs; \
>>>   # else \
>>>   #   ./temacs --batch --load loadup bootstrap || exit 1; \
>>>   #   test "X" = X ||  -zex emacs; \
>>>   #   mv -f emacs bootstrap-emacs; \
>>>   # fi
>>>   # /bin/bash: line 7: 20593 Segmentation fault      ./temacs --batch
>>> --load loadup bootstrap
>>
>> I guess this is some problem with unexec and malloc in new glibc
>> versions?
>
> That was 41 weeks ago, and there were no further followups.  It sounds
> likely that Eli's analysis here is correct and an older glibc would need
> to be used.  In any case, I don't know what we can do about Emacs 24 now.
> I'm therefore closing this bug now.
>
> If this conclusion is incorrect and this is still an issue, please reply
> to this email (use "Reply to all" in your email client) and we can
> reopen the bug report.

This reminds me of the following report:
https://lists.gnu.org/archive/html/emacs-devel/2019-06/msg01002.html

In which Noam suggests to apply the following patch for building with
-no-pie:
https://sources.debian.org/patches/emacs24/24.5+1-11+deb9u1/0027-Emacs-shouldn-t-segfault-when-gcc-expects-nopie.patch

I recall having to do that on Debian Testing in order to get Emacs 24.5
(from the official tarball, not Debian's) to build.

HTH,

-- 
Basil




This bug report was last modified 4 years and 259 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.