delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/10/13/22:24:36

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Thu, 13 Oct 2005 22:24:12 -0400
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: 1.5.18: ld command generates stackdump
Message-ID: <20051014022412.GC4476@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
References: <045001c5cd2c$657579e0$1600a8c0 AT toyon DOT corp> <diccd2$s2d$1 AT sea DOT gmane DOT org> <056901c5cd3e$3986d010$1600a8c0 AT toyon DOT corp> <434A5ADB DOT 2080602 AT byu DOT net> <20051010151806 DOT GC14608 AT trixie DOT casa DOT cgf DOT cx> <20051010153309 DOT GD14608 AT trixie DOT casa DOT cgf DOT cx> <036201c5d04a$7f485010$1600a8c0 AT toyon DOT corp> <434EF021 DOT 8C23A29 AT dessent DOT net>
Mime-Version: 1.0
In-Reply-To: <434EF021.8C23A29@dessent.net>
User-Agent: Mutt/1.5.8i

On Thu, Oct 13, 2005 at 04:39:13PM -0700, Brian Dessent wrote:
>"Peter J. Stieber" wrote:
>
>> Sorry in advance for the stupid questions, but...
>> 
>> I downloaded the binutils source package, and extracted the source. When
>> I ran
>> 
>> ./configure --help
>> 
>> I didn't see a --enable-debug option or anything I though was
>> equivalent. Am I missing something?
>
>Normally, auto-tooled packages like binutils have a default value for
>CFLAGS that is typically "-g -O2" which means you get the debug
>information.  When creating binary packages for distribution the
>binaries are typically stripped later.
>
>This is just a long-winded way of saying that if you build with the
>default configure options you should get debug information, and if not
>use a CFLAGS override when calling configure.
>
>> Do I also need to build a debug version of the cygwin DLL?
>
>It would help, since otherwise backtraces will only have raw addresses. 
>Note that the cygwin configure script[*] has a --enable-debugging
>switch, but this is for enabling lots of runtime consistency checks and
>extra verbosity -- it is not meant for enabling debug symbols, which you
>should get by default.

Is this dying in the cygwin DLL?  I suspect that it isn't.  The stackdump
file would show if it is, as would using CYGWIN error_start setting that
I mentioned previously.

I don't think there's any reason to build a debugging version of cygwin
unless the problem points to the cygwin DLL.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019