delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/07/11/10:24:30

X-Recipient: archive-cygwin AT delorie DOT 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 AT x-ray DOT 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 AT cygwin DOT com
Subject: Re: Q: rebaseall/rebaseperl ?
References: <op DOT vfdhy7w71e62zd AT balu DOT cs DOT uni-paderborn DOT de> <4C3249EC DOT 9010404 AT laposte DOT net> <op DOT vfd2zb0y1e62zd AT merlin DOT emma DOT line DOT org> <4C32853D DOT 1040605 AT cs DOT umass DOT edu>
In-Reply-To: <4C32853D.1040605@cs.umass.edu>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

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

- Raw text -


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