From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel,gmane.comp.lib.gnulib.bugs Subject: Re: [master b3cf281] Unbreak the MinGW build Date: Sat, 17 Dec 2016 13:17:23 +0200 Message-ID: <83h9627qkc.fsf@gnu.org> References: <83eg1887q4.fsf@gnu.org> <10588713.4sEyyCWImg@linuix.haible.de> <83y3zf7f6k.fsf@gnu.org> <3331192.fdZnPqnNIH@linuix.haible.de> <83pokr6ljg.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1481974230 7317 195.159.176.226 (17 Dec 2016 11:30:30 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 17 Dec 2016 11:30:30 +0000 (UTC) Cc: bug-gnulib@gnu.org, emacs-devel@gnu.org To: bruno@clisp.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 17 12:30:26 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cIDBz-0008VZ-Qt for ged-emacs-devel@m.gmane.org; Sat, 17 Dec 2016 12:30:19 +0100 Original-Received: from localhost ([::1]:36200 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cIDC4-0004DZ-7u for ged-emacs-devel@m.gmane.org; Sat, 17 Dec 2016 06:30:24 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58939) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cID09-0003K7-U6 for emacs-devel@gnu.org; Sat, 17 Dec 2016 06:18:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cID06-0007AV-Mw for emacs-devel@gnu.org; Sat, 17 Dec 2016 06:18:05 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45093) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cID06-0007AQ-Jb; Sat, 17 Dec 2016 06:18:02 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3587 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cID05-0003Hy-Pb; Sat, 17 Dec 2016 06:18:02 -0500 In-reply-to: <83pokr6ljg.fsf@gnu.org> (message from Eli Zaretskii on Sat, 17 Dec 2016 09:51:15 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:210577 gmane.comp.lib.gnulib.bugs:36552 Archived-At: > Date: Sat, 17 Dec 2016 09:51:15 +0200 > From: Eli Zaretskii > Cc: bug-gnulib@gnu.org, emacs-devel@gnu.org > > I will try to look into this some more today, and see if I can unlock > the mystery. It bothers me, too. Bug squashed, see commit 0757b4f. It was always there, we were just lucky until now. What the inclusion of errno.h did is increase the size of the object file (due to massive debug info about macros), and thus the size of temacs, by 1.5KB, and that caused writes to emacs.exe to cross the page boundary beyond the allocated memory mapping, and segfault. You can now remove the workaround from stdio-impl.h. (I already did that in the Emacs repository.) Thanks.