X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 68A3C385843D
Authentication-Results: sourceware.org;
 dmarc=none (p=none dis=none) header.from=maxrnd.com
Authentication-Results: sourceware.org; spf=none smtp.mailfrom=maxrnd.com
Subject: Re: Invalid relocation
From: Mark Geisert <mark@maxrnd.com>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
References: <159bb928-17ad-5430-8822-e15cb5cc1ede@gmail.com>
 <802bd755-2990-223e-773d-6a887ccd6c5c@maxrnd.com>
Message-ID: <52dbe580-9a56-973c-1846-a721355c7b72@maxrnd.com>
Date: Fri, 1 Jul 2022 02:19:26 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101
 Firefox/52.0 SeaMonkey/2.49.4
MIME-Version: 1.0
In-Reply-To: <802bd755-2990-223e-773d-6a887ccd6c5c@maxrnd.com>
X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
 KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, SPF_HELO_NONE, SPF_NONE, TXREP,
 T_SCC_BODY_TEXT_LINE autolearn=no 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@cygwin.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Errors-To: cygwin-bounces+archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 2619KGx6021592

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.)

Forgot to add: you ./configure'd with --disable-static, right?

..mark

-- 
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

