From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andy Moreton Newsgroups: gmane.emacs.devel Subject: Re: Bootstrap failure on master with native compilation for Windows Date: Sun, 27 Oct 2024 01:30:02 +0100 Message-ID: <86ed42qtf9.fsf@gmail.com> References: <8634kiit9e.fsf@gmail.com> <86cyjmbrnv.fsf@gnu.org> <86bjz6briq.fsf@gnu.org> <86a5eqbqjr.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="40386"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) To: emacs-devel@gnu.org Cancel-Lock: sha1:PArqYS+s5xu8ivMx359wIpftCbE= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Oct 27 06:48:09 2024 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 1t4w8H-000ALD-IM for ged-emacs-devel@m.gmane-mx.org; Sun, 27 Oct 2024 06:48:09 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t4w7E-0006Th-Fs; Sun, 27 Oct 2024 01:47:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t4rAY-0005gm-SL for emacs-devel@gnu.org; Sat, 26 Oct 2024 20:30:11 -0400 Original-Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t4rAX-0001Fu-Gc for emacs-devel@gnu.org; Sat, 26 Oct 2024 20:30:10 -0400 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1t4rAV-0002EE-Ii for emacs-devel@gnu.org; Sun, 27 Oct 2024 02:30:07 +0200 X-Injected-Via-Gmane: http://gmane.org/ Received-SPF: pass client-ip=116.202.254.214; envelope-from=ged-emacs-devel@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 2 X-Spam_score: 0.2 X-Spam_bar: / X-Spam_report: (0.2 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.171, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 27 Oct 2024 01:47:02 -0400 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:324866 Archived-At: On Sat 26 Oct 2024, Eli Zaretskii wrote: >> Date: Sat, 26 Oct 2024 22:20:13 +0300 >> From: Eli Zaretskii >> CC: emacs-devel@gnu.org >> >> > Date: Sat, 26 Oct 2024 22:17:08 +0300 >> > From: Eli Zaretskii >> > Cc: emacs-devel@gnu.org >> > >> > Does it help to move the following part out of syms_of_w32dwrite to >> > the top level of that file? >> > >> > DEFVAR_BOOL ("w32-inhibit-dwrite", w32_inhibit_dwrite, >> > doc: /* If t, don't use DirectWrite. */); >> >> Actually, I think the problem is that it is not initialized, so try >> this: >> >> void >> syms_of_w32dwrite (void) >> { >> DEFVAR_BOOL ("w32-inhibit-dwrite", w32_inhibit_dwrite, >> doc: /* If t, don't use DirectWrite. */); >> w32_inhibit_dwrite = false; <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< >> >> defsubr (&Sw32_dwrite_reinit); >> defsubr (&Sw32_dwrite_available); >> } > > Sorry, ignore me. The problem was that syms_of_w32dwrite was called > from the wrong place, not from where all the syms_of_* functions are > called, and it uses defsubr. > > Please try the latest master, I hope I fixed this. Thanks Eli, native compilation builds are working again. AndyM