From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#58318: 28.2; Emacs installed from package won't work with MinGW Date: Fri, 07 Oct 2022 14:04:57 +0200 Message-ID: <87sfjzvnyu.fsf@gnus.org> References: <835ygxsdyu.fsf@gnu.org> <87zge9w049.fsf@gnus.org> <83k05dovwq.fsf@gnu.org> <87a667x3l4.fsf@gnus.org> <83edvjondh.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="21174"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: corwin@bru.st, 58318@debbugs.gnu.org, bartosz.bubak@gmail.com, Andrea Corallo To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 07 16:03:14 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 1ognwX-0005Lj-8T for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 07 Oct 2022 16:03:14 +0200 Original-Received: from localhost ([::1]:59904 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ognwW-0002ZB-5N for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 07 Oct 2022 10:03:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35200) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ogm79-0001DR-15 for bug-gnu-emacs@gnu.org; Fri, 07 Oct 2022 08:06:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35526) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ogm78-0007bC-JP for bug-gnu-emacs@gnu.org; Fri, 07 Oct 2022 08:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ogm78-00042u-7D for bug-gnu-emacs@gnu.org; Fri, 07 Oct 2022 08:06:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 07 Oct 2022 12:06:02 +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.166514431015471 (code B ref 58318); Fri, 07 Oct 2022 12:06:02 +0000 Original-Received: (at 58318) by debbugs.gnu.org; 7 Oct 2022 12:05:10 +0000 Original-Received: from localhost ([127.0.0.1]:34598 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogm6H-00041T-Kw for submit@debbugs.gnu.org; Fri, 07 Oct 2022 08:05:09 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:51764) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogm6G-00041D-8j for 58318@debbugs.gnu.org; Fri, 07 Oct 2022 08:05:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To: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=nSB9IpZrHDp2OymX5In0rTGnCsmHKpXeYL1BgvMcj8A=; b=dKv+5q64dIPvwShyFacHUHv/vh 4LzBXQSt5/gZ43WCd83QopN5+snLvUAjzhvbF4HVLlsWa/L7J0Z7XISB9KMW36cZw05gaWjKdtLz9 ECgJkZZezSQYTpLqAFw3QwTLpzkP1iVa63A9lzejdld7a9q1qJQrY4Ov70KdKBCumkzs=; Original-Received: from [84.212.220.105] (helo=downe) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ogm65-00057G-Na; Fri, 07 Oct 2022 14:05:00 +0200 In-Reply-To: <83edvjondh.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 07 Oct 2022 14:59:38 +0300") Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAFVBMVEWyprD489h1bpeK d6VmQjylZ2b///8GzebdAAAAAWJLR0QGYWa4fQAAAAd0SU1FB+YKBws3D9dDIGMAAAGXSURBVDjL ddPNcoMgEADgFc0dZtp7izwAYcnd4npPGnj/V+mCSGJimUnG4XN/+BE6VYbUbSCi0whqD0QhC2aQ 6cp/bgOisQI/ThUClbHCR35UErUezTpfQkDFmCL9ZNB1nkKBJXafacqwBZQQkNMwxWWWiE8wZ/gZ iJbA4Np8zsURJ+5qegUAFT4ZuDj6+ADLMPCb5ntfowAHuLwOxKdUwKC4eLdCaFJAyfxjMPdWxULb XYbL/XQM2F82QAtSSgUVEJ7Ky8SjglVWbD2DSgvICmf1pUSD663VsCp1D4DUAFW8rbm0zqke0KVJ 6LIlBspV2ODsZx84ZBQMAHy1uhWwp8QBi9U5Ip7SFSp04jcfYK9Lu6d02yLOMpf4EnpheLSb+3J3 Q7zMAIrfT+m6AaAdFnBkdptYBHywYm6gNrC9idwzvQM6E46h98Gbd+AqAxmD72DBEzr3D6A/AkMj mCOINB+DKefxunKGfFD0D/QHUC6X2MFYgc/WE3RvEdbzB2OPQGhtYQ9rsn52r1CL/LpxByPqWoRz /QE3dMGfVPkptQAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMi0xMC0wN1QxMTo1NToxNSswMDowMPMn HI0AAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjItMTAtMDdUMTE6NTU6MTUrMDA6MDCCeqQxAAAAAElF TkSuQmCC X-Now-Playing: Yukihiro Takahashi's _What Me Worry?_: "Sayonara" 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:244769 Archived-At: Eli Zaretskii writes: >> I'm sorry, I don't follow you. If trampolines can't be installed, then >> Emacs isn't fully functional, because you can't say >> >> (fset 'yes-or-no-p 'y-or-n-p) >> >> and have that be respected. I.e., the non-functional bit is about >> redefinitions of built-in functions, which is pretty basic functionality >> in Emacs. > > 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. > 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".