From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.devel Subject: Re: On elisp running native Date: Sun, 15 Mar 2020 20:00:59 +0000 Message-ID: References: <83imlwl9vm.fsf@gnu.org> <83o8uegykm.fsf@gnu.org> <74dd94a9-28cb-a5fd-dbc7-ab21009834ad@cs.ucla.edu> <87mu8vjcmm.fsf@alphapapa.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="61030"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cc: Adam Porter , emacs-devel@gnu.org To: Gong-Yi Liao =?utf-8?B?5buW5a6u5q+F?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Mar 15 21:06:34 2020 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 1jDZWr-000FnK-Vk for ged-emacs-devel@m.gmane-mx.org; Sun, 15 Mar 2020 21:06:33 +0100 Original-Received: from localhost ([::1]:57806 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jDZWq-0002bh-Mr for ged-emacs-devel@m.gmane-mx.org; Sun, 15 Mar 2020 16:06:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54267) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jDZRh-0001DN-Hm for emacs-devel@gnu.org; Sun, 15 Mar 2020 16:01:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jDZRc-0003kg-Rn for emacs-devel@gnu.org; Sun, 15 Mar 2020 16:01:12 -0400 Original-Received: from mx.sdf.org ([205.166.94.20]:53871) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jDZRc-0003Mo-IS for emacs-devel@gnu.org; Sun, 15 Mar 2020 16:01:08 -0400 Original-Received: from sdf.org (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 02FK0xb0001771 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Sun, 15 Mar 2020 20:00:59 GMT Original-Received: (from akrl@localhost) by sdf.org (8.15.2/8.12.8/Submit) id 02FK0x89005676; Sun, 15 Mar 2020 20:00:59 GMT In-Reply-To: ("Gong-Yi Liao =?utf-8?B?5buW5a6u5q+FIidz?= message of "Sun, 15 Mar 2020 14:00:04 -0500") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 205.166.94.20 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:245543 Archived-At: Gong-Yi Liao =E5=BB=96=E5=AE=AE=E6=AF=85 writes: > I have built from the current (2020-3-15 13:55 CDT) native-comp branch > with the following setting: > > 1. install prefix: /home/gong-yi/.local/emacs/native-comp > 2.. built with gcc 8.3 on Debian buster 10 > 3. The git clone to /home/gong-yi/Downloads/emacs/master > > And I just noticed that the resulted built seems not build-location-indep= endent: > > gong-yi@buster1:~/Downloads/emacs$ mv master temp > gong-yi@buster1:~/Downloads/emacs$ cd > gong-yi@buster1:~$ cd .local/emacs/native-comp/bin/ > gong-yi@buster1:~/.local/emacs/native-comp/bin$ ./emacs > emacs: /home/gong-yi/Downloads/emacs/master/lisp/eln-x86_64-pc-linux-gnu-= 4f8c8dbc445c9e9e/custom.eln: > cannot open shared object file: No such file or directory > > It suggests eln files' location/path are locked regardless where the > installation path is. > > Any solution? > Thanks, > Gong-Yi. Hi Gong-Yi Liao, yes this is expected and to be fixed :) Now absolute paths are used for the dump and reload mechanism and we have to change these into relatives. Because of that also make install can't work. Thanks for feedbacking! Andrea -- akrl@sdf.org