From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bruno Haible Newsgroups: gmane.emacs.devel Subject: Re: Windows port binaries Date: Thu, 17 Aug 2023 16:01:23 +0200 Message-ID: <6855528.vW432DtfF5@nimes> References: <4536176.VaOIPsP7d9@nimes> <3861918.kkAUEy7oZ9@nimes> <83ttsz8bhn.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6017"; mail-complaints-to="usenet@ciao.gmane.io" Cc: corwin@bru.st, Emacs-devel@gnu.org, luangruo@yahoo.com, eggert@cs.ucla.edu To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Aug 17 16:02:32 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 1qWda3-0001Nb-NN for ged-emacs-devel@m.gmane-mx.org; Thu, 17 Aug 2023 16:02:31 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qWdZl-0001hK-H2; Thu, 17 Aug 2023 10:02:14 -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 1qWdZP-0001Vc-C7 for Emacs-devel@gnu.org; Thu, 17 Aug 2023 10:01:56 -0400 Original-Received: from mo4-p01-ob.smtp.rzone.de ([81.169.146.167]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qWdZJ-0003H3-ER; Thu, 17 Aug 2023 10:01:50 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1692280884; cv=none; d=strato.com; s=strato-dkim-0002; b=PB4DB4N3c82dszo2XJ+KzEq35dLDZcNC2MYo/vVmUcN/OvFf2nZptbRmaH7+BMA+FR P3AGbAhUYgT9t3LVgnYzPiNVqnv9JcfFWRrMF8tTg7CA7PW1v52Zn6Utk4YLohGclnEK 10DMjoIfijh3NjU2s7Nt/DgxXuIExMLtVbE0JxQHnipng2mxTGu20HKO5UjvlD2NiqBN MJF1RxugJ2wntSybf/X87OOIJBCvfUeWA8lywSYVkJbMHFVVr0ZgwKxdFJOfTn8nQRKk 1y50y9iGWngM2xT7mLLeSqP3w3kgyRBJj0mNI7UtKkPPRdlVe1Tl2nvw6Fp+dt9athlW lMgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1692280884; s=strato-dkim-0002; d=strato.com; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=KxrPL+38FhsWnRTkqfy9qhLOzMXLoCnRHdBrAlvVOMU=; b=SMwl5hNLBdmcVKtPX0QAUNVHpBgv6T/FZG6ME9JmU9UB1KW2+6z3MvHRnie/yiT73T Oul0iPBh6aecwkAUuSUw2LZzlLqk2GJqvfsg4EnHF0pBRWEWbKPQt6aRHmzN3aG57a0Z xlLywhQDABIFau1LThtvZZAKsgGUC9f4dE5E07yF2qVGXit4Q1tQKz1zKQdb06rswQfa Yb+WhHYl3mLslN8ekB5O78DglDkoYmt3+jtxFIxh/sEcCAXBY6DT5wAWlSj0hZrwBk+O NV9IUY8PTimUrTKs0J8qHrRIQ7SLlzzK8+eKFSzMMwu+AGzJ3LlhDpcy547fXuZw6Djx KDmA== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none X-RZG-CLASS-ID: mo01 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1692280884; s=strato-dkim-0002; d=clisp.org; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=KxrPL+38FhsWnRTkqfy9qhLOzMXLoCnRHdBrAlvVOMU=; b=DMoXHi1b2G5xLV0sUnPl18QjIQ9wIQb94+F+ALzwggS1uDjpyjyZ7ymfzLx1U39pgT bk8X6Q34wAFZAqXvmE4cGEgXuzj2foh2oqLW1PBIlynLVysSilrAlYSoZkhHyv+qqIUi ake0oZCNyEmwvisQV2ewoW6UYznp/54sh1XWVnXyXzzVhkSkocpT/Kydyq0y6POf+5GA N3jpyf2pOisdJ8a/KyBAWJdX7Nla7N5/vPHnes4iy9XW83lXqrxTxRG+SSD+cwcgq9MY 7Ozrf9FuMXgKGldenW429V2LAHVyncYK7zXi1Ac5GzL/kKF8ie9nm13KapOKAwqn66eT mNWA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1692280884; s=strato-dkim-0003; d=clisp.org; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=KxrPL+38FhsWnRTkqfy9qhLOzMXLoCnRHdBrAlvVOMU=; b=V9/EwgEwvVDJbAdc4NpX9+wRMQGog2jKp9KHrxCEDlVkgRn6zd/COck9sSV+d6EgC/ OH6VPV3iz7KW0lMNfpDw== X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH0WWb0LN8XZoH94zq68+3cfpPFj6RvVMl4BvBdklfMVgTuiF5Iaw==" Original-Received: from nimes.localnet by smtp.strato.de (RZmta 49.6.6 AUTH) with ESMTPSA id 3eda2cz7HE1N5zR (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Thu, 17 Aug 2023 16:01:23 +0200 (CEST) In-Reply-To: <83ttsz8bhn.fsf@gnu.org> Received-SPF: none client-ip=81.169.146.167; envelope-from=bruno@clisp.org; helo=mo4-p01-ob.smtp.rzone.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_NONE=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:308864 Archived-At: Eli Zaretskii wrote: > > they rely on two DLLs which are not contained in the 'bin' directory: > > - libgmp-10.dll > > - libwinpthread-1.dll > > libwinpthread-1.dll shouldn't be there. ... > But I'm not sure we can avoid this, when MinGW64 is used. The dependency comes from Gnulib. Emacs uses the gnulib module 'nanosleep', and it picks the nanosleep function from libwinpthread-1.dll. I can reproduce this directly in Gnulib. Since this DLL dependency is an annoyance also for other people who produce Windows binaries (I'm thinking of gettext and others), I'll change Gnulib to avoid this dependency. > A more GNU-friendly way is > > objdump -p emacs.exe | fgrep "DLL Name:" Thanks; that's a nice shortcut, because I usually have 'objdump' in my $PATH. Bruno