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 14:07:29 +0000 Message-ID: <87mtjump5q.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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27466"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: dieter@duenenhof-wilhelm.de, corwin@bru.st, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jan 17 15:42: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 1n9TDQ-00070c-Ai for ged-emacs-devel@m.gmane-mx.org; Mon, 17 Jan 2022 15:42:36 +0100 Original-Received: from localhost ([::1]:37278 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n9TDO-0000Ru-ON for ged-emacs-devel@m.gmane-mx.org; Mon, 17 Jan 2022 09:42:34 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:49862) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n9Sfd-0008Gg-BA for emacs-devel@gnu.org; Mon, 17 Jan 2022 09:07:41 -0500 Original-Received: from [78.129.138.227] (port=57060 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 1n9Sfb-0000VU-2F; Mon, 17 Jan 2022 09:07:40 -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=3QAxM31dBdwW3Hua2fXw91IGWf1Z1GNUl6zh9uv1ZV0=; b=TZiabOqVH+LPl5aRE0/m53+pgU 0DfCOFqvcf5MaOF5rrquEvCb9FFrNKx9NrdBXDTrRB18slNJdXuHrOdLOdLkyeA69HmPsMPNxrgt/ ONDu6zIuRL4FuwxTSSd7ro7i8awiqnpb7Oiwdt8YYGfZTJJA4zkr80QPEMUnquzjs4ZLCC97iGQaS drdb8/tc6b6sh+5H266Szv3vYDenGlGHoqklSRzXSLpyxwwU1+zFW1GFyl8+TE9FswdOjieAIVlD9 Rs+Kf9b2AXLVK6oz4SwjWS8Q5K1LNGFjXILArUiIA/pZmsTy8ZoU6a061e+Qe4zApxdG5VhDiLhV2 A+VNkGZQ==; Original-Received: from cpc142634-benw12-2-0-cust280.16-2.cable.virginm.net ([81.110.237.25]:43362 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 1n9SfT-0006ry-UN; Mon, 17 Jan 2022 14:07:31 +0000 In-Reply-To: <83sftmwner.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 17 Jan 2022 14:35:08 +0200") 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:284879 Archived-At: Eli Zaretskii writes: >> From: Phillip Lord >> Cc: "H. Dieter Wilhelm" , corwin@bru.st, >> emacs-devel@gnu.org >> Date: Mon, 17 Jan 2022 09:39:34 +0000 >> >> Eli Zaretskii writes: >> >> >> I could build Gnu-Emacs-28.0.91 when I used the archived sources >> >> >> >> $ ./configure --with-native-compilation >> >> >> >> The difference to the build-zips.sh seems to me some more options from >> >> the script (and that is build from the git tree): >> >> >> >> echo [build] Configuring Emacs >> >> $REPO_DIR/$BRANCH/configure \ >> >> --without-dbus \ >> >> --without-compress-install \ >> >> --with-native-compilation \ >> >> $CACHE \ >> >> CFLAGS="$CFLAGS" >> >> >> >> Could it be that these additional options are spoiling the build? >> >> (CACHE=-C , I think.) >> > >> > I'd drop the CACHE part, so that the configure script starts from a >> > clean state. >> >> 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! Phil