From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Finalizing 'inhibit-automatic-native-compilation' Date: Mon, 06 Feb 2023 17:28:09 +0200 Message-ID: <83v8keq0dy.fsf@gnu.org> References: <837cx8cey0.fsf@gnu.org> <837cx6a8me.fsf@gnu.org> <83357ua6ja.fsf@gnu.org> <83zga28ra8.fsf@gnu.org> <83r0vd97s0.fsf@gnu.org> <83lell73yv.fsf@gnu.org> <83k0145guk.fsf@gnu.org> <835ychtcq9.fsf@gnu.org> <83r0v4sgpj.fsf@gnu.org> <83cz6nq70a.fsf@gnu.org> <834jryrioo.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6906"; mail-complaints-to="usenet@ciao.gmane.io" Cc: akrl@sdf.org, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Lynn Winebarger Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Feb 06 16:28:38 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 1pP3Q5-0001cE-Gw for ged-emacs-devel@m.gmane-mx.org; Mon, 06 Feb 2023 16:28:37 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pP3Pa-00040o-8N; Mon, 06 Feb 2023 10:28:06 -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 1pP3PX-0003kb-Mi for emacs-devel@gnu.org; Mon, 06 Feb 2023 10:28:03 -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 1pP3PX-0005HA-2h; Mon, 06 Feb 2023 10:28:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=9tR0/h9zOvHJzHPqhm843kuzFubeT87LbIlrnpYEbcs=; b=EDbEe8UsaCJx KsON0Shr+aXFcTFXCDWrd16+8pIUIkTnRcqX38A0tX1ZSGI1t4jmncFYbuLxxfA5N9OszPFWMS+oM VWtHHf+pFjP00zq9kXiA/3tbqs/d9zYyiLjC9eijKFb7yB+X9pEKNl0cIb9Uem3PVcgQ9y32qZCl5 v8EyYz9TB9XtbxYiHlhj8A4qQPe8d1UaLgRLnnN5jpze6HIAme+I0Ug+YvjS5ZoeodQvZW20Gw+3w EFwgogjDFCKcVU9nA5/4oFcmvu1YgXwysOukpf9c4+UPermEFW0/JBY6o5U3UTmFp+L5wsWSCxWiB AduTZTOIaYbkrtk1K8ZI4Q==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pP3PQ-0004CI-Dw; Mon, 06 Feb 2023 10:28:00 -0500 In-Reply-To: (message from Lynn Winebarger on Mon, 6 Feb 2023 09:29:10 -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:303025 Archived-At: > From: Lynn Winebarger > Date: Mon, 6 Feb 2023 09:29:10 -0500 > Cc: Andrea Corallo , Stefan Monnier , > emacs-devel > > No, I'm saying that starting Emacs assumes the dumped *.eln files live > in one of two possible locations, and you must make sure they are in > one of those two locations, or else Emacs will fail to start. > > Then I'm confused by what you mean by "re-dumping" above. I'm only referencing the result of starting > temacs in dump-mode. You started the re-dumping subject (although the current discussion is about something completely different). > Andreas may well be correct that there are no additional challenges for native-compiled libraries than there > would be for byte-compiled, aside from the part of the build process ensuring those eln files exist in the right > location that you note. But since dump-portable-emacs is available for the byte-compiled case, these > limitations are most noticable for someone attempting to dump native-compiled libraries. > > As soon as a library requiring cl-lib is included, the prohibition (in dump-mode) against autoloading and > circular requires is a problem. Sorry, this is unrelated to the issue at hand, and was already discussed in the past, so if you want still to discuss it, please start a new thread.