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: Wed, 19 Jan 2022 18:38:42 +0000 Message-ID: <871r13tvt9.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> <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> <83k0ewtbgy.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="36595"; 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 Brust , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jan 19 19:48:52 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 1nAG0p-0009Nz-JV for ged-emacs-devel@m.gmane-mx.org; Wed, 19 Jan 2022 19:48:52 +0100 Original-Received: from localhost ([::1]:59822 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nAG0n-0002RN-Kd for ged-emacs-devel@m.gmane-mx.org; Wed, 19 Jan 2022 13:48:49 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:36608) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAFrC-0000Fg-Gk for emacs-devel@gnu.org; Wed, 19 Jan 2022 13:38:55 -0500 Original-Received: from [78.129.138.227] (port=58693 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 1nAFr6-0003FN-Ue; Wed, 19 Jan 2022 13:38:50 -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=HpBtW32psth+qr/IsjhW6yd4v82YyK/raCrBM7fqO3Q=; b=HaqeaYhN7+BPZR3p7wzg/Hb3KN FNKmjXjJ9Wnx8b/OfFft2pUVzbcdnC2FnG4kqbkC3sB9rwqhjidnxlBjtqBbln0IFGgPOmXArgsni NS67HL1iSN7G9L9qEYtPo6Y8Ef7wC4lP9q1E8mcJj/sYM0w2H/vKsDQbb/ISsCD6LpZA4kKZQ/zFr XA/8rw1aij1CF8VMf4Kyi16VyK82++YTL2i3Goiq0MmCrQJ5RAHz7doGZHWO5GR6Kpqq7NiSwgcg2 g4kGOi9/GiuYdwhNJQnS/4puOuwVGK8frcwM4JP0Dtp7gWpWgUFEpw+vVqiw0yshykAKpzqI7u0ln Kiwgklww==; Original-Received: from cpc142634-benw12-2-0-cust280.16-2.cable.virginm.net ([81.110.237.25]:34052 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 1nAFr4-0005RS-57; Wed, 19 Jan 2022 18:38:43 +0000 In-Reply-To: <83k0ewtbgy.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 19 Jan 2022 09:45:49 +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:285000 Archived-At: Eli Zaretskii writes: >> From: Corwin Brust >> Date: Tue, 18 Jan 2022 18:02:21 -0600 >> Cc: Eli Zaretskii , Emacs developers , >> Phillip Lord >> >> The hackery I found "successful" is presented at the end of this >> message. In brief, what solved the problem for me was remove -static >> from CFLAGS. You can ignore the swapping of $CACHE and CFLAGS; this >> simply made it easier to comment out $CACHE while debugging. > > The -static flag was there for a reason, so you cannot just remove it, > you will probably need to do something else in addition. > > AFAIR, the -static switch was used due to the libwinpthreads > dependency, and is related to the no-deps package. We should resolve > this issue now, because using -static is IMO a time bomb, and it > sounds like it just went off on us. Yep, libwinpthreads was the problem. It only affected the no-dependency version of Emacs which has other than libXpm, no dependencies. Without -static it broke complaining about libwinpthreads. Nasty hack. Well worth checking whether it is still a problem (it comes from msys2 and that's changed lots). And if it is, worth wondering whether no-deps is still needed. Phil