delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/07/11/08:45:20

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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: Mon, 11 Jul 2005 08:43:07 -0400
From: Jason Tishler <jason AT tishler DOT net>
To: cygwin AT cygwin DOT com
Subject: Re: Perl Win32::Shortcut screws up fork
Message-ID: <20050711124307.GB3856@tishler.net>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <7231C15EAC2F164CA6DC326D97493C8BA1C3FA AT exchange35 DOT fed DOT cclrc DOT ac DOT uk> <42CDD3B8 DOT 69B6AB98 AT dessent DOT net> <20050708011859 DOT GB24841 AT trixie DOT casa DOT cgf DOT cx> <42CDD9CB DOT 8390A097 AT dessent DOT net> <20050708020511 DOT GA1718 AT trixie DOT casa DOT cgf DOT cx> <42CDE3D4 DOT 6030507 AT byu DOT net> <20050708035038 DOT GB2123 AT trixie DOT casa DOT cgf DOT cx>
Mime-Version: 1.0
In-Reply-To: <20050708035038.GB2123@trixie.casa.cgf.cx>
User-Agent: Mutt/1.4.1i
X-IsSubscribed: yes

On Thu, Jul 07, 2005 at 11:50:38PM -0400, Christopher Faylor wrote:
> On Thu, Jul 07, 2005 at 08:24:20PM -0600, Eric Blake wrote:
> >But what was wrong with my idea of making rebaseall a #!/bin/ash
> >script?
> 
> You still couldn't run the script from bash since the dlls would still
> be loaded.  That would mean that you'd have to do something like:
> 
> c:\>ash rebaseall
> 
> (Currently rebaseall won't work as an ash script but the fix is
> trivial)
> 
> I guess that's better than nothing but I still think that just not
> rebasing the bash dlls is going to result in fewer mailing list
> complaints.

My inclination is to convert rebaseall to an ash script.

> OTOH, if we had some coordination between the maintainers of DLLs in
> the distribution we could reduce the need for rebase a lot.  I don't
> know if using --enable-auto-image-base would fix every problem but I
> suspect that it might help.

It will, but I have empirical evidence that DLLs need to be rebased with
some padding between them to guarantee that fork() does not fail.

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019