delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/04/17/17:25:09

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=GPg0sKlAsnttkD9MQG/FyCuoNraHZYNxCQ1Ano4q15MYwnmqKIroD
Rlx5marNA/Jdag+rqiZgoGrrGVe4ltrXrd5buJE8FGPDPhXircYH8rTmGG7rQlSo
Hchj5CBHGS9NQVjsZk9NjKzj9Kbt8TtXL2pWKJyrV2QlfiXaX1758Q=
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=sW00SlCFKAePm38cO30u/9o6kAE=; b=xdIejPYhWlXKz/23PsTFSdV0qT/y
e2JfrShOLmNAT89pS2EYMIDkFn2gaI02qSu/LgX/hLwA04P8X57cVsEf8wdNI3ne
zmVKPft8CKmsFOEXgLEqi5LH3/R5PAnJvnM/SdwSQU9Yk4k5IvaX6/wyczfwLN4u
7w/Q1vWHLr3GbtY=
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.4 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=
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:10:25 +0000 (UTC)
Lines: 43
Message-ID: <loom.20160417T230624-427@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 the proposed base address is colliding with 
some other DLL.  I've had success with just zeroing the first nonzero 
digit of the address.  So "--base=0xf7300000" in your case.

Try that.  If that doesn't work, all I can suggest is running 'rebase -i 
*.dll' in that directory.  It will mark any collisions with "*" and 
possibly show unused address ranges.  'rebase -h' to get help with that 
tool if you need it.

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