GNU bug report logs - #24065
commit 09ece4d341a7 (Restore the calloc family) causes miscompile for gcc-5 and higher

Previous Next

Package: emacs;

Reported by: Markus Trippelsdorf <markus <at> trippelsdorf.de>

Date: Mon, 25 Jul 2016 07:23:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Markus Trippelsdorf <markus <at> trippelsdorf.de>
To: Wolfgang Jenkner <wjenkner <at> inode.at>
Cc: 24065 <at> debbugs.gnu.org
Subject: bug#24065: commit 09ece4d341a7 (Restore the calloc family) causes miscompile for gcc-5 and higher
Date: Mon, 25 Jul 2016 16:24:14 +0200
On 2016.07.25 at 15:27 +0200, Wolfgang Jenkner wrote:
> Markus Trippelsdorf <markus <at> trippelsdorf.de> wrote:
> 
> > On 2016.07.25 at 14:38 +0200, Wolfgang Jenkner wrote:
> [...]
> > > Author: Wolfgang Jenkner <wjenkner <at> inode.at>
> > > 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. 

Ok. Sorry for pointing to the wrong commit.

But version 24.5 is the latest stable release. 
It is sad, that it cannot be compiled with gcc-5 or gcc-6.

-- 
Markus




This bug report was last modified 8 years and 296 days ago.

Previous Next


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