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: Bootstrap failure on master with native compilation for Windows Date: Sat, 26 Oct 2024 22:41:12 +0300 Message-ID: <86a5eqbqjr.fsf@gnu.org> References: <8634kiit9e.fsf@gmail.com> <86cyjmbrnv.fsf@gnu.org> <86bjz6briq.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="428"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: andrewjmoreton@gmail.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Oct 26 21:42:04 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 1t4mfk-000AXj-2j for ged-emacs-devel@m.gmane-mx.org; Sat, 26 Oct 2024 21:42:04 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t4mf0-0002j1-Kv; Sat, 26 Oct 2024 15:41:18 -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 1t4mey-0002ij-PE for emacs-devel@gnu.org; Sat, 26 Oct 2024 15:41:17 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t4mey-0008UG-73; Sat, 26 Oct 2024 15:41:16 -0400 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=W/YFNmg7DXPx5VagXc17IbwujOXmKZP2jp/bjWzEzRc=; b=ooQ0UTgjku1W cqj052puHXpBXp6I2R5RiIIcMj1t7ExT6ZYkbIcK2Ggb/JRsCNQ5W0llbq8WAf2LBJ3wKP0zeMvg3 5MeVYbF0Otgxk3cmL2djihFe1u2SZj2OZeLGhtMvmoz2O+jequJnmE5AI+4rQIR23+rRWBMKKd9Jm qbWN/atQ45Ni2WKDh6GhVEorloGESBfHYggnX2CirzAqFotGlM8qewgH550qQA0lPt9ta3J0Jb4k1 HmafIfyDTjKdBcuS8bU4BIs45Q0EEne2QEWuKxRIJZptd92QhKbWA62X6hAS8XraE/avPArnMjXGD oT62yVI4zBh4NFSiKSRuXw==; In-Reply-To: <86bjz6briq.fsf@gnu.org> (message from Eli Zaretskii on Sat, 26 Oct 2024 22:20:13 +0300) 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:324859 Archived-At: > 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.