--- Begin Message ---
Subject: |
commit 09ece4d341a7 (Restore the calloc family) causes miscompile for gcc-5 and higher |
Date: |
Mon, 25 Jul 2016 09:22:32 +0200 |
commit 09ece4d341a7e07fab7be22868ebcadae8641c79
Author: Wolfgang Jenkner <address@hidden>
Date: Tue Feb 9 15:04:40 2016 -0800
Restore the calloc family.
causes gcc-5 and higher to compile calloc to an endless loop.
-fno-builtin-malloc should be used to work around the problem.
See: https://gcc.gnu.org/ml/gcc-help/2015-03/msg00109.html
for a similar example.
--
Markus
--- End Message ---
--- Begin Message ---
Subject: |
Re: commit 09ece4d341a7 (Restore the calloc family) causes miscompile for gcc-5 and higher |
Date: |
Tue, 26 Jul 2016 09:08:22 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 |
On 07/25/2016 05:48 PM, Wolfgang Jenkner wrote:
IIUC, this commit removes the declaration of __malloc_initialize_hook,
so the emacs configure check for "whether malloc is Doug Lea style"
will fail.
This problem should be fixed on Emacs master and emacs-25, as well as in
the current release candidate for Emacs 25
<ftp://alpha.gnu.org/gnu/emacs/pretest/emacs-25.1-rc1.tar.xz>. If you're
still observing the problem in any of these editions of Emacs, please
let us know. In the meantime I will close the bug report as I think this
bug is fixed now.
--- End Message ---