Subject: Re: commit 09ece4d341a7 (Restore the calloc family) causes miscompile for gcc-5 and higher

From: Wolfgang Jenkner <[email-masked]>
Date: Mon, 25 Jul 2016 15:27:00 +0200

Markus Trippelsdorf <[email-masked]> wrote:

> On 2016.07.25 at 14:38 +0200, Wolfgang Jenkner wrote:
[...]
> > Author: Wolfgang Jenkner <[email-masked]>
> > Date:   Sat Dec 26 12:12:02 2015 -0800
> > 
> >     Always define gmalloc etc. in src/gmalloc.c
> >      
[...]
> > So, it would be useful to know on which system compilation fails.
>
> This happens on a Gentoo system (glibc trunk, gcc-6 latest branch):
>
> (gdb) run
> Starting program: /var/tmp/portage/app-editors/emacs-24.5-r3/work/emacs-24.5/src/temacs --batch --load loadup bootstrap

According to ftp://alpha.gnu.org/gnu/emacs/pretest/ your emacs
version has been made available in April 2015 and so predates
the fix from December 2015 above.  Also, your version belongs to
an older (and effectively unmaintained) release series.

tl; dr: Please update to a current release candidate.