From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#14569: 24.3.50; bootstrap fails on Cygwin Date: Mon, 24 Jun 2013 09:55:10 -0700 Message-ID: <51C879EE.2030401@cs.ucla.edu> References: <51BC720D.7080504@alice.it> <51BDB979.3040508@cornell.edu> <20130616150141.GB3622@ednor.casa.cgf.cx> <51BDFB25.8080101@cornell.edu> <51BE01EC.3000701@cornell.edu> <51C60DEB.8030804@alice.it> <51C75149.1070609@alice.it> <51C793FA.9070806@cs.ucla.edu> <51C8275A.4080307@cornell.edu> <51C858F3.5020107@cs.ucla.edu> <51C86B1A.4030408@cornell.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1372093239 17275 80.91.229.3 (24 Jun 2013 17:00:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 24 Jun 2013 17:00:39 +0000 (UTC) Cc: "14569-done@debbugs.gnu.org" <14569@debbugs.gnu.org>, Angelo Graziosi To: Ken Brown Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 24 19:00:39 2013 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 1UrA86-00086Z-1u for geb-bug-gnu-emacs@m.gmane.org; Mon, 24 Jun 2013 19:00:38 +0200 Original-Received: from localhost ([::1]:58185 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UrA85-0008RL-Mi for geb-bug-gnu-emacs@m.gmane.org; Mon, 24 Jun 2013 13:00:37 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44235) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UrA3g-0001yI-Nl for bug-gnu-emacs@gnu.org; Mon, 24 Jun 2013 12:56:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UrA3f-0001Rk-OL for bug-gnu-emacs@gnu.org; Mon, 24 Jun 2013 12:56:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44577) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UrA3f-0001RH-98 for bug-gnu-emacs@gnu.org; Mon, 24 Jun 2013 12:56:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1UrA3e-0002lL-GP for bug-gnu-emacs@gnu.org; Mon, 24 Jun 2013 12:56:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 Jun 2013 16:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14569 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14569-submit@debbugs.gnu.org id=B14569.137209292510548 (code B ref 14569); Mon, 24 Jun 2013 16:56:02 +0000 Original-Received: (at 14569) by debbugs.gnu.org; 24 Jun 2013 16:55:25 +0000 Original-Received: from localhost ([127.0.0.1]:38892 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UrA31-0002k2-8D for submit@debbugs.gnu.org; Mon, 24 Jun 2013 12:55:24 -0400 Original-Received: from smtp.cs.ucla.edu ([131.179.128.62]:56101) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UrA2x-0002jl-H1 for 14569@debbugs.gnu.org; Mon, 24 Jun 2013 12:55:20 -0400 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 7653D39E8108; Mon, 24 Jun 2013 09:55:13 -0700 (PDT) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Original-Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eTazuRjnvgUC; Mon, 24 Jun 2013 09:55:11 -0700 (PDT) Original-Received: from penguin.cs.ucla.edu (Penguin.CS.UCLA.EDU [131.179.64.200]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 4F08039E8100; Mon, 24 Jun 2013 09:55:11 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6 In-Reply-To: <51C86B1A.4030408@cornell.edu> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:75514 Archived-At: On 06/24/13 08:51, Ken Brown wrote: > The Cygwin port uses Emacs's allocator. I just looked at Emacs's allocator, and I was wrong: it tries to be thread-safe, if HAVE_PTHREAD is defined. Is it defined on Cygwin? If not, that's a bug; if so, possibly there is still an incompatibility between Cygwin threading and Emacs's allocator, but it'll require some Cygwin expertise to debug. At any rate *this* bug is now fixed, so I'm marking it as done. If the Cygwin port has strange memory-related problems in the future, you might try the following patch (not that it's necessarily the right thing...). === modified file 'configure.ac' --- configure.ac 2013-06-24 14:27:25 +0000 +++ configure.ac 2013-06-24 16:53:54 +0000 @@ -1805,7 +1805,7 @@ dnl See comments in aix4-2.h about maybe system_malloc=no case "$opsys" in ## darwin ld insists on the use of malloc routines in the System framework. - darwin|sol2-10) system_malloc=yes ;; + cygwin|darwin|sol2-10) system_malloc=yes ;; esac if test "${system_malloc}" = "yes"; then