X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.7 required=5.0	tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW
X-Spam-Check-By: sourceware.org
Received-SPF: pass (google.com: domain of marco.atzeri@gmail.com designates 10.236.173.202 as permitted sender) client-ip=10.236.173.202;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of marco.atzeri@gmail.com designates 10.236.173.202 as permitted sender) smtp.mail=marco.atzeri@gmail.com; dkim=pass header.i=marco.atzeri@gmail.com
MIME-Version: 1.0
In-Reply-To: <20120223185023.78563996.tphilipp@potion-studios.com>
References: <20120222192933.0a8e03f6.tphilipp@potion-studios.com>	<CAB8Xom93QjbOG2Jycy33GyR4EdCNix5XN3_UDe0TYGpb3vfmeg@mail.gmail.com>	<20120222223256.90d4fc28.tphilipp@potion-studios.com>	<20120223083017.GG7657@calimero.vinschen.de>	<ji6hq4$gff$1@dough.gmane.org>	<20120223185023.78563996.tphilipp@potion-studios.com>
Date: Fri, 24 Feb 2012 03:25:30 +0100
Message-ID: <CAB8Xom-fT5FsS1X42RYoc9bgNakikJ-AMQEy=fKxy5-eLnQ3kw@mail.gmail.com>
Subject: Re: more "address space needed ... is already occupied" problems (with snapshot of 2012-02-20)
From: marco atzeri <marco.atzeri@gmail.com>
To: cygwin@cygwin.com
Cc: Michael Lutz <Michi_cc@gmx.net>
Content-Type: text/plain; charset=ISO-8859-1
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
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q1O2PoRY012872

On Fri, Feb 24, 2012 at 1:50 AM, Tassilo Philipp  wrote:
> On Fri, 24 Feb 2012 00:23:38 +0100 wrote:
>
>> Am 23.02.2012 09:30 schrieb Corinna Vinschen:
>> > If you ran rebaseall, then ruby's shared libs should have been rebased
>> > as well.
>>
>> This is not necessarily true if you've got gems (just like perl CPAN
>> modules) not packaged by cygwin installed.
>>
>> For that I've hacked a rubyrebase script from the cygwin supplied
>> perlrebase script. I've attached it here, maybe it can be useful for other
>> people as well.
>
>
> Thank you so much, that solved it for me! I tried looking up the address of etc.so by using Corinna's suggestion (rebase -si), and it wasn't included in that list at all (not even when using cygwin's ruby 1.8.7 package), so it did never rebase it. After rebasing etc.so explicitly, I had other shared objects with similar problems. Your script did the magic, thanks!

Michael,
the cygwin's ruby package "etc.so" should be included in the rebaseall
list by default.
Rebaseall looks for all "*.so" and "*.dll" files reported on
"/etc/setup/*.lst.gz", so every
regulary installed dll's is included in the rebase round.
Any dll's from program manually installed must be included with the
"-T FileList" rebaseall option

On my system:

$ rebase -si |grep etc.so
/usr/lib/ruby/1.8/i386-cygwin/etc.so       base 0x5a1d0000 size 0x00009000

$ rebase --version
rebase version 4.0.1 (imagehelper version 0.10)
Copyright (c) 2001, 2002, 2003, 2004, 2008, 2011 Ralf Habacker, Jason
Tishler, et al.

If it is not working, you have a problem with the rebase package or
with your installation.

Regards
Marco

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


