Am I a candidate for rebase?

M MWpycg mw_usenet@yahoo.com
Fri Feb 21 22:40:00 GMT 2003


I think I need to rebase my .dll files to overcome 
a problem with perl on cygwin. Before I do that, I 
wanted to ask if it might mess up things, and some 
other questions below.  The documentation implies 
Bad Things (TM)  might happen. Plus, I am waiting 
for rebase 2.2-2 to appear on tishler.net...

If I rebase, can I go back?  (unrebase?)  
Can rebasing break things that I straightened out
before?  
Should I use rebaseall?
Should I rebase everything in cygwin/usr/bin and
cygwin/usr/X11R6/bin simultaneously?
What offset should I use?
How do I avoid rvxt?  Does my cygwin icon on the
desktop avoid it?


As background, I have 

 > uname -a
CYGWIN_NT-5.0 AC431380 1.3.20(0.73/3/2) 2003-02-08
12:10 i686 unknown unknown Cygwin

I installed gd 2.0.11 from Boutell, and GD.pm 2.0.6
with only minor problems.
My goal is GD::Graph, which led to trying to install
GDTextUtils.pm:

 > cygperl Makefile.PL
Checking if your kit is complete...
Looks good
C:\cygwin\bin\cygperl.exe: *** unable to remap
C:\cygwin\usr\X11R6\bin\libfreety
pe.dll to same address as parent(0x720000) != 0x740000
     30 [main] cygperl 3640 sync_with_child: child
3260(0xFC) died before initia
lization with status code 0x1
    345 [main] cygperl 3640 sync_with_child: *** child
state child loading dlls
C:\cygwin\bin\cygperl.exe: *** unable to remap
C:\cygwin\usr\X11R6\bin\libfreety
pe.dll to same address as parent(0x720000) != 0x740000
5058346 [main] cygperl 3640 sync_with_child: child
268(0x108) died before initia
lization with status code 0x1
5058655 [main] cygperl 3640 sync_with_child: *** child
state child loading dlls
C:\cygwin\bin\cygperl.exe: *** unable to remap
C:\cygwin\usr\X11R6\bin\libfreety
pe.dll to same address as parent(0x720000) != 0x740000
10117211 [main] cygperl 3640 sync_with_child: child
3140(0x114) died before init
ialization with status code 0x1
10117522 [main] cygperl 3640 sync_with_child: ***
child state child loading dlls

C:\cygwin\bin\cygperl.exe: *** unable to remap
C:\cygwin\usr\X11R6\bin\libfreety
pe.dll to same address as parent(0x720000) != 0x740000
15181216 [main] cygperl 3640 sync_with_child: child
3644(0x120) died before init
ialization with status code 0x1
15181527 [main] cygperl 3640 sync_with_child: ***
child state child loading dlls

C:\cygwin\bin\cygperl.exe: *** unable to remap
C:\cygwin\usr\X11R6\bin\libfreety
pe.dll to same address as parent(0x720000) != 0x740000
20240371 [main] cygperl 3640 sync_with_child: child
3600(0x12C) died before init
ialization with status code 0x1
20240683 [main] cygperl 3640 sync_with_child: ***
child state child loading dlls

C:\cygwin\bin\cygperl.exe: *** unable to remap
C:\cygwin\usr\X11R6\bin\libfreety
pe.dll to same address as parent(0x720000) != 0x740000
25300694 [main] cygperl 3640 sync_with_child: child
3796(0x138) died before init
ialization with status code 0x1
25301004 [main] cygperl 3640 sync_with_child: ***
child state child loading dlls

etc.

which led to a google search, and the similar error
for python:
http://sources.redhat.com/ml/cygwin/2001-12/msg00339.html
and the proposed solution: rebasing
http://sources.redhat.com/ml/cygwin/2003-02/msg01484.html
http://www.tishler.net/jason/software/rebase/
thankfully supplied by Jason Tishler, who recommends
posting
questions to the cygwin mailing list.  ;-) 

but, if I rebase, can I go back?  (unrebase?)  
Can rebasing break things that I straightened out
before?  
Should I use rebaseall?
Should I rebase everything in cygwin/usr/bin and
cygwin/usr/X11R6/bin simultaneously?
What offset should I use?
How do I avoid rvxt?  Does my cygwin icon on the
desktop avoid it?

The readme of rebase 2.2-1 says:
"<WARNING>
Note it is *strongly* recommended that users only use
rebaseall unless
they *really* know what they are doing or are
instructed by one of the
Cygwin developers.
</WARNING>

Use the following procedure to rebase your entire
system:

    1. shutdown all Cygwin processes
    2. start bash (do not use rxvt)
    3. execute "rebaseall -v" (in the bash window)

The following is the rebaseall command line syntax:

    rebaseall [-b BaseAddress] [-o Offset] [-v]

where:

    -b => base address used by rebase (default:
0x70000000)
    -o => offset between each DLL rebased (default:
0x10000)
    -v => verbose (default: off)"

If I do not use rebaseall, would I do something like:

cd /usr
./bin/rebase -v bin/cygXpm-X4.dll bin/cygXpm-noX4.dll
... bin/tk84.dll \
 X11R6/bin/cygPropList-0.dll X11R6/bin/libGL.dllX11
... \
 X11R6/bin/liboldX.dll X11R6/bin/libpsres.dll 


Thanks in advance.

mw_usenet@yahoo.com


The attachment shows the output of cygcheck -svr.

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck_svr.txt
URL: <http://cygwin.com/pipermail/cygwin/attachments/20030221/43f31938/attachment.txt>
-------------- next part --------------
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


More information about the Cygwin mailing list