From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.devel Subject: Re: Enabling native compilation by default when libgccjit is present Date: Thu, 09 Dec 2021 10:22:58 +0000 Message-ID: References: <87czmdqpv9.fsf@web.de> <83h7bo7rvz.fsf@gnu.org> <87bl1tjage.fsf@web.de> <877dchj9cu.fsf@web.de> <83ee6ozfb0.fsf@gnu.org> <87tufjqzo1.fsf@igel.home> <83r1anw7t5.fsf@gnu.org> <8735n2pqms.fsf@web.de> <87y24ul558.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23410"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Michael Heerdegen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Dec 09 11:24:14 2021 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 1mvGay-0005qT-O6 for ged-emacs-devel@m.gmane-mx.org; Thu, 09 Dec 2021 11:24:12 +0100 Original-Received: from localhost ([::1]:33254 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mvGax-00052Q-EC for ged-emacs-devel@m.gmane-mx.org; Thu, 09 Dec 2021 05:24:11 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:38974) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvGZv-0004Il-NA for emacs-devel@gnu.org; Thu, 09 Dec 2021 05:23:07 -0500 Original-Received: from mx.sdf.org ([205.166.94.24]:61567) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvGZt-0004Aa-60 for emacs-devel@gnu.org; Thu, 09 Dec 2021 05:23:07 -0500 Original-Received: from ma.sdf.org (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 1B9AMw5F009438 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Thu, 9 Dec 2021 10:23:00 GMT In-Reply-To: <87y24ul558.fsf@web.de> (Michael Heerdegen's message of "Thu, 09 Dec 2021 06:27:15 +0100") Received-SPF: pass client-ip=205.166.94.24; envelope-from=akrl@sdf.org; helo=mx.sdf.org X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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" Xref: news.gmane.io gmane.emacs.devel:281477 Archived-At: Michael Heerdegen writes: > Stefan Monnier writes: > >> Such warnings usually imply real errors (the resulting file will not >> work properly because it contains code that "calls" a macro as if it >> were a function (i.e. after have evaluated the arguments)). > > Usually yes, but not for my init file because it is always loaded when I > compile it. If you have a specific build sequence that needs to be performed in other to byte-compile a compilation unit, either you disable native compilation on this file with the `no-native-compile' cookie, or either you have to perform the same compilation sequence for native compilation. We have synchronous entry points for native compilation that allow you to load a file and then native compile it (as you do for byte compilation). Andrea