Subject: bug#38868: Problem compiling Emacs24 on Debian 10

From: Eli Zaretskii <[email-masked]>
Date: Thu, 02 Jan 2020 15:44:47 +0200

> From: Eduardo Ochs <[email-masked]>
> 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?