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.bugs Subject: bug#58318: 28.2; Emacs installed from package won't work with MinGW Date: Fri, 07 Oct 2022 15:12:00 +0300 Message-ID: <837d1bomsv.fsf@gnu.org> References: <835ygxsdyu.fsf@gnu.org> <87zge9w049.fsf@gnus.org> <83k05dovwq.fsf@gnu.org> <87a667x3l4.fsf@gnus.org> <83edvjondh.fsf@gnu.org> <87sfjzvnyu.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18215"; mail-complaints-to="usenet@ciao.gmane.io" Cc: corwin@bru.st, 58318@debbugs.gnu.org, bartosz.bubak@gmail.com, akrl@sdf.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 07 16:41:59 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1ogoY3-0004Xo-Du for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 07 Oct 2022 16:41:59 +0200 Original-Received: from localhost ([::1]:60386 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ogoY1-00014c-CC for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 07 Oct 2022 10:41:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49392) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ogmDv-0004DJ-El for bug-gnu-emacs@gnu.org; Fri, 07 Oct 2022 08:13:08 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35554) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ogmDu-0000Cy-5e for bug-gnu-emacs@gnu.org; Fri, 07 Oct 2022 08:13:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ogmDt-0004Eu-Sb for bug-gnu-emacs@gnu.org; Fri, 07 Oct 2022 08:13:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 07 Oct 2022 12:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58318 X-GNU-PR-Package: emacs Original-Received: via spool by 58318-submit@debbugs.gnu.org id=B58318.166514474616254 (code B ref 58318); Fri, 07 Oct 2022 12:13:01 +0000 Original-Received: (at 58318) by debbugs.gnu.org; 7 Oct 2022 12:12:26 +0000 Original-Received: from localhost ([127.0.0.1]:34632 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogmDJ-0004E5-Vz for submit@debbugs.gnu.org; Fri, 07 Oct 2022 08:12:26 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:58058) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogmDH-0004Dp-Oj for 58318@debbugs.gnu.org; Fri, 07 Oct 2022 08:12:24 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:45670) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ogmDA-0000AS-OI; Fri, 07 Oct 2022 08:12: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=0hwvJgkQGVJT6C53nGoLCk7CmMYV5nit4s3CxANvyds=; b=OAnD/EQcWpeP JodBCcpU9X2C8S6qVdsFAczgEFufw+0uE5SRE4vGmSzcmWnDtP9FqwORpOiLEhyqcyWhf8Guk6R4H YoZjblPDvBMbry4YUxIACP5U9NwqNvgBqwHEgMgUyQtnrVvWZBxsVPn7936D73Zd03+juj5GySlW1 d8cBjh7xlES5/6QjUL1x2InO19Fq66HZ37jshMdXVi5yQ+R5OEWC2z+St7pzQ5GszZ5yotYjdceg0 W9XIkNxZm0V6dQGhr9ty4zpA0juBF7iPNkFkhL7x2ZgbwSTEQYIzgX5L7ABjiebxXcpyXRvkC+jcm nh8i0dfauQersxezoTXt3Q==; Original-Received: from [87.69.77.57] (port=4204 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 1ogmCu-0004KU-JT; Fri, 07 Oct 2022 08:12:16 -0400 In-Reply-To: <87sfjzvnyu.fsf@gnus.org> (message from Lars Ingebrigtsen on Fri, 07 Oct 2022 14:04:57 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:244799 Archived-At: > From: Lars Ingebrigtsen > Cc: Andrea Corallo , corwin@bru.st, bartosz.bubak@gmail.com, > 58318@debbugs.gnu.org > Date: Fri, 07 Oct 2022 14:04:57 +0200 > > Eli Zaretskii writes: > > > Maybe there's a misunderstanding of what you meant by "if a compiler > > isn't present". By "the compiler" do you mean libgccjit, or is it GCC > > and Binutils (or maybe all 3 together)? IOW, are you talking about > > the ability to load existing *.eln files, or are you talking about the > > ability to both load existing *.eln files and produce new ones? > > I'm talking about trampolines, nothing else. Trampoline generation requires all the 3 components to be present, AFAIK. Andrea, am I right? > > The startup code currently detects that libgccjit is unavailable or > > cannot be loaded, and if so, disables all the aspects of > > native-compilation: both JIT compilation of *.el and production of the > > trampolines. I'm not aware that when we disable those two, we get > > Emacs that is not "fully functional". > > If native compilation is disabled in a native-compiled Emacs, then > > (fset 'yes-or-no-p 'y-or-n-p) > > doesn't work (for calls to `yes-or-no-p' in native-compiled code). > That's what I meant by "not fully functional". If it indeed doesn't work (and I wasn't aware it didn't work), we should try fixing it, if that is feasible.