delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/04/17/17:08:28

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding; q=dns; s=
default; b=xtam+Vn8KGyJBvBaZoto7xrhitt2RNi+kYyNA8+8KcCALQ1G3lLcl
hfJtens/AscRfVs96CFZ3kMfBfYiD9tUDVbuFxMspido41lT34GJ7OlkUH520ZPE
oCYE467nzX/aNfxqpM2pOK5o2uuLyt/QVpetwHOCWk5miQwSH0hgkE=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding; s=default;
bh=e99X2z+yk/7XDzL/KGhVEQXHW7E=; b=EbFoW+hXUca4UCXT/FDngGsE7YGk
XcTJqZYxASD+bVKc/DAtUqVMaf5BIIoHwfyk1up6xBBEymcEFC808KxhbW8hJvnB
F0oY4aS3PmI/lQN6iF4W5BKKtERS00Ic80AbS5LijHTUU1ehMnawmetiqt1RBdpB
iq+gkWuXqLj+Nv8=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=H*M:120, Jaakov, jaakov, H*f:sk:1460923
X-HELO: plane.gmane.org
To: cygwin AT cygwin DOT com
From: Mark Geisert <mark AT maxrnd DOT com>
Subject: Re: Invalid relocation for xpdf
Date: Sun, 17 Apr 2016 21:01:58 +0000 (UTC)
Lines: 43
Message-ID: <loom.20160417T225522-120@post.gmane.org>
References: <1460923841 DOT 287261 DOT 4670 DOT 27076 AT mail DOT rambler DOT ru>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019