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, 8 Mar 2020 09:37:44 -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="98039"; 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 08 15:38:40 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 1jAx4i-000POM-QE for ged-emacs-devel@m.gmane-mx.org; Sun, 08 Mar 2020 15:38:40 +0100 Original-Received: from localhost ([::1]:58288 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jAx4h-0007Lg-SV for ged-emacs-devel@m.gmane-mx.org; Sun, 08 Mar 2020 10:38:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60562) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jAx43-0006o6-KE for emacs-devel@gnu.org; Sun, 08 Mar 2020 10:38:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jAx42-0001Xa-Cn for emacs-devel@gnu.org; Sun, 08 Mar 2020 10:37:59 -0400 Original-Received: from mail-lf1-x131.google.com ([2a00:1450:4864:20::131]:34896) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jAx42-0001X3-5o for emacs-devel@gnu.org; Sun, 08 Mar 2020 10:37:58 -0400 Original-Received: by mail-lf1-x131.google.com with SMTP id z9so5558176lfa.2 for ; Sun, 08 Mar 2020 07:37:57 -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=BZ1pvKUPfm1AIYUgxNltWVFZ8P6Q0ot9rIZ2vd9Q7xM=; b=p3djwZ6kd02iu1QGnzs8ZgsGxhEyJnz1r7HjhwkE6ZZikq0n7A6TrwJ9FioLSZ+Bs3 yAckrrj8KRpF3Ppj57yINXnjXxHHKm1fVfP1izGooz1KpV+NcjRLs8Wae+LCW6kI4eMo RF2pD6zVQcOdJ82wkiFObGvVLdLS2CBbomYvfRlyv+Ni6p+bQYa1EaCfNDNIJJOSZ3a3 KbC9VPfSJxgbiF1LsxYbvhb1hg8Ubuyk3/qSAGceLqiLz4rLlPFcVu7oX0IDdzmJuf7O 4RqkeqMEeNhIOkSfEuLZDQqIcO8dDbu2VQpEfEdvwffA0dhjETqAOGhSyv24lsnfuxQw HT6g== 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=BZ1pvKUPfm1AIYUgxNltWVFZ8P6Q0ot9rIZ2vd9Q7xM=; b=N0QRARK9X3erIp5Ki5PD/4JYe+kqINyDSHmjA7iLJo4deuH6Omn8/0QD7oF00KA/FR FTijyknS0EQR6L2IROfqVk3Mzo5acYKG7QIew+rGXxXjrLdvXNGoIp3vUaCEmgxPCgiA w7wxITUKlChJLCBJ1Wd9pAJvsInwvihks7WKDpNavx/WjCUOKppdqSzAPyr8MH2RGjH9 GPEOQ2Cj5w97LFcWyq6/N4Hw3nMyjpOkiKrqH6CKzlS6cGroIPZYJdL0WorEVCO4//6b ymtp67ybpVbwuOyXWegrakIAp9Q6fSEzc1ioRE4wBq/L3s+KmMlQsecJd/K2lP9mT40I wiZw== X-Gm-Message-State: ANhLgQ3fAE/XhoNvgiX2zM4AYGUiaKXR7pkPPfkmCClIBBnTBH2+artK 7Q3Huc4htaAsv5bLfDyMG1n+BRZ0qFopAi2rK44= X-Google-Smtp-Source: ADFU+vv1vNdS3MQYGuoazrkWHHXAyJv8QO7eEzoem51j+Glib2WDhkYeu8GpTxexVwikFpe+yTjUeUAreAAoEPm8l+8= X-Received: by 2002:ac2:5e8d:: with SMTP id b13mr6992543lfq.113.1583678276113; Sun, 08 Mar 2020 07:37:56 -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::131 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:245338 Archived-At: Hi Andrea, I tried to cross compile gccjit and emacs for aarch64 target on a x86-64 machine as the raspberry pi 4b is not powerful enough for this type of tasks but I haven't get anything fruitful so far. When I complied these two packages on a raspberry pi 4b, compiling gccjit was ok, executable binaries were eventually generated. But emacs/native-comp always fail when native compiling leim related elc/el= n. Do you have any recommendation for setting up a cross compilation environment for that? 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