From: Marco Atzeri <marco.atzeri@gmail.com>
To: cygwin@cygwin.com
Subject: Re: Invalid relocation
Date: Fri, 1 Jul 2022 21:51:46 +0200 [thread overview]
Message-ID: <70bfca62-8ca1-7378-8722-97ce2307ea06@gmail.com> (raw)
In-Reply-To: <52dbe580-9a56-973c-1846-a721355c7b72@maxrnd.com>
On 01.07.2022 11:19, Mark Geisert wrote:
> Mark Geisert wrote:
>> 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.)
it is the first of its kind due to API bump
$ ldd bin/ulong_extras-test-t-xgcd.exe
ntdll.dll => /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll
(0x7ffcd3810000)
KERNEL32.DLL => /cygdrive/c/WINDOWS/System32/KERNEL32.DLL
(0x7ffcd2070000)
KERNELBASE.dll => /cygdrive/c/WINDOWS/System32/KERNELBASE.dll
(0x7ffcd12c0000)
cygflint-17.dll =>
/pub/devel/flint/test/flint-2.9.0-1.x86_64/build/bin/cygflint-17.dll
(0x37af20000)
cyggmp-10.dll => /usr/bin/cyggmp-10.dll (0x3da8b0000)
cygwin1.dll => /usr/bin/cygwin1.dll (0x180040000)
cygwin1.dll => /usr/bin/cygwin1.dll (0xcd0000)
cyggcc_s-seh-1.dll => /usr/bin/cyggcc_s-seh-1.dll (0x3df7a0000)
cygstdc++-6.dll => /usr/bin/cygstdc++-6.dll (0x3b6f10000)
cygblas-0.dll => /usr/bin/cygblas-0.dll (0x38cc80000)
cygmpfr-6.dll => /usr/bin/cygmpfr-6.dll (0x3c3e70000)
cygntl-44.dll => /usr/bin/cygntl-44.dll (0x3e8fc0000)
$ bin/ulong_extras-test-t-xgcd.exe
Cygwin runtime failure:
/pub/devel/flint/test/flint-2.9.0-1.x86_64/build/bin/ulong_extras-test-t-xgcd.exe:
Invalid relocation. Offset 0x27ab2070c at address 0x100401740 doesn't
fit into 32 bits
>
> Forgot to add: you ./configure'd with --disable-static, right?
$ find . -name "*.a"
./CMakeFiles/_CMakeLTOTest-C/bin/libfoo.a
./lib/libflint.dll.a
./libtest_helpers.a
May be the libtest ?
> ..mark
Regards
Marco
prev parent reply other threads:[~2022-07-01 19:51 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
2022-07-01 9:19 ` Mark Geisert
2022-07-01 19:51 ` Marco Atzeri [this message]
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=70bfca62-8ca1-7378-8722-97ce2307ea06@gmail.com \
--to=marco.atzeri@gmail.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).