unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: emacs-devel@gnu.org
Subject: native compilation version on AArch64 running Debian 9.9
Date: Wed, 10 Mar 2021 11:41:40 +0000	[thread overview]
Message-ID: <87sg53xmkr.fsf@ucl.ac.uk> (raw)

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




             reply	other threads:[~2021-03-10 11:41 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-10 11:41 Eric S Fraga [this message]
2021-03-10 12:23 ` native compilation version on AArch64 running Debian 9.9 Eli Zaretskii
2021-03-10 12:31   ` Eric S Fraga
2021-03-10 12:49     ` Andreas Schwab
2021-03-10 13:16       ` Eric S Fraga
2021-03-10 13:48     ` Eli Zaretskii
2021-03-10 13:54       ` Eric S Fraga
2021-03-10 14:12         ` Eli Zaretskii
2021-03-10 15:35           ` Eric S Fraga
2021-03-11  8:49           ` Eric S Fraga
2021-03-11 19:26             ` Andrea Corallo via Emacs development discussions.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sg53xmkr.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).