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: Tue, 05 Mar 2024 12:03:53 -0500 Message-ID: References: <86sf19p0hw.fsf@gnu.org> <26087.13306.377059.686370@retriever.mtv.corp.google.com> <26087.16865.773226.470309@retriever.mtv.corp.google.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="2807"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: rms@gnu.org, eliz@gnu.org, emacs-devel@gnu.org To: "T.V Raman" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Mar 05 18:05:57 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 1rhYEm-0000WX-B7 for ged-emacs-devel@m.gmane-mx.org; Tue, 05 Mar 2024 18:05:56 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rhYE4-0007OM-0u; Tue, 05 Mar 2024 12:05:12 -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 1rhYDx-0007J8-7A for emacs-devel@gnu.org; Tue, 05 Mar 2024 12:05:05 -0500 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 1rhYDw-0004qZ-Tl; Tue, 05 Mar 2024 12:05:04 -0500 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=9VuZTylzriTH/ufyFD2+QLORAkPx3IUXRG1mDWKW4jI=; b=IAw7TtABamePIGKQujqW AIshLqVpAoz+3aoxtlvdoMINmg0YIyY2ln4U3N7k24YpfcleR38qMyDo/SBlZk4HS4YRj2OIL0UUE NchpAKsdlMfBBRGdP8QcEUwprWFfE2XcE1wvEnp9QDPAbDCLs6y4gn44aEMiID5C3y93T8t4/r+Cg Cj65cZl/VYlf7UbwxrzRH6XMAejkkeIIVrF9eVfChXcfJUQwOEIO05Wf56O463OqdKnnTz+HpNHjC 8Dqk/rkg7zpZYv5uwnGTaw7IuDS14LR0xpoHCDWUvwpNTP0+OrNF5EUzxpG7E9P5OFj6apDnXiGRA nCi3K/SpjPoiDA==; Original-Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1rhYCn-0007vy-Lg; Tue, 05 Mar 2024 12:04:04 -0500 In-Reply-To: <26087.16865.773226.470309@retriever.mtv.corp.google.com> (T. V. Raman's message of "Tue, 5 Mar 2024 08:01:37 -0800") 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:316840 Archived-At: "T.V Raman" writes: > it's not my code, which is the issue. VM is a third party package and > no longer maintained, but I happen to use it as my primary mail reder > > It uses macros where it should likely have used defsubst. > >>>From what I remember and this might ell have changed: > > 1. It's build el->elc relied on specific ordering of byte compilation. > 2. Native comp from .elc->.eln -- rather than .el->.eln > 3. 1 2 and the different order of compilation resulted in broken eln > files that threw errors at random when using VM Yes, it's a missing require that is unidentified by the byte-compiler. We are discussing this since like three years, I believe should be sufficient. As suggested if nobody wants to fix it just adding the package to 'native-comp-jit-compilation-deny-list' will work around the bug. Andrea