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]

ruby rebase / remap problems


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


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