delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/02/02/18:09:13

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: Sat, 3 Feb 2001 00:07:30 +0100
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: Earnie Boyd <cygwin AT cygwin DOT com>
Subject: Re: Perplexed about building bash
Message-ID: <20010203000730.U19867@cygbert.vinschen.de>
Mail-Followup-To: Earnie Boyd <cygwin AT cygwin DOT com>
References: <3A7B365D DOT AE9159C5 AT yahoo DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <3A7B365D.AE9159C5@yahoo.com>; from earnie_boyd@yahoo.com on Fri, Feb 02, 2001 at 05:36:13PM -0500

On Fri, Feb 02, 2001 at 05:36:13PM -0500, Earnie Boyd wrote:
>  Can some one
> suggest a method of debugging this?  Can some one say that they can

The only way I can see is using gdb. How do you want to get
reliable information otherwise? Using Insight is somewhat
easier if you are not that familar with gdb.

> Can some one say that they can
> build bash-2.04 natively using Cygwin and execute it?

I can. The current bash in latest is a native build in a
Cygwin environment created by setup.exe. gcc-2.95.2-6, cygwin
1.1.8 (currently 1.3.0). I'm using the following config script:

======= SNIP ========
#!/bin/sh

#DEBUG=echo

SRCDIR=../src

HOST=i686-pc-cygwin
BUILD=${HOST}
TARGET=i686-pc-cygwin

PREFIX=/usr
EXECPREFIX=${PREFIX}
BINDIR=/bin
SYSCONFDIR=/etc
LIBEXECDIR=${EXECPREFIX}/sbin

OPTS=--enable-haifa

${DEBUG} ${SRCDIR}/configure \
        ${OPTS} \
        --prefix=${PREFIX} \
        --exec-prefix=${EXECPREFIX} \
        --bindir=${BINDIR} \
        --sysconfdir=${SYSCONFDIR} \
        --libexecdir=${LIBEXECDIR} \
        --host=${HOST} \
        --build=${BUILD} \
        --target=${TARGET}
======= SNAP ========

> Exception: STATUS_ACCESS_VIOLATION at eip=6104678E

This is the spawn_guts function, called by some exec(2) call

> eax=0000012E ebx=0258FDD0 ecx=00000001 edx=FFFFFFFF esi=00000000 edi=0000012E
> ebp=0258FA5C esp=0258FCFC program=c:\cygmnt\prj\esys\pkg\bld\app\bash\2.04\bash.exe
> cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
> Stack trace:
> Frame     Function  Args
> 0258FA5C  6104678E  (00000000, 00000000, 00000000, 00000000)
> 0258FD14  6104678E  (FFFFFFFF, 0258FD68, 00001000, 6100D22B)
> 0258FD54  6100D25A  (FFFFFFFF, FFFFFFFF, 0A010000, 00001000)
> 0258FD84  6103EB51  (00000001, 0258FDD0, 0258FDCC, 00001000)
> 0258FDD4  00468C05  (00000003, 77F1C6C8, 0258FE04, 00468D97)
> 0258FE04  00468EA2  (00000010, 00000000, 00000000, 61083EE0)
> 0258FE24  6102463C  (00000010, 0258FE60, 61024A53, 61083EE0)
> 0258FE60  61024A82  (000000AC, 12010618, 0258FF40, 610315AB)
> 0258FEB0  6102212C  (00000001, 77F013AC, 0258FF10, 61003546)
> 0258FF10  61003558  (00000000, 00000000, 77F76387, 77F7638F)
> 0258FF40  61003AAD  (00401208, 00000000, 80DDA068, 7FFDD000)
> 0258FF60  61003AEC  (00000000, 00000000, 809D8053, 80D1F100)
> 0258FF90  0046A7E3  (00401208, 00000000, 00000246, 8011748B)
> 0258FFC0  0040103D  (00000000, 00000000, 7FFDF000, 7FFDF000)
> 0258FFF0  77F1BA06  (00401000, 00000000, 000000B0, 00000100)
> End of stack trace

> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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