From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: Windows port binaries Date: Wed, 16 Aug 2023 14:45:56 +0800 Message-ID: <87v8dfjxi3.fsf@yahoo.com> References: <4536176.VaOIPsP7d9@nimes> <87zg2umnx8.fsf@yahoo.com> <3861918.kkAUEy7oZ9@nimes> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1875"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Corwin Brust , Emacs-devel@gnu.org, Paul Eggert To: Bruno Haible Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Aug 16 08:46:48 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qWAIq-0000IY-PX for ged-emacs-devel@m.gmane-mx.org; Wed, 16 Aug 2023 08:46:48 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qWAIH-0000Ga-1H; Wed, 16 Aug 2023 02:46:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qWAIE-0000GJ-1t for Emacs-devel@gnu.org; Wed, 16 Aug 2023 02:46:10 -0400 Original-Received: from sonic314-22.consmr.mail.ne1.yahoo.com ([66.163.189.148]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qWAIB-00081t-BH for Emacs-devel@gnu.org; Wed, 16 Aug 2023 02:46:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1692168365; bh=E/rPXoMwVY5ORoGYGV1y8AEH+I4tIORleiSM18ys5Ss=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=S7zssfJPdJs8gCjx50XEPOPk5QPK8QrxV67b47uirwJvhCTYj4VY3+aE/7C5ejDv16As68I8xi13p5ITha1HaZ6BhvsRdIF8TARKkEx+yQDI8/3TSL5P4vVA3TAnT4S9v0qTiZAzxvLo363q7BdNS0DkvKKtF4D6fTqRrtc+caTcD4vmN/1boZyRYl4yyE9Q1DnrsgHZOgn6Is2eamGMz8IwGcKRfkS+UYiMyepG9kmRt4FgEtJkjoQ1wcaZndxFP8hHI3vEVsH0K49pKnsg2aOzCzWtrtE/k02yInJynXTRhYlzK4xWeHiCTbzIl3U3hDuypVPFZlAkKVj1gZFOng== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1692168365; bh=N2bhuuER7hh5v8ZNhZ4Y1Y5xGw7nW09PIxZzBX6lIyN=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=r/ykcabxPLaeTx7L/N+F4TDDdcnK2mQ0H5MnzdFo4+EOvQA28RUoyTHHTGR2K76O5idpsmyLN7hLhfCvO7pGORFMLieHazqdPk7NV1rFOlIcOe8WLws+KV9zhZxPbrh74nsWV6QSxKTxgOfvf9kB0Vm/KGGNhKYuym1MeH3PzFtD1xQVxfjLITR4uGyLHvyRrv4XOJqPz9kPlpy0hwVBP2zIq2r2/llWsVwyChrivSspZIfGTvLpzuX20VosdxupM7R8zD/negSN+a0edNFW5B39lJdxD28zWeXAdgqf+BpGkxATlIkeY4UbDHe4dsZii6MEF4fMoWKz+KHwgkQuxA== X-YMail-OSG: If9HfQ4VM1kHnuXhIC7oM_0DNxmCsuLuqG7kPcS5EUM9K1WFd1U3Kts6yrFNOgW .3V_G0Tx0hFHJmRu8MXIEmuBw6.3_JckrRxEjw54mmTIpsxzs1Fxo6REgPUcmbNQbN9L38a._uAU vN5uzY55XG55wBFLgB2xx1E7wELdJxhIjWCA0a0zlsKEY_JuU4yC8O8frwb2Oajn9mbC.b7JwMbU 9.r9iUOcUI51UqlrKZM_.azCWYn4u4s02dYeCBwARhWJr0abGKMOfeCSwgBw.ebR8SHHQ86OhxvS fN0up05Y6T.MlAlGx4dguei3RSuJv762uZVBVG3VfAXTp_zQtevlJLbxH7YSh1_woOBmrxrH_.Gb _VP98n7B5ZDROi38Q6mg_9_oy70ZiWL7ttvcU0WIRbIuwt6vuq62L1VUETCQqCl7T0On4bESx68n .AijOHQvUoZ_ssHLqEj1_NE2CY6WgOk.NJeTDG0ftaQCMkq20.bmHHtFPDErFrJfbUCgrDjJDolN O9pPVL5_2vFEjdEvBkcJOAoi.5jqQ5Rp5Aow25aSz9q10FIUeo_TYj_y_GSY6JIYDye5l6P3oAQc VGpqs1w2xIdiSRZX3M8Sr1woy4qmDqfdQrDTEVk7botK7vsx7gIHi3kQ8p7_jsZZ2kd6IaHR8CiI aXo3.cj5powuLorvUmBbtu7eIMI_GxTv3QfQgqcoxkZnve_xp4KvxPnv96t6Qr2lIJ53zz9fNqoh qnaLHliOfRQVLUBhxYUQsaF4xKSA2gIbSB37AM0xqIgqRttBSlVL0QWR6Jiu0K1N6z4gwlewPN4A FLvFqOfYoIeQubgFe2EshDF6YLOo6Af5Tk8wmBfWh9 X-Sonic-MF: X-Sonic-ID: 90308148-c9f5-422d-8ab1-bc31a68a8c8e Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.ne1.yahoo.com with HTTP; Wed, 16 Aug 2023 06:46:05 +0000 Original-Received: by hermes--production-sg3-69654d8bd-l9pxw (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 360ec61e69e60e155f85ebe3e7e8afc2; Wed, 16 Aug 2023 06:46:01 +0000 (UTC) In-Reply-To: <3861918.kkAUEy7oZ9@nimes> (Bruno Haible's message of "Tue, 15 Aug 2023 21:57:47 +0200") X-Mailer: WebService/1.1.21732 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.189.148; envelope-from=luangruo@yahoo.com; helo=sonic314-22.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:308797 Archived-At: Bruno Haible writes: > Corwin Brust wrote: >> In case it helps others to assist with testing, for the moment I am >> aggressively rebuilding the Windows port also, from (not quite every) >> commit to emacs-29 or master, posting to: >> >> https://corwin.bru.st/emacs-29 >> https://corwin.bru.st/emacs-30 > > Thanks. I tried to use the > https://corwin.bru.st/emacs-30/emacs-30-latest-no-deps.zip > binary from today, but they don't work for me (on Windows 10), because > they rely on two DLLs which are not contained in the 'bin' directory: > - libgmp-10.dll > - libwinpthread-1.dll > > Find below the output of "dumpbin.exe /imports emacs.exe". > > Additionally, I find it strange: > > 1) Why are the imports from libgmp all prefixed with '__'? That's > a bit unusual. GMP prefers such a naming convention for their exported symbols. These symbols are defined to their programmer-facing names in gmp.h. > 2) emacs/nt/mingw-cfg.site contains this comment: > # We don't want to check for these functions > # because they are implemented in libwinpthread. > corresponding to this ChangeLog entry: > > 2016-04-21 Fabrice Popineau > > Avoid run-time dependency on libwinpthread DLL on MS-Windows > > * nt/mingw-cfg.site (ac_cv_search_clock_gettime) > (ac_cv_func_clock_gettime, ac_cv_func_clock_settime): Force to not > present, so that MinGW64 builds don't depend on libwinpthread. > (Bug#22959) > > However, the binaries rely on nanosleep() from libwinpthread. > Is it intended or unintended? > If it is unintended, does it come from Gnulib? In this case, I'll gladly > help to do anything needed in Gnulib to help avoid this import. I was under the impression that Emacs is supposed to use the nanosleep from MinGW, so this should be investigated.