emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bootstrap error


From: Eli Zaretskii
Subject: Re: bootstrap error
Date: Fri, 27 Jan 2006 15:25:13 +0200

> Date: Thu, 26 Jan 2006 12:21:01 +0200 (IST)
> From: Alexander Klimov <address@hidden>
> cc: address@hidden
> 
> > > 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]