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: Thu, 7 Jul 2005 17:49:13 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: question for perl maintainer Message-ID: <20050707214913.GA22301@trixie.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com References: <7231C15EAC2F164CA6DC326D97493C8BA1C3F1 AT exchange35 DOT fed DOT cclrc DOT ac DOT uk> <6 DOT 2 DOT 1 DOT 2 DOT 0 DOT 20050707140715 DOT 03ce4ac0 AT pop DOT prospeed DOT net> <20050707182759 DOT GA15923 AT trixie DOT casa DOT cgf DOT cx> <42CD945A DOT 4070607 AT familiehaase DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42CD945A.4070607@familiehaase.de> User-Agent: Mutt/1.5.8i On Thu, Jul 07, 2005 at 10:45:14PM +0200, Gerrit P. Haase wrote: >Christopher Faylor wrote: > >>On Thu, Jul 07, 2005 at 02:08:40PM -0400, Larry Hall wrote: >> >>>At 01:10 PM 7/7/2005, you wrote: >>> >>>>In an attempt to work round the problem with readshortcut I reported >>>>earlier, I thought I'd use a Perl script. Unfortunately the >>>>Win32::Shortcut package seems to cause problems with process forking >>>>(unlike the readshortcut error, this one isn't specific to the latest >>>>cygwin DLL). I get an error >>>> >>>>C:\cygwin\bin\perl.exe (3088): *** unable to remap >>>>C:\cygwin\lib\perl5\vendor_perl\5.8\cygwin\auto\Win32\Shortcut\Shortcut. >>>>dll to same address as parent(0xBF0000) != 0x1110000 >>>> 13 [main] perl 3716 fork_parent: child 3088 died waiting for dll >>>>loading >>> >>>Sounds like a classic rebasing issue to me. Have you tried running >>>'rebaseall'? >> >>Wouldn't this problem be ameliorated slightly if the perl DLLs all >>loaded in unique addresses to begin with? Isn't the problem that all >>perl DLLs (and probably others) are loading in address 0x10000000? >> >>Gerrit, would you be willing to change this so that the DLLs load in >>non-default locations? This would probably help everyone right out >>of the box? > >Sounds good. WHat is the magic flag I need to add to the link commands? Something like -Wl,--image-base=0xsomething . Or, you could just rebase the dlls prior to releasing perl, I guess. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/