From: Mark Geisert <mark@maxrnd.com>
To: cygwin@cygwin.com
Subject: Re: Invalid relocation for xpdf
Date: Sun, 17 Apr 2016 21:23:00 -0000 [thread overview]
Message-ID: <loom.20160417T230624-427@post.gmane.org> (raw)
In-Reply-To: <1460923841.287261.4670.27076@mail.rambler.ru>
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
next prev parent reply other threads:[~2016-04-17 21:23 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-17 20:10 Jaakov Jaakov
2016-04-17 21:07 ` Mark Geisert
2016-04-17 21:23 ` Mark Geisert [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-05-06 14:48 Jaakov Jaakov
[not found] <1460985282.4618.ezmlm@cygwin.com>
2016-04-18 13:25 ` Jaakov
2016-04-18 0:30 Jaakov Jaakov
2016-04-18 4:40 ` Mark Geisert
2016-04-15 8:35 Tobias Zawada
2016-04-17 4:46 ` Mark Geisert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20160417T230624-427@post.gmane.org \
--to=mark@maxrnd.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).