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 error Date: Fri, 27 Jan 2006 15:25:13 +0200 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1138392183 20303 80.91.229.2 (27 Jan 2006 20:03:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 27 Jan 2006 20:03:03 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 27 21:03:00 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 1F2Zny-0001o3-Kz for ged-emacs-devel@m.gmane.org; Fri, 27 Jan 2006 21:02:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F2Znc-0006bN-DW for ged-emacs-devel@m.gmane.org; Fri, 27 Jan 2006 15:02:25 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F2X25-0007nC-Cp for emacs-devel@gnu.org; Fri, 27 Jan 2006 12:05:10 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F2X0W-0007WW-Sd for emacs-devel@gnu.org; Fri, 27 Jan 2006 12:03:33 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F2Te3-0002P9-OS for emacs-devel@gnu.org; Fri, 27 Jan 2006 08:28:10 -0500 Original-Received: from [192.114.186.66] (helo=romy.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.52) id 1F2Tbn-0004gR-J5 for emacs-devel@gnu.org; Fri, 27 Jan 2006 08:25:47 -0500 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-206-144.inter.net.il [80.230.206.144]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id DLH07702 (AUTH halo1); Fri, 27 Jan 2006 15:25:08 +0200 (IST) Original-To: Alexander Klimov In-reply-to: (message from Alexander Klimov on Thu, 26 Jan 2006 12:21:01 +0200 (IST)) 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:49614 Archived-At: > Date: Thu, 26 Jan 2006 12:21:01 +0200 (IST) > From: Alexander Klimov > cc: emacs-devel@gnu.org > > > > Loading international/ucs-tables (source)... > > > mv -f emacs.exe bootstrap-emacs.exe > > > mv: cannot stat `emacs.exe': No such file or directory > > > make: *** [bootstrap-emacs.exe] Error 1 > > > > ??? Is this the exact and full fragment of what you see? Did the > > build indeed try to "mv -f emacs.exe" right after loading > > ucs-tables/el? > > Yes, that is way I guessed that it is the same problem as with > indian.el. But indian.el was loaded already, long ago, at the point where ucs-tables are loaded. So I doubt that this has anything to do with that problem, and it was fixed already anyway. > I tried to use gdb: > > $ gdb ./temacs.exe > GNU gdb 6.3.50_2004-12-28-cvs (cygwin-special) It's better to install a newer version of GDB: the backtrace code got improved in the year that passed since that version was built. > Loading international/ucs-tables (source)... > * not found (17), obtain more space: 327680 > * obtain(548012032, 327680), heap = 539798416 > * not found (18), obtain more space: 327680 > * obtain(548012032, 327680), heap = 539798416 > [...] > * not found (277), obtain more space: 327680 > * obtain(548012032, 327680), heap = 539798416 > * not found (278), obtain more space: 327680 > * obtain(548012032, 327680), heap = 539798416 > mv -f emacs.exe bootstrap-emacs.exe > mv: cannot stat `emacs.exe': No such file or directory > make: *** [bootstrap-emacs.exe] Error 1 > > Any ideas? Not yet, but I might have some ideas later. Emacs bootstraps (with MinGW) just fine on my XP box. But if I run temacs inside GDB, I see that loading ucs-tables.el causes `obtain' to be called 3 times with these arguments: Breakpoint 3, obtain (address=0x192c458, size=24) at ralloc.c:255 255 for (heap = last_heap; heap; heap = heap->prev) (gdb) Continuing. Loading international/ucs-tables (source)... Breakpoint 3, obtain (address=0x192c458, size=102512) at ralloc.c:255 255 for (heap = last_heap; heap; heap = heap->prev) (gdb) Continuing. Breakpoint 3, obtain (address=0x193f458, size=102512) at ralloc.c:255 255 for (heap = last_heap; heap; heap = heap->prev) Then I see an error message: Attempt to autoload define-minor-mode while preparing to dump And then it aborts. So I kinda can reproduce your problem, although it doesn't prevent bootstrapping on my system. I will try to find out why this error message is being printed, but note that I don't see any such message during the actual bootstrap, only when I run temacs _after_ bootstrapping.