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 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 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline 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 Precedence: bulk List-Id: List-Unsubscribe: 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 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