From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: =?UTF-8?B?R29uZy1ZaSBMaWFvIOW7luWuruavhQ==?= Newsgroups: gmane.emacs.devel Subject: Re: On elisp running native Date: Sun, 15 Mar 2020 14:00:04 -0500 Message-ID: References: <83sgl0lchm.fsf@gnu.org> <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="56360"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Adam Porter , emacs-devel@gnu.org To: Andrea Corallo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Mar 15 20:04:22 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 1jDYYf-000EXh-Kv for ged-emacs-devel@m.gmane-mx.org; Sun, 15 Mar 2020 20:04:21 +0100 Original-Received: from localhost ([::1]:57292 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jDYYe-0004zD-Dc for ged-emacs-devel@m.gmane-mx.org; Sun, 15 Mar 2020 15:04:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60410) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jDYUn-0003e2-9L for emacs-devel@gnu.org; Sun, 15 Mar 2020 15:00:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jDYUm-0000Ly-3A for emacs-devel@gnu.org; Sun, 15 Mar 2020 15:00:21 -0400 Original-Received: from mail-lf1-x141.google.com ([2a00:1450:4864:20::141]:39271) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jDYUk-00006N-Me for emacs-devel@gnu.org; Sun, 15 Mar 2020 15:00:19 -0400 Original-Received: by mail-lf1-x141.google.com with SMTP id j15so12130864lfk.6 for ; Sun, 15 Mar 2020 12:00:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=8Xb2UQEzyMKDOrOSnYurne+C2omrF/KbNp+WoS8gIbo=; b=QMpv9y3o/MrHOUUsk+IP20oUmf8JYan9Iu4B9HJdUWpc5amWFfA8d0m0YDLiwWjrx9 pezp+VblTYjln8KV6z6t+xRwnaMDC9YG0+X4NFycuLoWOqIaTQfIu+uQ6YrA6N/Sap5P GQWwt8AWObaaXytoQ3p+v18vhJ/56/BZ9dVEwVFLFjYRKeDnQexwmIIhgOz4PagtVdQD jIyJVaIh90e6DPNHwIPP2RQXatd3MgHjqwc8Y3oB2eRvHNGUQP8eIdvhFQDRQmpJ/nQp VOyprbubkNi4DQiIHLHQ3M0hbWvhTqrdRUGEgFTa5GacKXztvoF83aFNPXxhhDsv7ww+ UQoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=8Xb2UQEzyMKDOrOSnYurne+C2omrF/KbNp+WoS8gIbo=; b=ZzWtnVDse7wZD6ovuTpeoaFmZjKBG1OSShDEnuN/ODM+vpT/hiZMYAlfkuWBlr/GEb VI7N859h/kSNHT9rnUzsOXOliqJgjnZw0dEEcOHJKIGmwof2Ut8yvYquPHEsB66sSvMA is3Px2nayvd+RSFoI8rqhG0nU6GtUK56/M3UWWFT22w7nGLJtOSxkeARWdvIVchIpiiM Ox+L9PRRj0uA61vKtT06fHX40S9UIiCPMXw6M1ugLqDQyaCdHFb2/qJxTGdjYFCkTnOU J86SC5bMSYPJAIyaHxDkNachuW3TQ4ptahVUsJKPk5RweTNklkP3+zesooDCpPxFFLvX 1XtA== X-Gm-Message-State: ANhLgQ3O5ZKZ+Ypzb/6Iyw2O/RxO5f7Zsy1i/lQvRkJ1W8xVGmNAKypP Og3zx+fNft9SIsDNxGfnt8UNeHeqV4eF3cNFi4fMvWRK X-Google-Smtp-Source: ADFU+vvzzq5CpUsee4h2ArQimHcTznfg2FgTaNn0pl+dKymarKgJrEhmNCJboEjjxNMu0+oqtYFD6vRNswzdWx7XkZg= X-Received: by 2002:a19:f70d:: with SMTP id z13mr2321578lfe.58.1584298815970; Sun, 15 Mar 2020 12:00:15 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::141 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:245542 Archived-At: 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-indepen= dent: 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-4f= 8c8dbc445c9e9e/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. On Thu, Mar 5, 2020 at 7:27 AM Andrea Corallo wrote: > > Gong-Yi Liao =E5=BB=96=E5=AE=AE=E6=AF=85 writes: > > > That's pretty good on (I assume) x86_64, but native-comp branch seems > > not working on ARM64 Debian Buster at this moment: > > Not sure if it's a GCCJIT issue or the native-comp branch issue: > > > > Any comments on this compilation log are appreciated. > > Hi Gong-Yi, > > I guess this is a problem of the libgccjit package shipped with the > distro. I suggest you to recompile a recent version of it. You can > also take a look as example to the docker image build process if you > like: > > https://gitlab.com/koral/emacs-nativecomp-dockerfile/-/blob/master/Docker= file > > I use aarch64 machines regularly so I guess you should solve the issue > just with that. > > Regards > > Andrea > > -- > akrl@sdf.org