Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: Tue, 25 Jun 2002 15:51:05 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: cygwin-1.3.11-3: still cannot compile perl-5.8 Message-ID: <20020625195105.GH1097@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <170107024563 DOT 20020625062443 AT familiehaase DOT de> <20020625043609 DOT GA21436 AT redhat DOT com> <178153593195 DOT 20020625192052 AT familiehaase DOT de> <20020625185138 DOT GC31059 AT redhat DOT com> <147162214101 DOT 20020625214433 AT familiehaase DOT 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/