delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/11/00:14:36

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Tue, 10 Jul 2001 21:13:51 -0700 (PDT)
Message-Id: <20010710.211351.17415274.Takaaki.Ota@am.sony.com>
To: cwilson AT ece DOT gatech DOT edu
Cc: cygwin AT cygwin DOT com, deo AT logos-m DOT ru
Subject: Re: dumper.exe
From: Tak Ota <Takaaki DOT Ota AT am DOT sony DOT com>
In-Reply-To: <3B4BCB17.5000008@ece.gatech.edu>
References: <18290825119 DOT 20010710173204 AT logos-m DOT ru>
<20010710 DOT 074825 DOT 89918448 DOT Takaaki DOT Ota AT am DOT sony DOT com>
<3B4BCB17 DOT 5000008 AT ece DOT gatech DOT edu>
X-Mailer: Mew version 2.0 pre1 on Emacs 21.0.103.1 / Mule 5.0 (SAKAKI)
X-Telephone: +1-858-942-3239
X-Fax------: +1-858-942-9142
X-SnailMail: 16450 West Bernardo Drive MZ7205, San Diego, CA 92127-1804
Organization: Sony Electronics Inc.
Mime-Version: 1.0

On Tue, 10 Jul 2001 23:42:15 -0400, "Charles S. Wilson" <cwilson AT ece DOT gatech DOT edu> wrote:

> During the cygwin build process, it prints out a message concerning 
> dumper -- I've forgotten the exact details, but it's something like "I'm 
> not going to build dumper.  If you want to build dumper, then you need 
> to check out the "naked-bfd" and "naked-gettext" modules from cvs"
> 
> Did you do that?

Yes, I saw that message and yes, I did that.  Actually they where
"naked-bfd" and "naked-intl".  "naked-intl" had some build problem and
I had to comment out #include "argz.h" from one of the source then it
built.  Regarding "naked-bfd", libbfd.a was successfully built but
when dumper links to it bfd.c had some unresolved symbols.  That was
the end of show without a success.

Now I got the executable from Egor so no interest in struggling to
build it anymore.  Thanks anyway.

However, I am having the next level of problem in this ordeal.

When I compile and run the following program I get the next message
and no core is created.

/* bug.c */
int main(int argc, char **argv)
{
  char *x = 0;
  *x = '0';
  return 0;
}

bash-2.05$ bug
      0 [main] bug 2140 handle_exceptions: Error while dumping state (probably corrupted stack)
Segmentation fault (core dumped)
bash-2.05$ ls
Makefile  Makefile~  bug.c  bug.c~  bug.exe*  bug.o
bash-2.05$


I have dumper specified as this.

CYGWIN = `error_start=d:\cygwin\bin\dumper.exe'


-Tak

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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