From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: bootstrap-emacs.exe never finished when make bootstrap in cygwin Date: Tue, 24 Oct 2006 13:46:12 -0400 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1161712197 4424 80.91.229.2 (24 Oct 2006 17:49:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 24 Oct 2006 17:49:57 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 24 19:49:55 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GcQOR-0006Cq-VW for ged-emacs-devel@m.gmane.org; Tue, 24 Oct 2006 19:48:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GcQOR-0004yq-Jq for ged-emacs-devel@m.gmane.org; Tue, 24 Oct 2006 13:48:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GcQLu-0001p2-RR for emacs-devel@gnu.org; Tue, 24 Oct 2006 13:46:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GcQLu-0001oF-1R for emacs-devel@gnu.org; Tue, 24 Oct 2006 13:46:14 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GcQLt-0001nu-KZ for emacs-devel@gnu.org; Tue, 24 Oct 2006 13:46:13 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GcQLt-0000Kj-Iy for emacs-devel@gnu.org; Tue, 24 Oct 2006 13:46:13 -0400 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.34) id 1GcQLs-0005Hh-LL; Tue, 24 Oct 2006 13:46:12 -0400 Original-To: "William Xue" In-reply-to: (william.xue@gmail.com) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:61116 Archived-At: > Date: Tue, 24 Oct 2006 16:49:53 +0800 > From: "William Xue" > > What I encountered it the bootstrap-emacs.exe could not finish once > it started. > > The messages before it are like following: > ---8<------------------------------------------------------------------------------------------------------------------>8--- > Finding pointers to doc strings... > Finding pointers to doc strings...done > Dumping under the name emacs > Static heap usage: 9911664 of 12582912 bytes > 60838 pure bytes used > mv -f emacs.exe bootstrap-emacs.exe > make[2]: Leaving directory `/cygdrive/d/emacs/src' > (cd lisp; make -w bootstrap EMACS=../src/bootstrap-emacs.exe) > make[2]: Entering directory `/cygdrive/d/emacs/lisp' > wd=/cygdrive/d/emacs/lisp; subdirs=`(cd $wd; find . -type d -print)`; for > file in $subdirs; do case $file in */Old | */RCS | */CVS | */CVS/* | */.* > | */.*/* | */=* ) ;; *) wins="$wins $wd/$file" ;; esac; done; \ > for file in $wins; do \ > /cygdrive/d/emacs/lisp/../update-subdirs $file; \ > done; > wd=/cygdrive/d/emacs/lisp; subdirs=`(cd $wd; find . -type d -print)`; for > file in $subdirs; do case $file in */Old | */RCS | */CVS | */CVS/* | */.* > | */.*/* | */=* ) ;; *) wins="$wins $wd/$file" ;; esac; done; \ > echo Directories: $wins; \ > ../src/bootstrap-emacs.exe -batch --no-site-file --multibyte -l > autoload --eval '(setq generated-autoload-file > "/cygdrive/d/emacs/lisp/loaddefs.el")' -f batch-update-autoloads $wins > Directories: /cygdrive/d/emacs/lisp/. /cygdrive/d/emacs/lisp/./calc > /cygdrive/d/emacs/lisp/./calendar /cygdrive/d/emacs/lisp/./emacs-lisp > /cygdrive/d/emacs/lisp/./erc /cygdrive/d/emacs/lisp/./emulation > /cygdrive/d/emacs/lisp/./eshell /cygdrive/d/emacs/lisp/./gnus > /cygdrive/d/emacs/lisp/./international /cygdrive/d/emacs/lisp/./language > /cygdrive/d/emacs/lisp/./mail /cygdrive/d/emacs/lisp/./mh-e > /cygdrive/d/emacs/lisp/./net /cygdrive/d/emacs/lisp/./obsolete > /cygdrive/d/emacs/lisp/./play /cygdrive/d/emacs/lisp/./progmodes > /cygdrive/d/emacs/lisp/./term /cygdrive/d/emacs/lisp/./textmodes > /cygdrive/d/emacs/lisp/./toolbar /cygdrive/d/emacs/lisp/./url > ---8<------------------------------------------------------------------------------------------------------------------>8--- > > after press control-c, the messages are: > ---8<---------------------------------->8--- > make[2]: *** [autoloads] Interrupt > make[1]: *** [bootstrap-build] Interrupt > make: *** [bootstrap] Interrupt > ---8<---------------------------------->8--- > > How can I make the process go on? There are some strange failures in the Cygwin build of Emacs (search the archives of this list for Cygwin-related problems). Unfortunately, none of the Emacs maintainers use Cygwin (or even understand enough about it to intuit the possible causes of these problems), so we rely on volunteers and the Cygwin developers to debug the problems and report their findings. Sadly, most of the problems reported here were so mysterious and hard to debug that we couldn't find any useful clues, given the knowledge of the people who tried to debug them and the (lack of) support from Cygwin developers (it sounds like no one on the Cygwin list is interested in supporting Emacs, because several messages posted there lately did not get any useful response). Can you run the hanging command under GDB? (Several Cygwin users reported great difficulties running Emacs under a debugger, that's why I ask.) If so, please try at least to establish where it hangs. I think someone reported a similar problem and debugging revealed it hangs somewhere in memory-allocation routines; this was solved by either upgrading to a newer version of Cygwin or downgrading to an older version, I no longer remember which. HTH