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: Mon, 17 Jan 2022 20:25:41 +0000 Message-ID: <878rve85yy.fsf@russet.org.uk> References: <86wnj18f7w.fsf@duenenhof-wilhelm.de> <65b2a18bc1a597333b42d35a2717dc33@russet.org.uk> <86lezg95ud.fsf_-_@duenenhof-wilhelm.de> <83h7a4zu89.fsf@gnu.org> <86czks94vl.fsf@duenenhof-wilhelm.de> <86v8yj7vhv.fsf@duenenhof-wilhelm.de> <83v8yjyj21.fsf@gnu.org> <87sftmn1k9.fsf@russet.org.uk> <83sftmwner.fsf@gnu.org> <87mtjump5q.fsf@russet.org.uk> <86h7a25nz7.fsf@duenenhof-wilhelm.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="600"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: Eli Zaretskii , corwin@bru.st, emacs-devel@gnu.org To: "H. Dieter Wilhelm" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jan 17 21:26:37 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 1n9YaL-000AbA-1k for ged-emacs-devel@m.gmane-mx.org; Mon, 17 Jan 2022 21:26:37 +0100 Original-Received: from localhost ([::1]:42466 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n9YaK-00075L-2Z for ged-emacs-devel@m.gmane-mx.org; Mon, 17 Jan 2022 15:26:36 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54512) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n9YZX-0006Ie-2p for emacs-devel@gnu.org; Mon, 17 Jan 2022 15:25:47 -0500 Original-Received: from [78.129.138.227] (port=43992 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 1n9YZV-0004Xi-Mf; Mon, 17 Jan 2022 15:25:46 -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=Ro2bh9Xeyj6A2Sx93LP9gUIGYKTmFXV7bHhFzFQaP6U=; b=1MP32sO7X2ppTpzRe7K+Msquf8 wtJV+upcMp53Wc9jkBecr3dOtpsInvkbZI0vAyIrTzbnAC3BgNxIGSrHT6UcUFIxL0iKdeM4aUvul v/3ToVWAVTdFvFi5UdkQ5cOm7/V06pZTMtKuSLvAhaxY5c3OrmGUkpUxkXxZHpNJfc6ndJOuP+q+b BqMphHnQYiwrJqh17JQYmfCH2fWIa7uneX1DmrGCwwpxtpfD8po+YkUL8CO/+OEThdOdm3bQ2EWx4 skAZpHT2vwS/PVvi1u9M3UwYpMOPLEAnSDAWgcLm54RejeHglyrJNy9KQAIKgAVPnPsLqzCCZW2dh E3T0MOvg==; Original-Received: from cpc142634-benw12-2-0-cust280.16-2.cable.virginm.net ([81.110.237.25]:50750 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 1n9YZT-00046V-OM; Mon, 17 Jan 2022 20:25:42 +0000 In-Reply-To: <86h7a25nz7.fsf@duenenhof-wilhelm.de> (H. Dieter Wilhelm's message of "Mon, 17 Jan 2022 17:25:00 +0100") 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 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:284904 Archived-At: "H. Dieter Wilhelm" writes: >>>> I wouldn't! >>>> >>>> CACHE=-C is used only on a snapshot build. These were always built >>>> incrementally from the previous version because I judged that the risk >>>> of a broken build was small compared to the significant time and cost >>>> saving that the incremental build provided. >>> >>> AFAIU, Dieter said he did more than one build in the same tree for >>> several different configurations, so I suggested to eliminate the >>> cache as a possible factor for the problems he saw in the second >>> build. Apologies if I misunderstood. >> >> >> Oh, sure, that's fine. Just saying that the `CACHE=-C` is there for >> mostly good reasons! > > I'm too inexperienced to judge the options. > > But, for the moment, it seems to me when the $CACHE line is active then > there is NO native compilation going on for my builds. (No idea why, > I'll try to confirm this.) > > The current idea is to build 28.0.91 with build-zips.sh - in the usual > way but --with-native compilation - and then copy the lisp-native/ > folder into the archive. Then checking if such a build is running and > actually loading the .eln files on a Windows system without MSYS/MinGW. > > Hmm, how can I test if Emacs is actually loading some .eln and not the > .elc files? If you change the configure options in build-zips.sh, I would go for a full clean build for sure. "make extraclean" I think will do the trick, then run build-zips.sh with modified options. Phil