public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Mark Geisert <mark@maxrnd.com>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: Re: Invalid relocation
Date: Fri, 1 Jul 2022 01:35:50 -0700	[thread overview]
Message-ID: <802bd755-2990-223e-773d-6a887ccd6c5c@maxrnd.com> (raw)
In-Reply-To: <159bb928-17ad-5430-8822-e15cb5cc1ede@gmail.com>

Hi Marco,

Marco Atzeri wrote:
> Hi,
> 
> Building latest flint package
> all tests fail with
> 
> $ PATH="$(pwd)/bin:${PATH}" bin/ulong_extras-test-t-xgcd.exe
> Cygwin runtime failure: 
> /pub/devel/flint/flint-2.9.0-1.x86_64/build/bin/ulong_extras-test-t-xgcd.exe: 
> Invalid relocation.  Offset 0x3913a070c at address 0x100401740 doesn't fit into 32 
> bits
> 
> Any suggestion on what to look for ?

The common reason for this failure is a required DLL being rebased too high to be 
reachable from the location where the relocation is being updated.  Check the .exe 
with ldd: is the correct libflint*.dll being referred to?  (I.e., watch out for 
stale DLLs in /usr/local/bin and such.  Been there.)

..mark

  reply	other threads:[~2022-07-01  8:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-01  5:39 Marco Atzeri
2022-07-01  8:35 ` Mark Geisert [this message]
2022-07-01  9:19   ` Mark Geisert
2022-07-01 19:51     ` Marco Atzeri

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=802bd755-2990-223e-773d-6a887ccd6c5c@maxrnd.com \
    --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).