From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Markus Trippelsdorf Newsgroups: gmane.emacs.bugs 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 Message-ID: <20160725142414.GD315@x4> References: <20160725072232.GA315@x4> <57960850.TeswPyw0Vd9RvMtd%wjenkner@inode.at> <20160725125549.GC315@x4> <579613a4.xZGsf2uxC1wSlERP%wjenkner@inode.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1469456725 1089 80.91.229.3 (25 Jul 2016 14:25:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Jul 2016 14:25:25 +0000 (UTC) Cc: 24065@debbugs.gnu.org To: Wolfgang Jenkner Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 25 16:25:14 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bRgoj-0005Rs-BC for geb-bug-gnu-emacs@m.gmane.org; Mon, 25 Jul 2016 16:25:13 +0200 Original-Received: from localhost ([::1]:60953 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bRgoi-0002Cb-LX for geb-bug-gnu-emacs@m.gmane.org; Mon, 25 Jul 2016 10:25:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51474) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bRgoc-0002A2-Nc for bug-gnu-emacs@gnu.org; Mon, 25 Jul 2016 10:25:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bRgoY-0001t1-GQ for bug-gnu-emacs@gnu.org; Mon, 25 Jul 2016 10:25:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52981) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bRgoY-0001sx-3X for bug-gnu-emacs@gnu.org; Mon, 25 Jul 2016 10:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bRgoX-00081o-Vm for bug-gnu-emacs@gnu.org; Mon, 25 Jul 2016 10:25:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Markus Trippelsdorf Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 25 Jul 2016 14:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24065 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24065-submit@debbugs.gnu.org id=B24065.146945666130809 (code B ref 24065); Mon, 25 Jul 2016 14:25:01 +0000 Original-Received: (at 24065) by debbugs.gnu.org; 25 Jul 2016 14:24:21 +0000 Original-Received: from localhost ([127.0.0.1]:37084 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bRgnt-00080r-KV for submit@debbugs.gnu.org; Mon, 25 Jul 2016 10:24:21 -0400 Original-Received: from ud10.udmedia.de ([194.117.254.50]:55282 helo=mail.ud10.udmedia.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bRgnq-00080f-70 for 24065@debbugs.gnu.org; Mon, 25 Jul 2016 10:24:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=trippelsdorf.de; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=k1; bh=cJpwM2L9uMtbEoURFpxqdPtG+xVQ AM4J8kuGnSDjU8o=; b=WkCZbTcFSxu+Sg7wMUPLsGokpfd0RpG7OuAdl7lFEheS xSEJZY/ytDhtue3P+N73ttLMHhtDuXEo/7jkrczZtN1q7ksa0O2xVjFaCkTIF+Th EkppKm3rrEErgFJARGZPumxXST831a6lBCIL4pT8fPSY69GyxqrSbXhUNRrgMcA= Original-Received: (qmail 5741 invoked from network); 25 Jul 2016 16:24:14 +0200 Original-Received: from ip5b41f88a.dynamic.kabel-deutschland.de (HELO x4) (ud10?360p3@91.65.248.138) by mail.ud10.udmedia.de with ESMTPSA (ECDHE-RSA-AES256-SHA encrypted, authenticated); 25 Jul 2016 16:24:14 +0200 Content-Disposition: inline In-Reply-To: <579613a4.xZGsf2uxC1wSlERP%wjenkner@inode.at> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:121517 Archived-At: On 2016.07.25 at 15:27 +0200, Wolfgang Jenkner wrote: > Markus Trippelsdorf wrote: > > > On 2016.07.25 at 14:38 +0200, Wolfgang Jenkner wrote: > [...] > > > Author: Wolfgang Jenkner > > > 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