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: Invalid relocation for xpdf


Jaakov Jaakov writes:
> Same bug for me. 
> 
> $ xpdf &
> [1] 3496
> $ Cygwin runtime failure: /usr/bin/xpdf.exe: Invalid relocation.  
Offset 0x2f6eabad9 at address
> 0x100494523 doesn't fit into 32 bits
> 
> But Mark's suggestion doesn't work:
> 
> [1]+  Exit 127                xpdf
> /usr/bin$ rebase -i cygXt*
> /usr/bin/cygXtst-6.dll                    base 0x0003f72f0000 size 
0x0000d000  
> /usr/bin/cygXt-6.dll                      base 0x0003f7300000 size 
0x00058000  
> /usr/bin$ rebase --base=0x0ffa70000 /usr/bin/cygXt-6.dll 
> ReBaseImage (/usr/bin/cygXt-6.dll) failed with last error = 6
> /usr/bin$ rebase -i cygXt*
> /usr/bin/cygXtst-6.dll                    base 0x0003f72f0000 size 
0x0000d000  
> /usr/bin/cygXt-6.dll                      base 0x0003f7300000 size 
0x00058000 
> /usr/bin$ xpdf &
> [1] 2272
> /usr/bin$ Cygwin runtime failure: /usr/bin/xpdf.exe: Invalid 
relocation.  Offset 0x2f6eabad9 at
> address 0x100494523 doesn't fit into 32 bits
> 
> I'd be extremely grateful for a fix...

Hmm, not sure but I suspect your proposed base is colliding with 
something else.  I've had success with just turning the first nonzero 
digit of the original address to zero.  So --base=0xf7300000 in your 
case.

Try that.  If it still won't work, all I can suggest is 'rebase -i 
*.dll' in that directory to possibly see what's colliding ("*" marks 
collisions) and to identify an open address range to try.

..mark



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