This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: more "address space needed ... is already occupied" problems (with snapshot of 2012-02-20)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]