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#58429: 29.0.50; inhibit-automatic-native-compilation does not work as expected. Date: Thu, 13 Oct 2022 19:05:02 +0300 Message-ID: <83h707aevl.fsf@gnu.org> References: <87v8oqj052.fsf@gmail.com> <87tu4aixts.fsf@gnus.org> <87fsfuen04.fsf@gmail.com> <87ilkqf8r2.fsf@gnus.org> <87bkqhe2ce.fsf@gnus.org> <87pmex5m4g.fsf@gmail.com> <8735btcm8n.fsf@gnus.org> <87h7095k67.fsf@gmail.com> <835ygpcgn3.fsf@gnu.org> <87czax5dz1.fsf@gmail.com> <83r0zdawhh.fsf@gnu.org> <871qrd56fr.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29310"; mail-complaints-to="usenet@ciao.gmane.io" Cc: max.brieiev@gmail.com, larsi@gnus.org, 58429@debbugs.gnu.org To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 13 18:07:58 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 1oj0kW-0007Pj-V6 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 13 Oct 2022 18:07:57 +0200 Original-Received: from localhost ([::1]:35480 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oj0kV-0001gP-Nr for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 13 Oct 2022 12:07:55 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56038) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oj0ih-0001dc-8y for bug-gnu-emacs@gnu.org; Thu, 13 Oct 2022 12:06:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35582) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oj0ig-0001TN-0X for bug-gnu-emacs@gnu.org; Thu, 13 Oct 2022 12:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oj0if-0005r6-PF for bug-gnu-emacs@gnu.org; Thu, 13 Oct 2022 12:06: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: Thu, 13 Oct 2022 16:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58429 X-GNU-PR-Package: emacs Original-Received: via spool by 58429-submit@debbugs.gnu.org id=B58429.166567712222439 (code B ref 58429); Thu, 13 Oct 2022 16:06:01 +0000 Original-Received: (at 58429) by debbugs.gnu.org; 13 Oct 2022 16:05:22 +0000 Original-Received: from localhost ([127.0.0.1]:34660 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oj0i2-0005pr-49 for submit@debbugs.gnu.org; Thu, 13 Oct 2022 12:05:22 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:39082) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oj0hy-0005pW-6W for 58429@debbugs.gnu.org; Thu, 13 Oct 2022 12:05:20 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:56772) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oj0hs-0001Qb-RI; Thu, 13 Oct 2022 12:05:12 -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=QD49All6ytH2uA975qbY8qW7saRHw8GclmZgwOguZXk=; b=dSlnghPPZuXr BTSaJrR6+nvD/WQ3nQMWYuxFA6wdFirP3ndlE4LgraFYLIhoBp3IdKGCnCRrv+hhlUp080+71531d dJ948BsVGHTIAvZp4gn97Knij0d55+d2f9+hiEvnNiWTquWgaphYmwaEij2XRkNueyQt1ecSsxCBo Gejbj2mHC1AL/1lrzYqlkIf6q6JlXXtoxjg5O2i0Jg5CJuabvNjPTatjIUjsUI+f8Xaxnydw1bMN7 W5aGVGaRViN2q0hkVNZ90Nc7kCl6FtmurSxtPrDx6mGZ1AdhuKhx6NElrmZTAJVFItC7macvRxP1C sDGfsJhF4+Px9xH4xMUwtw==; Original-Received: from [87.69.77.57] (port=3383 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 1oj0hs-000086-2t; Thu, 13 Oct 2022 12:05:12 -0400 In-Reply-To: (message from Andrea Corallo on Thu, 13 Oct 2022 14:10:52 +0000) 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:245324 Archived-At: > From: Andrea Corallo > Cc: Eli Zaretskii , larsi@gnus.org, 58429@debbugs.gnu.org > Date: Thu, 13 Oct 2022 14:10:52 +0000 > > As Eli mentioned unfortunately we cannot disable trampolines. Btw, Andrea, can you help me understand better what does comp-enable-subr-trampolines do, when set to nil? The doc string says If non-nil enable primitive trampoline synthesis. This makes primitive functions redefinable or advisable effectively. which seems to hint that when this is nil, primitives cannot be advised or redefined? We set this variable to nil in startup.el if native-comp-available-p returns nil (which currently can only happen on MS-Windows), AFAIU with the intent to prevent Emacs from even trying to natively-compile anything, including trampolines. But if Emacs cannot produce a trampoline, it means that primitives cannot be redefined, and we silently fail that? Because (again, AFAIU) native-comp-available-p being nil does not prevent Emacs from loading *.eln files that are already compiled (because just loading them doesn't need libgccjit), is that right? Am I confused about something here? Thanks.