delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/12/17/11:11:26

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <4D0B8B99.90005@gmx.de>
Date: Fri, 17 Dec 2010 17:11:05 +0100
From: Matthias Andree <matthias DOT andree AT gmx DOT de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.13) Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: rebase question
References: <AANLkTi=2OJq2tJz=icMTCvmp2GPB2zZTPnsziNF5vcTj AT mail DOT gmail DOT com>
In-Reply-To: <AANLkTi=2OJq2tJz=icMTCvmp2GPB2zZTPnsziNF5vcTj@mail.gmail.com>
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

Am 17.12.2010 15:56, schrieb Rance Hall:
> Over the last several days I've been reading the thread that
> eventually migrated to a discussion of combining rebase and perlrebase
> as one.
> 
> I've largely ignored it because I have never had a problem with cygwin
> that wasn't my fault.
> 
> It seems more and more this rebase deal is coming up and I'm starting
> to be interested, for curiosity purposes if no other reason.
> 
> The perlrebase maintainer even posted that he wrote the script because
> he was having a problem repeatedly.
> 
> It seems as if rebase and friends are suggested to fix a wide array of
> strange problems, which I have never seen.
> 
> So here are my questions:
> 
> 1) What problem does rebase actually fix that seems to fix so many
> different strange problems?

Loading DLLs if processes fork children.  To match Unix semantics, the DLL needs
to be loaded into the same place.  If that doesn't work out because the child
pulls in libraries differently than the parent, the processes get killed.  I've
frequently seen issues with Subversion, for instance.

> 2) Why do some people seem to have this problem often, and others
> almost never?

Depends on the characteristics of the software used.  The way I used vim and
gcc, I've never had issues with those, but Git-SVN is peculiar...

Rebase has been discussed in lengths, the thing I see open is that rebase,
unlike peflagsall and perlrebase, does NOT make .dlls writable if they aren't
(with chmod, that is), so it chooses to fail.

I wonder if ASLR (that which you can enable with peflagsall) should become the
default on systems that support it. It seems to help quite a bit, too, on
systems that support it (for instance, Windows 7).

-- 
Matthias Andree

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