X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=0.2 required=5.0	tests=AWL,BAYES_50,RCVD_IN_DNSWL_NONE
X-Spam-Check-By: sourceware.org
Message-ID: <4C39D3F0.3000505@x-ray.at>
Date: Sun, 11 Jul 2010 16:23:44 +0200
From: Reini Urban <rurban@x-ray.at>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.10) Gecko/20100504 SeaMonkey/2.0.5
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Q: rebaseall/rebaseperl ?
References: <op.vfdhy7w71e62zd@balu.cs.uni-paderborn.de> <4C3249EC.9010404@laposte.net> <op.vfd2zb0y1e62zd@merlin.emma.line.org> <4C32853D.1040605@cs.umass.edu>
In-Reply-To: <4C32853D.1040605@cs.umass.edu>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Eliot Moss schrieb:
> On 7/5/2010 5:22 PM, Matthias Andree wrote:
>> Am 05.07.2010, 23:09 Uhr, schrieb Cyrille Lefevre:
>
>>> any reasons why rebaseall and rebase perl aren't executed at compile
>>> time ? or at packaging time ?

It IS done at packaging time on XP, and tested on Win7

At install-time a rebaseall would be preferred, since we packagers do 
not know how many dlls the client has installed, esp. those which might 
clash.

perlrebase is mainly useful, if a full rebaseall is too large, and/or 
another perl has to be rebased, which CAN conflict with the default perl.

>> Probably because it's not possible to oversee which installation would
>> need which libraries later, and because you'd have to have a registry,
>> or algorithm to derive base addresses, for each and every potential
>> library. Meaning: not manageable with reasonable effort.
>
> Put another way, the exact addresses and spacing needed vary
> with platform and perhaps according to other stuff installed,
> so it would be hard to do in advance. It *might* be possible
> to do it as part of setup on an individual platform, i.e.,
> *technically* feasible, but I expect it would be *managerially*
> a nightmare, since it is a somewhat complicated thing that
> gives people more room to screw up ...

Jason explictily listed TODO's in his rebase package README.
A setup database to skip already know addresses and rebase new ones into 
the holes or at the end is TODO.
-- 
Reini Urban
http://phpwiki.org/  http://murbreak.at/

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

