Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Tue, 25 Jun 2002 22:09:59 +0200
From: "Gerrit P. Haase" <gp@familiehaase.de>
Reply-To: "Gerrit @ cygwin" <cygwin@cygwin.com>
Organization: Esse keine toten Tiere
X-Priority: 3 (Normal)
Message-ID: <132163740516.20020625220959@familiehaase.de>
To: Christopher Faylor <cygwin@cygwin.com>
Subject: Re: cygwin-1.3.11-3: still cannot compile perl-5.8
In-Reply-To: <20020625195105.GH1097@redhat.com>
References: <170107024563.20020625062443@familiehaase.de>
 <20020625043609.GA21436@redhat.com>
 <178153593195.20020625192052@familiehaase.de>
 <20020625185138.GC31059@redhat.com>
 <147162214101.20020625214433@familiehaase.de> <20020625195105.GH1097@redhat.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hallo Christopher,

Am Dienstag, 25. Juni 2002 um 21:51 schriebst du:

> On Tue, Jun 25, 2002 at 09:44:33PM +0200, Gerrit P. Haase wrote:
>>>>(gdb) bt
>>>>#0  0x77f34ac4 in _libkernel32_a_iname ()
>>>>#1  0xffffffff in ?? ()
>>>>#2  0x6107120a in _libkernel32_a_iname ()
>>>>#3  0x0049cfcf in Perl_pp_link (my_perl=0xa013cf0) at pp_sys.c:3556
>>>                    ^^^^^^^^^^^                         ^^^^^^^^^^^^^
>>
>>> What function is this calling?
>>
>>PP(pp_link)
>>{
>>#ifdef HAS_LINK
>>    dSP; dTARGET;
>>    STRLEN n_a;
>>    char *tmps2 = POPpx;
>>    char *tmps = SvPV(TOPs, n_a);
>>    TAINT_PROPER("link");
>>    SETi( PerlLIO_link(tmps, tmps2) >= 0 ); <----3556
>>    RETURN;
>>#else
>>    DIE(aTHX_ PL_no_func, "link");
>>#endif
>>}
>>
>>iperlsys.h:
>>#define PerlLIO_link(oldname, newname)                                  \
>>        (*PL_LIO->pLink)(PL_LIO, (oldname), (newname))
>>
>>pp.h:
>>#define SETi(i)         STMT_START { sv_setiv(TARG, (IV)(i)); SETTARG; } STMT_END

> So, that confirms that it is dying in the link() call even though the
> location from your stack dump doesn't make sense (not your fault).

> Do you have a debugging DLL handy or can I send you one?  If you set a
> breakpoint in _link in the cygwin DLL and single step along until it
> dies, it should be instructive.

No I have no debugging cygwin dll here right now.

> Also does the latest snapshot behave any differently?

I havn't recompiled wwith the snapshot, but just using the snapshot
with the prvious compiled perl gives also a crash.

-- 
=^..^=


--
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/

