X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-0.7 required=5.0 	tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Lenik <lenik@bodz.net>
Subject:  Re: Cygwin 1.7, Win 2008 and rebase
Date:  Thu, 14 May 2009 08:18:21 +0800
Lines: 59
Message-ID: <gufo0g$2pk$1@ger.gmane.org>
References:  <4A0B3781.8040000@gmail.com> <gufno3$2n1$1@ger.gmane.org>
Mime-Version:  1.0
Content-Type:  text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding:  7bit
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b3pre) Gecko/20090223 Thunderbird/3.0b2
In-Reply-To: <gufno3$2n1$1@ger.gmane.org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@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

On 2009-5-14 8:13, Lenik wrote:
> On 2009-5-14 5:11, Darren Syzling wrote:
>> I've just installed cygwin 1.7 for use under Winn 2008 - the latest
>> version of 1.7 setup released today. I've read the threads on rebase
>> issues with Vista but so far none of the suggestions help with my
>> git-svn issue. After installation I ran through:
>> ash
>> /usr/bin/rebaseall
>> /usr/bin/peflagsall
>>
>> Rebooted a number of times but whenever I use run git svn:
>> git svn --version
>>
>> I receive:
>>
>> 183 [main] perl 3588 C:\cygwin\bin\perl.exe: *** fatal error - unable to
>> remap C:\cygwin\bin\cygsvn_subr-1-0.dll to same address as
>> parent(0x6FB30000) != 0x6FE60000
>> 46 [main] perl 3488 fork: child 3588 - died waiting for dll loading,
>> errno11
>>
>> Any suggestions or have I may be missed some steps with the new version
>> of rebase?
>>
>> Regards
>> Darren
>>
> I have uninstalled Vista and backed to XP, the following script is used
> to launch cpan for the same error in Vista. I don't know whether it can
> solve git svn's problem. And it's written several months ago for cygwin
> 1.7.0-35(or earlier), maybe not work for the most latest version.
>
> 1) bash session:
> find /etc/setup -name '*.lst.gz' | xargs gzip -d -c | grep -E
> "\.(dll|so)\$" | sed -e '/cygwin1.dll$/d' -e 's/^/\//' >/tmp/libs
> grep lib/perl5 /tmp/libs >/tmp/libs-perl5
> grep -v lib/perl5 /tmp/libs >/tmp/libs-nonperl
> find /usr/lib/perl5 -iname *.dll >>/tmp/libs-perl5
> sort -u /tmp/libs-perl5 >/tmp/libs-p
>
> 2) quit bash and start a new cmd.exe session:
> rebase -vdb 0x70000000 -o 0x100000 -T /tmp/libs-nonperl
> rebase -vdb 0x10000000 -o 0x20000 -T /tmp/libs-p
>
> See also,
> http://lenik.99jsj.com/programming/cygwinperl-fatal-error-under-vista
>
> Good luck,
>
> Lenik
>
>

and you may try different values for base/offset, using a larger value 
instead of 0x100000, that's how I resolved the cpan's problem.

Maybe someone will make a better rebaseall utility.

Hope helps.


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

