From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 116875 invoked by alias); 17 Apr 2016 21:23:42 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 91904 invoked by uid 89); 17 Apr 2016 21:10:41 -0000 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 Received: from plane.gmane.org (HELO plane.gmane.org) (80.91.229.3) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Sun, 17 Apr 2016 21:10:34 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1artxe-0004BR-9Y for cygwin@cygwin.com; Sun, 17 Apr 2016 23:10:30 +0200 Received: from 76-217-5-154.lightspeed.irvnca.sbcglobal.net ([76.217.5.154]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 17 Apr 2016 23:10:30 +0200 Received: from mark by 76-217-5-154.lightspeed.irvnca.sbcglobal.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 17 Apr 2016 23:10:30 +0200 To: cygwin@cygwin.com From: Mark Geisert Subject: Re: Invalid relocation for xpdf Date: Sun, 17 Apr 2016 21:23:00 -0000 Message-ID: References: <1460923841.287261.4670.27076@mail.rambler.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes X-SW-Source: 2016-04/txt/msg00409.txt.bz2 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