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: native-comp branch on Raspberry Pi 4 Date: Thu, 16 Apr 2020 12:06:48 -0500 Message-ID: References: <87pnc7e6zt.fsf@u12000.fhaun.de> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000fa2d9e05a36b75e4" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="90641"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Frank Haun Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Apr 16 19:07: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 1jP7zH-000NNn-Uv for ged-emacs-devel@m.gmane-mx.org; Thu, 16 Apr 2020 19:07:40 +0200 Original-Received: from localhost ([::1]:37242 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jP7zG-0006qN-Vn for ged-emacs-devel@m.gmane-mx.org; Thu, 16 Apr 2020 13:07:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35018) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jP7yh-0006MY-Qz for emacs-devel@gnu.org; Thu, 16 Apr 2020 13:07:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jP7yf-0004CU-Kq for emacs-devel@gnu.org; Thu, 16 Apr 2020 13:07:03 -0400 Original-Received: from mail-ed1-x529.google.com ([2a00:1450:4864:20::529]:40780) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jP7yf-0004Bf-EE for emacs-devel@gnu.org; Thu, 16 Apr 2020 13:07:01 -0400 Original-Received: by mail-ed1-x529.google.com with SMTP id d16so670018edq.7 for ; Thu, 16 Apr 2020 10:07:01 -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; bh=51wzqTRru1Ks1npfcrVNVDE2DaA3t3XWJ+98HUJQyqo=; b=YJFU+zrfUNT+LxYZ3KiYxECj5CTxmaE6TzcEht/SOoahRpzbwgo0ZnOZK3fS3Ywdgc BMNtXYIUiwl1JWMuWL1SzPcnInQ5nZsG6+5CNuN+mxuJhaVCBbvs6u6Zip2MIPwLiGjz eQydIe7PLEkfhTH0Ik5DY4wFnpfZdnP/wJGqOo6fRhYBNPU2aqPs8T7BTOA2lD7LJprY NUcmiRGSbZpobI4rasUnGuXWfJ1VYWgz2AXKBt4S1w9EB9DifNPovSqKXTQEqjmZRVkB 95XodFoyjtHPnAqDTAei1EmnbrYggYk+90WqMA7glY0lodLrahFNA5VldmDvhjHtyR6A MaMg== 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; bh=51wzqTRru1Ks1npfcrVNVDE2DaA3t3XWJ+98HUJQyqo=; b=o6zzVs6c0Cnl3HS4zEqH2DfYuv3w7TJDQXJP+pt3xIDC1yiawVclXTw7cL4zsn08by tZzBHdTRQ4DzfLRyMFyT6G/hxoKGxrC9b6Yrbve7ocWm7xO86ij+8SOWH4deeLtN3U73 Zaz04lTcgTe50MdvdCX4YplXu0FROcah3j36xfp8eDidZTfImIRUSpi2iwOCgIR/2Hej cU0gEu8/g+1BXjCHGw8PKSSuEKGQX/6ynyjw6PeTCnd9MSQG4SxB9PzJCeUj1n3cphoo 6I9Hd/viYmNMDaQhUvet0oYJCDfq5JWRH32Vf5iAwSc8axLZ2G7jzy2riibpC49dTA1J 7Q/w== X-Gm-Message-State: AGi0PuaRmibT82zivV20AykwpGvh4oHYNHL1p4tdhlNR1nu1nhh+HwWu t0IlaMuqgFAxcuOwnNZ8GKovL9yxRBWFyqv11+M= X-Google-Smtp-Source: APiQypJIybJUgEqMtbh9XjLnDRcEugq3Jr5v6NhTEkSTkyWzuRSHPLxORPjw0RQtmU0AvmxySqG3s44V5BWZjVRo4vI= X-Received: by 2002:a50:fc12:: with SMTP id i18mr28254418edr.337.1587056819709; Thu, 16 Apr 2020 10:06:59 -0700 (PDT) In-Reply-To: <87pnc7e6zt.fsf@u12000.fhaun.de> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::529 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:247104 Archived-At: --000000000000fa2d9e05a36b75e4 Content-Type: text/plain; charset="UTF-8" I got exactly the same error with gcc 8/9/10 on a raspberry pi 4 running Debian buster/Sid and fedora 31/rawhide in podman container. It seems in gccjit issue as the hello world example on gccjit doc web site does not compile on raspberry pi 4 as well On Thu, Apr 16, 2020, 11:23 Frank Haun wrote: > Hello, > > I'm not sure, should this branch compile on ARM Devices? > > I've tried Raspbian 32bit and Ubuntu Core 64bit. > > All necessary libs are installed. > > | $ git status > | On branch feature/native-comp > | Your branch is up to date with 'origin/feature/native-comp'. > > | $ ./autogen.sh > | $ ./configure --without-imagemagick --with-x-toolkit=lucid --with-pop > --with-jpeg=no --with-gif=no --with-tiff=no --without-makeinfo > | $ make > > First everything does fine, but then I get this: > > | ... > | Loading /home/ubuntu/CVS/emacs/lisp/tooltip.el (source)... > | Finding pointers to doc strings... > | Finding pointers to doc strings...done > | Dumping under the name bootstrap-emacs.pdmp > | dumping fingerprint: > 9be4874d483d5c67b257e1d30440bebceb4673d531a3b39f69150175f6101e76 > | Dump complete > | Byte counts: header=96 hot=14987776 discardable=122208 cold=9776976 > | Reloc counts: hot=1010305 discardable=6007 > | make -C ../lisp compile-first EMACS="../src/bootstrap-emacs" > | make[2]: Entering directory '/home/ubuntu/CVS/emacs/lisp' > | ELC emacs-lisp/macroexp.elc > | /bin/bash: line 1: 24525 Segmentation fault (core dumped) > EMACSLOADPATH= '../src/bootstrap-emacs' -batch --no-site-file > --no-site-lisp --eval '(setq load-prefer-newer t)' -f batch-byte-compile > emacs-lisp/macroexp.el > | make[2]: *** [Makefile:316: emacs-lisp/macroexp.elc] Error 139 > | make[2]: Leaving directory '/home/ubuntu/CVS/emacs/lisp' > | make[1]: *** [Makefile:828: bootstrap-emacs.pdmp] Error 2 > | make[1]: Leaving directory '/home/ubuntu/CVS/emacs/src' > | make: *** [Makefile:424: src] Error 2 > > Frank > -- > Linux ubuntu 5.3.0-1022 aarch64 GNU/Linux > Experimental Blog: > > > --000000000000fa2d9e05a36b75e4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I got exactly the same error with gcc 8/9/10=C2=A0 on a r= aspberry pi 4 running Debian buster/Sid and fedora 31/rawhide in podman con= tainer.

It seems in gccjit iss= ue as the hello world example on gccjit doc web site does not compile on ra= spberry pi 4 as=C2=A0 well=C2=A0

=
On Thu, Apr 16, 2020, 11:23 Frank Hau= n <fh@fhaun.de> wrote:
Hello,

I'm not sure, should this branch compile on ARM Devices?

I've tried Raspbian 32bit and Ubuntu Core 64bit.

All necessary libs are installed.

| $ git status
| On branch feature/native-comp
| Your branch is up to date with 'origin/feature/native-comp'.

| $ ./autogen.sh
| $ ./configure --without-imagemagick --with-x-toolkit=3Dlucid --with-pop -= -with-jpeg=3Dno --with-gif=3Dno --with-tiff=3Dno --without-makeinfo
| $ make

First everything does fine, but then I get this:

| ...
| Loading /home/ubuntu/CVS/emacs/lisp/tooltip.el (source)...
| Finding pointers to doc strings...
| Finding pointers to doc strings...done
| Dumping under the name bootstrap-emacs.pdmp
| dumping fingerprint: 9be4874d483d5c67b257e1d30440bebceb4673d531a3b39f6915= 0175f6101e76
| Dump complete
| Byte counts: header=3D96 hot=3D14987776 discardable=3D122208 cold=3D97769= 76
| Reloc counts: hot=3D1010305 discardable=3D6007
| make -C ../lisp compile-first EMACS=3D"../src/bootstrap-emacs"<= br> | make[2]: Entering directory '/home/ubuntu/CVS/emacs/lisp'
|=C2=A0 =C2=A0ELC=C2=A0 =C2=A0 =C2=A0 emacs-lisp/macroexp.elc
| /bin/bash: line 1: 24525 Segmentation fault=C2=A0 =C2=A0 =C2=A0 (core dum= ped) EMACSLOADPATH=3D '../src/bootstrap-emacs' -batch --no-site-fil= e --no-site-lisp --eval '(setq load-prefer-newer t)' -f batch-byte-= compile emacs-lisp/macroexp.el
| make[2]: *** [Makefile:316: emacs-lisp/macroexp.elc] Error 139
| make[2]: Leaving directory '/home/ubuntu/CVS/emacs/lisp'
| make[1]: *** [Makefile:828: bootstrap-emacs.pdmp] Error 2
| make[1]: Leaving directory '/home/ubuntu/CVS/emacs/src'
| make: *** [Makefile:424: src] Error 2

Frank
--
Linux ubuntu 5.3.0-1022 aarch64 GNU/Linux
Experimental Blog: <http://fhaun.de>


--000000000000fa2d9e05a36b75e4--