Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com From: Chris Faylor Date: Fri, 22 Oct 1999 11:48:00 -0400 To: "Fifer, Eric" Cc: "'cygwin AT sourceware DOT cygnus DOT com'" , Steve Jorgensen Subject: Re: Wierd perl problem.. Message-ID: <19991022114800.A948@cygnus.com> Reply-To: cygwin AT sourceware DOT cygnus DOT com Mail-Followup-To: "Fifer, Eric" , "'cygwin AT sourceware DOT cygnus DOT com'" , Steve Jorgensen References: <779F20BCCE5AD31186A50008C75D997917166A AT SILLDN_MAIL1> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i In-Reply-To: <779F20BCCE5AD31186A50008C75D997917166A@SILLDN_MAIL1>; from Fifer, Eric on Fri, Oct 22, 1999 at 02:48:39PM +0100 Another work around is to change the load address for each DLL that perl uses. The problem is that when perl issues a fork and cygwin tries to reload the DLLs that were in use in the parent, cygwin is unable to map the DLLs into exactly the same address space in the child. This confuses things badly. Changing the load addresses would rectify this. Currently every DLL (on the Cygwin CD, at least) loads into 0x64000000. If one could change this that would work around the problem for perl. Unfortunately, I don't think that there is any way to do this with any of our distributed tools. There are tools available from microsoft (editbin) which all allow this, however. cgf On Fri, Oct 22, 1999 at 02:48:39PM +0100, Fifer, Eric wrote: >The workaround is to build perl with the extension statically >linked into perl.exe. In this case FileHandle.pm uses IO.pm, >so IO needs to be statically linked when you originally run >Configure during the perl make process. This is the default >with hints/cygwin.sh that is in the latest developer >release, perl5.005_62. -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com