delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/01/22/17:39:08

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RP_MATCHES_RCVD,TW_KM,TW_MK
X-Spam-Check-By: sourceware.org
X-Trace: 840783420/mk-filter-1.mail.uk.tiscali.com/B2C/$THROTTLED_DYNAMIC/b2c-CUSTOMER-DYNAMIC-IP/85.210.74.159/None/drstacey AT tiscali DOT co DOT uk
X-SBRS: None
X-RemoteIP: 85.210.74.159
X-IP-MAIL-FROM: drstacey AT tiscali DOT co DOT uk
X-SMTP-AUTH:
X-Originating-Country: GB/UNITED KINGDOM
X-MUA: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130107 Thunderbird/17.0.2
X-IP-BHB: Once
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ApIBAMIT/1BV0kqf/2dsb2JhbAANN75Cg1BAPRYYAwIBAgFYCAEBiCGpQ4MwkDmODYMpA5cohDyNZg
Message-ID: <50FF14FC.1010406@tiscali.co.uk>
Date: Tue, 22 Jan 2013 22:38:52 +0000
From: David Stacey <drstacey AT tiscali DOT co DOT uk>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130107 Thunderbird/17.0.2
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: ruby rebase / remap problems
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

I have a 'kitchen sink' Cygwin installation from 2013-01-14. This gives 
'rebase' errors when running the following command (taken from a 
./configure script):

$ ruby -r mkmf -e 'exit(have_func("rb_hash_foreach") ? 0 : 1)'
checking for rb_hash_foreach()...       0 [main] ruby 3064 
child_info_fork::abort: unable to remap transdb.so to same address as 
parent (01090000) - try running rebaseall
       1 [main] ruby 1268 child_info_fork::abort: unable to remap etc.so 
to same address as parent (010A0000) - try running rebaseall
       1 [main] ruby 3748 child_info_fork::abort: unable to remap 
transdb.so to same address as parent (01090000) - try running rebaseall
       1 [main] ruby 3148 child_info_fork::abort: unable to remap etc.so 
to same address as parent (010A0000) - try running rebaseall
       1 [main] ruby 472 child_info_fork::abort: unable to remap 
transdb.so to same address as parent (01090000) - try running rebaseall
       1 [main] ruby 1648 child_info_fork::abort: unable to remap etc.so 
to same address as parent (010A0000) - try running rebaseall

The 'rubyrebase' shell script (submitted to this list about a year ago) 
came to my rescue:
http://www.cygwin.com/ml/cygwin/2012-02/msg00701.html

Please could you consider adding this utility to our ruby package, in a 
similar way to the 'perlrebase' script in Cygwin's perl. Further, would 
it be possible to run 'perlrebase' and 'rubyrebase' during setup's post 
install? The _autorebase package does a great job with executables, but 
I understand that it doesn't work with ruby gems or perl modules.

Many thanks in advance for considering this.

Dave.



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