From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eric S Fraga Newsgroups: gmane.emacs.devel Subject: native compilation version on AArch64 running Debian 9.9 Date: Wed, 10 Mar 2021 11:41:40 +0000 Organization: On the Interweb somewhere Message-ID: <87sg53xmkr.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18682"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) To: emacs-devel@gnu.org Cancel-Lock: sha1:Vsf7Wja2Ve2foLlQfEhtZUpGx5k= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Mar 10 12:42:35 2021 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 1lJxEZ-0004lW-93 for ged-emacs-devel@m.gmane-mx.org; Wed, 10 Mar 2021 12:42:35 +0100 Original-Received: from localhost ([::1]:48712 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lJxEY-0006WN-7I for ged-emacs-devel@m.gmane-mx.org; Wed, 10 Mar 2021 06:42:34 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53410) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJxDp-000653-O8 for emacs-devel@gnu.org; Wed, 10 Mar 2021 06:41:49 -0500 Original-Received: from ciao.gmane.io ([116.202.254.214]:45922) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJxDo-0002Eb-09 for emacs-devel@gnu.org; Wed, 10 Mar 2021 06:41:49 -0500 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1lJxDl-0003hq-0F for emacs-devel@gnu.org; Wed, 10 Mar 2021 12:41:45 +0100 X-Injected-Via-Gmane: http://gmane.org/ X-Url: http://www.ucl.ac.uk/~ucecesf/ Received-SPF: pass client-ip=116.202.254.214; envelope-from=ged-emacs-devel@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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:266267 Archived-At: Hello, yesterday, I cloned and built Emacs with native compilation on my desktop running Debian testing. Went smoothly and it works very nicely indeed! So today I thought I would try to do the same on a small palmtop computer running a somewhat older version of Debian (9.9) and, obviously, a different architecture. In this case, the configure step fails with the error message (from the log): ,---- | configure:16269: checking for gcc_jit_context_acquire in -lgccjit | configure:16294: gcc -o conftest -g3 -O2 -pthread [...] conftest.c -lgccjit -lX11 -lcairo >&5 | /usr/bin/ld: cannot find -lgccjit | collect2: error: ld returned 1 exit status `---- If I look at ldconfig on both systems, on the desktop I get the following: libgccjit.so.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libgccjit.so.0 and on the palmtop: libgccjit.so.0 (libc6,AArch64) => /usr/lib/aarch64-linux-gnu/libgccjit.so.0 The versions of the gccjit packages are different (8 on palmtop, 10 on desktop) but the library is there, including the .so.0.0.1 file linked to from the above in both cases. Any suggestions? My wee palmtop would love jit compilation Emacs! Thank you, eric -- Eric S Fraga via Emacs 28.0.50 & org 9.4.4 on Debian bullseye/sid