From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Angelo Graziosi Newsgroups: gmane.emacs.devel 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 Message-ID: <47A6CF4A.9050805@alice.it> References: <47A381C7.3000003@alice.it> <47A4C54D.5000602@alice.it> <47A4DEC0.8040406@alice.it> <47A5872A.2030601@alice.it> <47A62BFF.6040806@gnu.org> <47A62EBB.80404@alice.it> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1202114439 12780 80.91.229.12 (4 Feb 2008 08:40:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 4 Feb 2008 08:40:39 +0000 (UTC) Cc: emacs-devel@gnu.org, jasonr@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 04 09:41:00 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JLwsn-00060u-Ln for ged-emacs-devel@m.gmane.org; Mon, 04 Feb 2008 09:40:54 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JLwsL-0001kZ-Np for ged-emacs-devel@m.gmane.org; Mon, 04 Feb 2008 03:40:25 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JLwsI-0001kN-M2 for emacs-devel@gnu.org; Mon, 04 Feb 2008 03:40:22 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JLwsF-0001jU-KU for emacs-devel@gnu.org; Mon, 04 Feb 2008 03:40:22 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JLwsF-0001jP-Hl for emacs-devel@gnu.org; Mon, 04 Feb 2008 03:40:19 -0500 Original-Received: from smtp-out112.alice.it ([85.37.17.112]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JLws8-000845-PV; Mon, 04 Feb 2008 03:40:13 -0500 Original-Received: from FBCMMO01.fbc.local ([192.168.68.195]) by smtp-out112.alice.it with Microsoft SMTPSVC(6.0.3790.1830); Mon, 4 Feb 2008 09:40:09 +0100 Original-Received: from FBCMCL01B07.fbc.local ([192.168.171.45]) by FBCMMO01.fbc.local with Microsoft SMTPSVC(6.0.3790.1830); Mon, 4 Feb 2008 09:40:09 +0100 Original-Received: from [87.6.19.141] ([87.6.19.141]) by FBCMCL01B07.fbc.local with Microsoft SMTPSVC(6.0.3790.1830); Mon, 4 Feb 2008 09:39:23 +0100 User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) In-Reply-To: X-OriginalArrivalTime: 04 Feb 2008 08:39:23.0812 (UTC) FILETIME=[71969640:01C86709] X-detected-kernel: by monty-python.gnu.org: Windows 2000 SP4, XP SP1+ 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:88137 Archived-At: Eli Zaretskii ha scritto: >> Date: Sun, 03 Feb 2008 22:14:35 +0100 >> From: Angelo Graziosi >> CC: Eli Zaretskii , emacs-devel@gnu.org >> >>> 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 to continue, or q 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) ===================================================