From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Native compilation on Windows, was Re: Bootstrap Compilation Speed Date: Mon, 17 Jan 2022 14:35:08 +0200 Message-ID: <83sftmwner.fsf@gnu.org> 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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30645"; mail-complaints-to="usenet@ciao.gmane.io" Cc: dieter@duenenhof-wilhelm.de, corwin@bru.st, emacs-devel@gnu.org To: Phillip Lord Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jan 17 13:45:39 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 1n9ROE-0007k9-Bz for ged-emacs-devel@m.gmane-mx.org; Mon, 17 Jan 2022 13:45:38 +0100 Original-Received: from localhost ([::1]:38480 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n9ROA-00061C-6S for ged-emacs-devel@m.gmane-mx.org; Mon, 17 Jan 2022 07:45:36 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57264) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n9REK-0002hJ-Qu for emacs-devel@gnu.org; Mon, 17 Jan 2022 07:35:26 -0500 Original-Received: from [2001:470:142:3::e] (port=36226 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n9REF-0000vt-OG; Mon, 17 Jan 2022 07:35:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=tP5niLYH+EvOUXDyoCd5RRhbUiXtuwB0zu3Qs8wDxWM=; b=IketLy94NqnJ CSjSG+DodEvvnDLdyML2qGwx++LQuGZxVErObL6M+Z4aSrV9slYRDuNVZBFDntC7dJFzKq3jTM45W ruw2ormg6vMljHC+SmNx2mx9heZgmR9evrlWCVr7n9ehjKn/6u7HaGBznOS/KC+LSePEmPCFb9Bg3 712xwr3oaDuAGf4ViHKiIVY5bhbreegAX5ldOvABDittyg7nOSil0RxUcNLbYeP4A5DhyoAk4zj6Q jyRCaQLPDlJkYW/gSR39h8SUHyiYpjmEk99F9Jr+RHs8eoa0pnKnSfBqKol3nJQTahzcf09yioMwW op20lbDFezv0gxHVv6LjUw==; Original-Received: from [87.69.77.57] (port=1574 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n9REE-00030k-CL; Mon, 17 Jan 2022 07:35:19 -0500 In-Reply-To: <87sftmn1k9.fsf@russet.org.uk> (message from Phillip Lord on Mon, 17 Jan 2022 09:39:34 +0000) 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:284871 Archived-At: > 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.