www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/07/01/15:52:07

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org B8C643858C51
Authentication-Results: sourceware.org;
dmarc=pass (p=none dis=none) header.from=gmail.com
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=message-id:date:mime-version:user-agent:subject:content-language:to
:references:from:in-reply-to:content-transfer-encoding;
bh=fMKvt04pto9L/Q9i7A950Ef7Xo345Xo9XgPjvOlyFSE=;
b=AmiyQDfieJlmYVvoHqHsbRpr/1zKMOwnWFUs7t3TGBe5VMcILgfzQuR/4gE4nvpvT+
eTTrGSUUTVPWLCkfaTZCZnN/Jw+PV/mXv7aXrqalr11wep8geHnQkEMLi+TD3oFj9TOW
hgJShwTNUdueFciroTryjVlI5EalrJGSGQ98x0q1U3Yd/ZppxzeosJmkRmX3CjGnV4eM
SEA0We8jObb3coPK/R7DKiW/BGoSrwKcHbJ1YWe6DeNtPJmCHkoEae15QFoMGeW2xoKb
a0Co8t9L1FUuSQ254am70ZvT1XN1RtPxtsFnJTv1fL9kWJhry1tClOHPL40PI/p8WXh4
9CIg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=x-gm-message-state:message-id:date:mime-version:user-agent:subject
:content-language:to:references:from:in-reply-to
:content-transfer-encoding;
bh=fMKvt04pto9L/Q9i7A950Ef7Xo345Xo9XgPjvOlyFSE=;
b=7suKiaYZJZv6Q/3btMeGCn+R28qndjUuVQuNMi+4cs6kkZarjH3os9bmFB5l1fKIqj
Cqbk7WcJPFAo+D+tBN7moIafyhVfTibGOuZpg+78EZGynwbK+9IEiqnh6Mc2uF2VMQ+n
XaiJB4Qflu5ROXtswbt8mWqxx2cFFHwkigCIT5gPpF4Htxe+5rOf5gZkcJwFMampZ7iU
wzIl3LjmQx0J/BKQ4USGRb7ou7IkCfUgR6TjAoYCK9fOePiyKwQefTZsfTcvfc5R9XxJ
oHS2DNyEAUR//HeXSSwfzPfdN3cysBpAO9/k3nj9JfPpmvS/NGrttYCspjdPuO6490yv
wOHw==
X-Gm-Message-State: AJIora/c+ZMu6TZgmHDBmcg0D7f2KHjvdqH4iJLR+q9AAj9XEB5yACNU
H+LGZUQM/rcSFAEnOGWrAp6ECS2eiq0=
X-Google-Smtp-Source: AGRyM1tu7J8D5itkHW9rJHtCFNpZ6owXX64+vpxf0IDisj3bX6WwpNRPcs5mhyL/2rywVkTayhzVeA==
X-Received: by 2002:a17:906:ce36:b0:726:9ec6:7792 with SMTP id
sd22-20020a170906ce3600b007269ec67792mr16013934ejb.516.1656705108126;
Fri, 01 Jul 2022 12:51:48 -0700 (PDT)
Message-ID: <70bfca62-8ca1-7378-8722-97ce2307ea06@gmail.com>
Date: Fri, 1 Jul 2022 21:51:46 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.11.0
Subject: Re: Invalid relocation
To: cygwin AT cygwin DOT com
References: <159bb928-17ad-5430-8822-e15cb5cc1ede AT gmail DOT com>
<802bd755-2990-223e-773d-6a887ccd6c5c AT maxrnd DOT com>
<52dbe580-9a56-973c-1846-a721355c7b72 AT maxrnd DOT com>
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
In-Reply-To: <52dbe580-9a56-973c-1846-a721355c7b72@maxrnd.com>
X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, NICE_REPLY_A,
RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 261Jq6Sc031509


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

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019