emacs-devel
[Top][All Lists]

## Re: emacs bootstrap hangs on Windows XP / mingw

 From: Eli Zaretskii Subject: Re: emacs bootstrap hangs on Windows XP / mingw Date: Wed, 06 Feb 2008 21:39:11 +0200

```> From: Dieter Deyke <address@hidden>
> Date: Wed, 06 Feb 2008 09:15:43 -0700
>
> >> Attaching to program
> >> `/c/Users/deyke/emacs-build/subdir/work/bin/emacs.exe', process 18884
> >
> > This looks like you have a Cygwin GDB, while your Emacs is a native
> > MinGW build.  Maybe such a combination cannot work here?
>
> You were right, but using the mingw gdb results in the same problem, the
> debugger cannot break into emacs:
>
> C:\Users\deyke\emacs-build\subdir\work>gdb bin\emacs.exe 22936
> GNU gdb 5.1.1 (mingw experimental)
> Copyright 2002 Free Software Foundation, Inc.

That's a VERY old version of GDB!  Not that I think it must be the
reason for the original problem, but you can upgrade to GDB 6.7 on the
MinGW site.

> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "mingw32"...
> C:\Users\deyke\emacs-build\subdir\work/22936: No such file or directory.
> Attaching to program `C:\Users\deyke\emacs-build\subdir\work/bin\emacs.exe',
> process 22936
>
> Then gdb hangs too, and cannot be interrupted by C-c.
>
> For what is worth, process explorer shows the folloing threads in emacs
> at that point:
>
> !toascii+0x15d0
> ntdll.dll!DbgUiRemoteBreakin
> ntdll.dll!ConvertUiListtoApiList+0x276
> ntdll.dll!ConvertUiListtoApiList+0x276

Well, how about if you describe your build environment: what kind of
shell and Make programs do you use, which compiler, what versions of
ported rm and mv, etc.  Could it be that your are hitting one of the
combinations mentioned in nt/INSTALL that are known to fail?

Also, did you ever build the CVS version on this machine with these
development tools, and if so, when was the last time you succeeded?

```