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: Should native compilation be enabled by default? Date: Fri, 15 Mar 2024 13:08:04 -0400 Message-ID: References: <86sf19p0hw.fsf@gnu.org> <13305.117729918$1709671403@news.gmane.org> <87y1aku44q.fsf@dataswamp.org> <87wmq3vf57.fsf@yandex.com> <877ci3iiwj.fsf@localhost> <87sf0rvdpt.fsf@yandex.com> <87le6jvd1r.fsf@yandex.com> <861q8b8r2e.fsf@gnu.org> <87cyrvv4uh.fsf@yandex.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12300"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , yantar92@posteo.net, emacs-devel@gnu.org To: Colin Baxter Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Mar 15 18:09:02 2024 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 1rlB3F-00030W-L7 for ged-emacs-devel@m.gmane-mx.org; Fri, 15 Mar 2024 18:09:01 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rlB2N-0003Ku-AZ; Fri, 15 Mar 2024 13:08:07 -0400 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 1rlB2M-0003KZ-0V for emacs-devel@gnu.org; Fri, 15 Mar 2024 13:08:06 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rlB2K-00030o-PL; Fri, 15 Mar 2024 13:08:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=aMNDvrRpF8cYdRJLUntvuyP9vjxwtp+E2RoimRRYMUs=; b=TdpepOnEs3TS2vnwmcnt ZmIO72QL5b9cURM+OCir/ou4V+YVLL0BSVPgoRuXUbcPlkZc1Z0AZ9JGaWCCHi4N5TUFOIRhA5AOC 5WTMvwRMkzuUtBNf5c0sMparu8gd4R39foswX2a9EDy7iRbeXPmNBQCP28H6G8FUC6cOj3MPHGil5 K+TcHanrmlvt0Y3Wscvt++d/ozyW23FmvDKzsUO8KWyQdnEpJzf+n5KPN5JFfnmggpa5NdqYS7+zM 4jvHrnnh+vl92WxtJtGr676hLWdLjd3zsBxDCRBxrCz7+RZF7T1QWicnU+lrTh5sCPlYzrhTNRXLK XgMPCYlit8ztkQ==; Original-Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1rlB2K-0005ZW-6I; Fri, 15 Mar 2024 13:08:04 -0400 In-Reply-To: <87cyrvv4uh.fsf@yandex.com> (Colin Baxter's message of "Fri, 15 Mar 2024 16:26:30 +0000") 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:317084 Archived-At: Colin Baxter writes: >>>>>> Eli Zaretskii writes: > > >> From: Colin Baxter Cc: emacs-devel@gnu.org > >> Date: Fri, 15 Mar 2024 13:29:20 +0000 > >> > >> > >> My argument is against the notion that default native compilation > >> is a "no brainer". I suggest it's a "some brainer". There are > >> issues about what libgccjit flag to pass when compiling, as was > >> pointed out in the link, whether two years old or not. > > > What do you mean by "what libgccjit flag to pass when compiling"? > > I didn't find anything in that old post which matches that > > description. > > > My understanding, reading the reddit link, is that the version XX of > libgccjit should match that of gcc if the former is to be found. In the > event that it isn't CC="gcc-XX" should be exported before ./configure. I > stand corrected if that isn't the case. If a distro installs a non functional libgccjit that should be a bug fixed in the distro, I don't think we should work around it changing the system compiler. Andrea