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 15:51:05 -0400
From: Christopher Faylor <cgf@redhat.com>
To: cygwin@cygwin.com
Subject: Re: cygwin-1.3.11-3: still cannot compile perl-5.8
Message-ID: <20020625195105.GH1097@redhat.com>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <170107024563.20020625062443@familiehaase.de> <20020625043609.GA21436@redhat.com> <178153593195.20020625192052@familiehaase.de> <20020625185138.GC31059@redhat.com> <147162214101.20020625214433@familiehaase.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <147162214101.20020625214433@familiehaase.de>
User-Agent: Mutt/1.3.23.1i

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.

Also does the latest snapshot behave any differently?

cgf

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

