From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by sourceware.org (Postfix) with ESMTPS id B8C643858C51 for ; Fri, 1 Jul 2022 19:51:49 +0000 (GMT) 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 Received: by mail-ej1-x62e.google.com with SMTP id q6so5765682eji.13 for ; Fri, 01 Jul 2022 12:51:49 -0700 (PDT) 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) Received: from ?IPV6:2003:cc:9f19:ff89:702b:a60c:de06:a902? (p200300cc9f19ff89702ba60cde06a902.dip0.t-ipconnect.de. [2003:cc:9f19:ff89:702b:a60c:de06:a902]) by smtp.gmail.com with ESMTPSA id q4-20020a1709064cc400b006fec4ee28d0sm10727879ejt.189.2022.07.01.12.51.47 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 01 Jul 2022 12:51:47 -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 Content-Language: it To: cygwin@cygwin.com References: <159bb928-17ad-5430-8822-e15cb5cc1ede@gmail.com> <802bd755-2990-223e-773d-6a887ccd6c5c@maxrnd.com> <52dbe580-9a56-973c-1846-a721355c7b72@maxrnd.com> From: Marco Atzeri In-Reply-To: <52dbe580-9a56-973c-1846-a721355c7b72@maxrnd.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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@cygwin.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: , X-List-Received-Date: Fri, 01 Jul 2022 19:51:51 -0000 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