emacs-devel
[Top][All Lists]
Advanced

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

Re: The bootstrap of Emacs on Cygwin is broken [Is also: unicode branch


From: Angelo Graziosi
Subject: Re: The bootstrap of Emacs on Cygwin is broken [Is also: unicode branch is merged to trunk]
Date: Mon, 04 Feb 2008 09:39:38 +0100
User-agent: Thunderbird 2.0.0.9 (Windows/20071031)

Eli Zaretskii ha scritto:
Date: Sun, 03 Feb 2008 22:14:35 +0100
From: Angelo Graziosi <address@hidden>
CC: Eli Zaretskii <address@hidden>, address@hidden

There are no Emacs symbols in there. Are you deliberately building without debug info?


The debug (-g) info should be active (see [1] or [2]). Shortly, I use

../configure
make bootstrap.

Try using -g3 -O1, it should produce better debug info.  Not sure if
it will help in this case, though.

Concorde! In any case, for the sake of completeness, below the results.

Cheers,
   Angelo.

===================================================
cd /tmp/build

CFLAGS='-g3 -O1' /tmp/emacs/configure --with-x-toolkit=lucid 2>&1 | tee emacs-session.log

make bootstrap  2>&1 | tee -a emacs-session.log

gdb /tmp/build/src/temacs
GNU gdb 6.5.50.20060706-cvs (cygwin-special)
Copyright (C) 2006 Free Software Foundation, Inc.
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 "i686-pc-cygwin"...
(gdb) run --batch --load loadup bootstrap
Starting program: /tmp/build/src/temacs.exe --batch --load loadup bootstrap
Loaded symbols for /c/WINDOWS/system32/ntdll.dll
Loaded symbols for /c/WINDOWS/system32/kernel32.dll
Loaded symbols for /usr/X11R6/bin/cygICE-6.dll
Loaded symbols for /usr/bin/cygwin1.dll
Loaded symbols for /c/WINDOWS/system32/advapi32.dll
Loaded symbols for /c/WINDOWS/system32/rpcrt4.dll
Loaded symbols for /c/WINDOWS/system32/secur32.dll
Loaded symbols for /usr/X11R6/bin/cygSM-6.dll
Loaded symbols for /usr/X11R6/bin/cygX11-6.dll
Loaded symbols for /usr/X11R6/bin/cygXaw3d-7.dll
Loaded symbols for /usr/X11R6/bin/cygXext-6.dll
Loaded symbols for /usr/X11R6/bin/cygXmu-6.dll
Loaded symbols for /usr/X11R6/bin/cygXt-6.dll
Loaded symbols for /usr/X11R6/bin/cygXpm-4.dll
Loaded symbols for /usr/bin/cygncurses-8.dll
Loaded symbols for /usr/bin/cygjpeg-62.dll
Loaded symbols for /usr/bin/cygpng12.dll
Loaded symbols for /usr/bin/cygz.dll
Loaded symbols for /usr/bin/cygtiff-5.dll
Loaded symbols for /usr/bin/cygungif-4.dll
Loading loadup.el (source)...
Using load-path (/tmp/emacs/lisp /tmp/emacs/lisp/emacs-lisp /tmp/emacs/lisp/language /tmp/emacs/lisp/international /tmp/emacs/lisp/textmodes)
Loading emacs-lisp/byte-run (source)...
Loading emacs-lisp/backquote (source)...
Loading subr (source)...
Loading version.el (source)...
Loading widget (source)...
Loading custom (source)...
Loading emacs-lisp/map-ynp (source)...
Loading cus-start (source)...
Note, built-in variable `selection-coding-system' not bound
Loading international/mule (source)...
Loading international/mule-conf.el (source)...

Program received signal SIGSEGV, Segmentation fault.
0x610e1805 in _vfprintf_r () from /usr/bin/cygwin1.dll
(gdb) bt
#0  0x610e1805 in _vfprintf_r () from /usr/bin/cygwin1.dll
#1  0x610f0358 in printf () from /usr/bin/cygwin1.dll
#2  0x610933b8 in _sigfe () from /usr/bin/cygwin1.dll
#3  0x00bf9a30 in ?? ()
#4  0x00020000 in ?? ()
#5  0x20ee0000 in bss_sbrk_buffer ()
#6  0x00020000 in ?? ()
#7  0x00033878 in ?? ()
#8  0x20159a74 in __default_morecore (increment=131072)
    at /tmp/emacs/src/gmalloc.c:1747
#9  0x20159a74 in __default_morecore (increment=131072)
    at /tmp/emacs/src/gmalloc.c:1747
#10 0x20159d2a in obtain (address=0x20ee0000, size=4368)
    at /tmp/emacs/src/ralloc.c:315
#11 0x20159fc9 in relocate_blocs (bloc=0x202ef7a0, heap=0x202dc530,
    address=0x20ee0000) at /tmp/emacs/src/ralloc.c:518
#12 0x2015a512 in r_alloc_sbrk (size=196608) at /tmp/emacs/src/ralloc.c:863
#13 0x20158781 in align (size=196608) at /tmp/emacs/src/gmalloc.c:508
#14 0x201589c5 in morecore_nolock (size=196608) at /tmp/emacs/src/gmalloc.c:691
#15 0x20158f9e in _malloc_internal_nolock (size=65536)
    at /tmp/emacs/src/gmalloc.c:937
#16 0x2015914f in _malloc_internal (size=65536)
    at /tmp/emacs/src/gmalloc.c:1005
---Type <return> to continue, or q <return> to quit---
#17 0x20159185 in malloc (size=65536) at /tmp/emacs/src/gmalloc.c:1029
#18 0x61057dbc in malloc () from /usr/bin/cygwin1.dll
#19 0x00010000 in ?? ()
#20 0x00000000 in ?? ()
(gdb)
===================================================




reply via email to

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