delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/03/28/08:17:04

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Wed, 28 Mar 2012 14:16:07 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: New package: _autorebase. Call rebaseall after installing new or updated DLLs
Message-ID: <20120328121607.GI25716@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20120327153750 DOT GM30721 AT calimero DOT vinschen DOT de> <4F72DE8A DOT 4020905 AT etr-usa DOT com>
MIME-Version: 1.0
In-Reply-To: <4F72DE8A.4020905@etr-usa.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

On Mar 28 03:48, Warren Young wrote:
> On 3/27/2012 9:37 AM, Corinna Vinschen wrote:
> >
> >Please also note that this package requires at least the new rebase
> >version 4.1.0.  The changes in rebase 4.1.0 deal gracefully with DLLs
> >which are in use while rebaseall runs.
> 
> Does this mean I can continue to leave the cron service running
> through a setup.exe upgrade as long as neither cygwin1.dll nor
> cyggcc_s-1.dll is being upgraded?  (Nor cron itself, obviously.)

Yes, that should be possible.  You will find a list of DLLs which
couldn't be rebased in setup.log afterwards, but they are not
touched and rebase runs along.

Of course, this may have side effects.  Usually rebase packs the DLLs
side-by-side address-wise, so that they don't overlap and don't leave
holes in the memory layout.  In-use DLLs can hamper this effort so
there's a chance to leave holes.  And if, for some reason, two DLLs
are in use which overlap with each other, they will still overlap with
each other afterwards and can result in rebase problems subsequently.
Of course none of the rebased DLLs will overlap with the in-use DLLs.

Occassionally checking for overlaps with `rebase -si' doesn't hurt.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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