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:12:33 +0000 Message-ID: <87k0ebaqjy.fsf@russet.org.uk> References: <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> <86sft4xjeo.fsf@gnu.org> <86iltzx5fy.fsf@duenenhof-wilhelm.de> <878rusapod.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="9311"; 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:21:32 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 1nFvic-0002Co-1S for ged-emacs-devel@m.gmane-mx.org; Fri, 04 Feb 2022 11:21:30 +0100 Original-Received: from localhost ([::1]:47624 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nFviY-00087M-8h for ged-emacs-devel@m.gmane-mx.org; Fri, 04 Feb 2022 05:21:27 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:41086) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFva5-000735-LZ for emacs-devel@gnu.org; Fri, 04 Feb 2022 05:12:41 -0500 Original-Received: from [78.129.138.227] (port=51463 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 1nFva2-0002D1-2p; Fri, 04 Feb 2022 05:12:41 -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=PADkwAAbWENM9H+xlPzFPQAe9Z2z5ixcodaYlVesxz4=; b=Ys6qlYQvvnB1W4Ltq2kNZNIUEz BEviY65nNpSfKs6ZA9zL7SOEqJa81bTYRq3jyr6zLLgKKkQQlO9Uxi9BDrR6OD7tQEmcUfmG0u50O vryFE5/B4xSP9MF34ro69UpyWS7u9XmZ6Og8lgWw+4Y9MQN5Iy55NKnLET2y1/lpxJvuijCgaT1eu fXuXa5qxoc1hXVL8yJtamVj3kfmRKgJ4oTgzf7uHJmftv77OuiHUegmhN6FXr/8G2CJAwn0zF3TSW m/23Qz2rqYo8pyQcqiZfKwUQGQ4pY2eGEhfDEl+SD1HvcKpPZIghKlGK58TfPY2nEyNb1lakD/6SR QiqFblKw==; Original-Received: from cpc142634-benw12-2-0-cust280.16-2.cable.virginm.net ([81.110.237.25]:44020 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 1nFvZy-00C6pQ-Iu; Fri, 04 Feb 2022 10:12:34 +0000 In-Reply-To: (Corwin Brust's message of "Wed, 2 Feb 2022 17:28:01 -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:285858 Archived-At: Corwin Brust writes: > On Wed, Feb 2, 2022 at 4:07 PM Phillip Lord wrote: >> >> Corwin Brust writes: >> >> > On Mon, Jan 31, 2022 at 9:58 AM H. Dieter Wilhelm >> > wrote: >> >> >> >> Currently we have 19 DLLs in the /bin folder (28.0.91), whereas 27.2 has >> >> 77 DLLs! Corwin could you please check your build configuration, maybe >> >> together with Phil? (I'm sorry, I'm still of no help here.) >> > >> > Excellent observation. >> > >> > I hope Phil will chime-in with suggestions of what I may have >> > missed/broken. I'll investigate also, obviously, and others' >> > kibitzing most welcome too. >> >> >> Strange. What are the differences? > > Firstly: I'm not too sure yet. I still need to download the Emacs > 27.2 zip from the official source and do a direct "gap" comparison. > > Overall, I'm leaning toward ditching automation of dependency > detection in favor of adding a separate file. All efforts to > automating dependency recursion seem britle, ultimating causing more > work than they save us as we have to track down one mystery after > another. The proposed new file will > - exhaustively lists each DLL we ship > - be referenced in by documentation (such as README.W32) > - be loaded by scripts, e.g. build-dep-zips.py > - have additional "columns" to name the msys package, and > - document why the dependency is required. > > I have attached a txt file which is the complete list of what I would > start out including in that file. Obviously, it's missing the msys > package names and has no commentary, so far. I would probably call > it admin/nt/dist-build/deps.txt but I don't feel strongly about the > filename. > > WDYT? I think it sounds sensible, but there is a big unknown. The list of DLLs that Emacs depends on is not very big and it does not change very much (I think three or four new ones in the time that I did the build). So, the question is, how much change will there be in the list of indirect dependencies; that is partly in the hands of the developers of the libraries we depend on and partly in the hands of MSYS2. And it also depends on whether you want to update or check for just minor releases or just major ones. My guess would be that this will be managable and that you are unlikely to find a lot of noise in the process, but it is just a guess. Personally, I'd just bundle the list as a string in a python script. Why parse something that you don't have to? Phil