From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Aymeric Agon-Rambosson Newsgroups: gmane.emacs.devel Subject: Re: Finalizing 'inhibit-automatic-native-compilation' Date: Fri, 10 Feb 2023 18:34:25 +0100 Message-ID: <87pmahs9um.fsf@EBx360> References: <837cx8cey0.fsf@gnu.org> <83357ua6ja.fsf@gnu.org> <83zga28ra8.fsf@gnu.org> <83r0vd97s0.fsf@gnu.org> <83lell73yv.fsf@gnu.org> <87sffo3as7.fsf@melete.silentflame.com> <83v8kkxzzx.fsf@gnu.org> <87r0v811pm.fsf@melete.silentflame.com> <87cz6nxdqy.fsf@X570GP> <83357irhnv.fsf@gnu.org> <87ttzy2lgi.fsf@X570GP> <83a61pprm8.fsf@gnu.org> <87mt5ncjuk.fsf@X570GP> <83cz6jm9mo.fsf@gnu.org> <87a61lkjb7.fsf@X570GP> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35872"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.6.10; emacs 28.1 Cc: Eli Zaretskii , spwhitton@spwhitton.name, monnier@iro.umontreal.ca, emacs-devel@gnu.org, larsi@gnus.org, rlb@defaultvalue.org To: Andrea Corallo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Feb 10 19:34:37 2023 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 1pQYEH-000956-8x for ged-emacs-devel@m.gmane-mx.org; Fri, 10 Feb 2023 19:34:37 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pQYDe-00086Y-Pe; Fri, 10 Feb 2023 13:33:58 -0500 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 1pQXIB-0005Kv-Mm for emacs-devel@gnu.org; Fri, 10 Feb 2023 12:34:35 -0500 Original-Received: from forward502b.mail.yandex.net ([2a02:6b8:c02:900:1:45:d181:d502]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pQXI8-0003dQ-PI; Fri, 10 Feb 2023 12:34:35 -0500 Original-Received: from myt6-fe378243d6ea.qloud-c.yandex.net (myt6-fe378243d6ea.qloud-c.yandex.net [IPv6:2a02:6b8:c12:488f:0:640:fe37:8243]) by forward502b.mail.yandex.net (Yandex) with ESMTP id 18A195EC08; Fri, 10 Feb 2023 20:34:29 +0300 (MSK) Original-Received: by myt6-fe378243d6ea.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id PYjqL4EZ8uQ1-DsuImugz; Fri, 10 Feb 2023 20:34:28 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1676050468; bh=KhutdO5nbEN9Xp1tCrQNqVihShprLNcAnW7INXzoU0Y=; h=Cc:Message-ID:References:Date:Subject:In-reply-to:To:From; b=RK/LPikCioPdc9GhGesXY2v9ba+heBJC9KXFhBRMaelU7Mlg/ktI4/BGR7iozVrwN b/AHeo7LY1NR/cFZlfvp3AlFYwYi6Mri+TQEGxY6iuXOOfDBQ7JmavQhNZ0nL5F+Jy Olrq1rkusJ9jhtxwdP8qRCB9MOTCE0mvv80xM8PA= Authentication-Results: myt6-fe378243d6ea.qloud-c.yandex.net; dkim=pass header.i=@yandex.com In-reply-to: Received-SPF: pass client-ip=2a02:6b8:c02:900:1:45:d181:d502; envelope-from=aymeric.agon@yandex.com; helo=forward502b.mail.yandex.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 10 Feb 2023 13:33:56 -0500 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:303114 Archived-At: Le vendredi 10 f=C3=A9vrier 2023 =C3=A0 16:53, Andrea Corallo =20 a =C3=A9crit : > Unfortunatelly it is not, in posix to dynamically load code=20 > dlopen is > used and a file is necessary. See DLOPEN(3) So what happens exactly when we pass nil as the last argument of=20 `comp--native-compile' ? Is a temporary file created ? >> The line : >> >> (unless inhibit-automatic-native-compilation >> >> Could be replaced with : >> >> (unless (equal comp-enable-subr-trampolines=20 >> 'compile-but-no-output) I'd say this is still possible anyway. Best, Aymeric