From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: wilde@sha-bang.de Newsgroups: gmane.emacs.devel Subject: Re: Minimal recommended version of gcc/libgccjit for native-comp Date: Tue, 27 Apr 2021 16:21:07 +0200 Message-ID: <8735vbyfjg.fsf@tammy.lan.sha-bang.de> References: <20210425182503.25223.81072@vcs0.savannah.gnu.org> <20210425182508.6CC7C2094D@vcs0.savannah.gnu.org> <87mttl5gm8.fsf_-_@tammy.lan.sha-bang.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="37934"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (berkeley-unix) Cc: Andrea Corallo To: Andrea Corallo via "Emacs development discussions." Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Apr 27 16:23:20 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 1lbOcQ-0009Z7-LD for ged-emacs-devel@m.gmane-mx.org; Tue, 27 Apr 2021 16:23:18 +0200 Original-Received: from localhost ([::1]:55118 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lbOcP-0004Sd-PX for ged-emacs-devel@m.gmane-mx.org; Tue, 27 Apr 2021 10:23:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42526) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lbOaW-0003XM-3F for emacs-devel@gnu.org; Tue, 27 Apr 2021 10:21:20 -0400 Original-Received: from mail.sha-bang.de ([2a01:4f8:110:34e1::42:1]:49917) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lbOaQ-0007E1-66 for emacs-devel@gnu.org; Tue, 27 Apr 2021 10:21:19 -0400 Original-Received: from tammy.sha-bang.de (tammy.sha-bang.de [IPv6:2001:470:69d1:bad:227:eff:fe11:1a71]) by mail.sha-bang.de (Postfix) with ESMTPSA id 336D7188; Tue, 27 Apr 2021 16:21:09 +0200 (CEST) Original-Received: by tammy.sha-bang.de (Postfix, from userid 1000) id 130BC5A79; Tue, 27 Apr 2021 16:21:07 +0200 (CEST) In-Reply-To: (Andrea Corallo via's message of "Mon, 26 Apr 2021 16:12:30 +0000") Received-SPF: none client-ip=2a01:4f8:110:34e1::42:1; envelope-from=wilde@sha-bang.de; helo=mail.sha-bang.de 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_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:268530 Archived-At: Hi Andrea, Andrea Corallo via "Emacs development discussions." wrote: > wilde@sha-bang.de writes: >> As there are many distribution and systems out there supported by GNU >> Emacs which provide wide variety of gcc versions I wonder which versions >> are considered sufficient for the new native compilation feature. > > AFAIR we don't depend on any specific entry point that was added in > recent times into libgccjit, so in theory I *think* 6 should work. That > said old libgccjit (read < 8) AFAIK have not been tested much if any > with Emacs. You can maybe have a go an report :) Thanks for your reply, also thanks to Stefan and Eli for the assessments. We are giving it a try (actually a colleague at work will be the primary tester). The build (with NATIVE_FULL_AOT) and first tests (e.g. using gnus) worked smoothly so far. I'll report any serious problems. In the hope I don't forget to do so I'll also report any positive experience after a few weeks of use... :) cheers sascha