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 5EB203858C20 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 To: "cygwin AT cygwin DOT com" References: <159bb928-17ad-5430-8822-e15cb5cc1ede AT gmail DOT com> From: Mark Geisert Message-ID: <802bd755-2990-223e-773d-6a887ccd6c5c@maxrnd.com> Date: Fri, 1 Jul 2022 01:35:50 -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: <159bb928-17ad-5430-8822-e15cb5cc1ede@gmail.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 AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 2618aA3Q015471 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 -- 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