From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Phillip Lord Newsgroups: gmane.emacs.devel Subject: Re: Native compilation on Windows, was Re: Bootstrap Compilation Speed Date: Fri, 04 Feb 2022 10:05:16 +0000 Message-ID: <87o83naqw3.fsf@russet.org.uk> References: <87mtjump5q.fsf@russet.org.uk> <86h7a25nz7.fsf@duenenhof-wilhelm.de> <878rve85yy.fsf@russet.org.uk> <86a6fu3xb2.fsf@duenenhof-wilhelm.de> <87tue1j8x0.fsf@russet.org.uk> <86wniw3kdq.fsf@duenenhof-wilhelm.de> <83tue0u8sh.fsf@gnu.org> <86sftk3evj.fsf@duenenhof-wilhelm.de> <83o848tc92.fsf@gnu.org> <86o8473k13.fsf@duenenhof-wilhelm.de> <83ee53ssbx.fsf@gnu.org> <86sft4c3ij.fsf@gnu.org> <87czk59b7p.fsf@russet.org.uk> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30702"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: "H. Dieter Wilhelm" , Arash Esbati , Eli Zaretskii , Emacs developers To: Corwin Brust Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Feb 04 11:25:19 2022 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 1nFvmI-0007gY-Lt for ged-emacs-devel@m.gmane-mx.org; Fri, 04 Feb 2022 11:25:18 +0100 Original-Received: from localhost ([::1]:52264 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nFvmH-0002wN-Ax for ged-emacs-devel@m.gmane-mx.org; Fri, 04 Feb 2022 05:25:17 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:39042) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFvTm-0000dq-21 for emacs-devel@gnu.org; Fri, 04 Feb 2022 05:06:10 -0500 Original-Received: from [78.129.138.227] (port=33373 helo=cloud103.planethippo.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFvTg-0007wM-7b; Fri, 04 Feb 2022 05:06:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=russet.org.uk; s=default; h=Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=onsvMTqVBt9w4sMGojw5Tb3yUhMXW7FHT9AQY9adtig=; b=GfqcIXg79ginEtOnUtSKsrrIw5 sS9VI84bmGLenLq98V+J23xt9NTxLQcQKNJduia53kWEcy/rdBgaYan1zWwNsLv6okhXF3iFbwVnD YL7UTLlEthwWq5396qOpDd0PZwekD8SX89r6C6aITnb2iBeYjICP7xEVV+cr191ad38onK/TpkNSH 859ZUg11fAZoR977YW5OoCAKdLtPuiyjoT7i+eYCp3RdC0wJV7dHpgQeXNejvpINSj1AD9qYmaPz8 BS3wyF5/n2RrA1k34Z4p5EXmedtLHNntngUK4UfeEtw2EFhRxPCyawR9oTB49yVUuypA+HUNHKxld CxwPwgnQ==; Original-Received: from cpc142634-benw12-2-0-cust280.16-2.cable.virginm.net ([81.110.237.25]:43868 helo=russet.org.uk) by cloud103.planethippo.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nFvSw-00BrdD-T3; Fri, 04 Feb 2022 10:05:19 +0000 In-Reply-To: (Corwin Brust's message of "Wed, 2 Feb 2022 16:22:02 -0600") X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cloud103.planethippo.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - russet.org.uk X-Get-Message-Sender-Via: cloud103.planethippo.com: authenticated_id: phillip.lord@russet.org.uk X-Authenticated-Sender: cloud103.planethippo.com: phillip.lord@russet.org.uk X-Host-Lookup-Failed: Reverse DNS lookup failed for 78.129.138.227 (failed) Received-SPF: pass client-ip=78.129.138.227; envelope-from=phillip.lord@russet.org.uk; helo=cloud103.planethippo.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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" Xref: news.gmane.io gmane.emacs.devel:285859 Archived-At: Corwin Brust writes: > On Wed, Feb 2, 2022 at 4:04 PM Phillip Lord wrote: >> >> If I remember correctly, this is because the msys dependency tree is >> not totally reliable. > > I noticed :P > > Locally I've been investigating by comparing results from several > different sources including ProcessExplorer, ldd, ntldd and cygcheck. > (To get recursive checking with ldd I wrote a rather ugly Perl > script.) Then I'm looking at the documentation from MSYS website > (one-by-one by hand) to figure out which ones are optional. I was clearly keen to get something reasonable automatic as the list may change over time. Although, as I always used the same dependencies for an entire main release of Emacs, having something manual would be possible. >> TLS should work if at all possible. The tests that I have for a >> functional windows Emacs (in etc/w32-feature.el) are better than nothing >> but don't test whether emacs is working just whether it thinks that it >> should be. >> > > ACK, and thanks for the nudge on using etc/w32-feature.el to test the > installed versions. I used to set up the .emacs on my build machine to automatically run w32-feature.el on start up which was a great time saver! > FTR, as I hack on the scripts I've been testing locally running both > scripts then by opening Emacs from the > ~/emacs-build/install/emacs-28.0.91/bin folder and then "doing suff". > For example opening a PNG. Then I check (with ProcessExplorer) that > Emacs is loading (e.g.) libpng16-16.dll from the Emacs bin folder (and > not from the msys bin or some other place). Indeed; it would be good to get a bit more of this kind of thing into w32-feature. Phil