X-Recipient: archive-cygwin AT delorie DOT 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 DOT atzeri AT gmail DOT 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 DOT atzeri AT gmail DOT com designates 10.236.173.202 as permitted sender) smtp.mail=marco DOT atzeri AT gmail DOT com; dkim=pass header.i=marco DOT atzeri AT gmail DOT com MIME-Version: 1.0 In-Reply-To: <20120223185023.78563996.tphilipp@potion-studios.com> References: <20120222192933 DOT 0a8e03f6 DOT tphilipp AT potion-studios DOT com> <20120222223256 DOT 90d4fc28 DOT tphilipp AT potion-studios DOT com> <20120223083017 DOT GG7657 AT calimero DOT vinschen DOT de> <20120223185023 DOT 78563996 DOT tphilipp AT potion-studios DOT com> Date: Fri, 24 Feb 2012 03:25:30 +0100 Message-ID: Subject: Re: more "address space needed ... is already occupied" problems (with snapshot of 2012-02-20) From: marco atzeri To: cygwin AT cygwin DOT com Cc: Michael Lutz Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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