unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Simon South <simon@simonsouth.net>
To: 41648@debbugs.gnu.org
Cc: Simon South <simon@simonsouth.net>
Subject: [bug#41648] [PATCH 0/2] JamVM: Add aarch64-linux support
Date: Mon,  1 Jun 2020 13:12:11 -0400	[thread overview]
Message-ID: <20200601171211.7272-1-simon@simonsouth.net> (raw)

These patches add aarch64-linux support to the two versions of JamVM, a
compact Java virtual machine, used during Guix's Java-bootstrap process (see
the comment near the top of gnu/packages/java.scm).

With them applied the process gets as far as starting to build the first
IcedTea package (version 1.13.13), though this eventually fails with an error
from gcc while compiling the Hotspot JVM (unrelated to my changes as far as I
can tell). I'm still working on this issue.

Note I have found it unnecessary to use older versions of gcc and glibc when
building JamVM 1.5.1 on AArch64; the CPU's instruction cache is flushed
explicitly on this platform so it shouldn't be possible for the "invalid
instruction" situation mentioned in a comment to develop, and I haven't seen
it myself.

The "opcode guard" patch is necessary for floating-point operations to work
correctly when JamVM is built with stack-caching enabled, as it is by default
on AArch64 and elsewhere.

Finally, I've renamed the existing "jamvm-arm.patch" file to
"jamvm-1.5.1-arm.patch" for clarity as there are now separate patchsets for
each JamVM release.

--
Simon South
simon@simonsouth.net


Simon South (2):
  gnu: jamvm-1-bootstrap: Add aarch64-linux support.
  gnu: jamvm: Add aarch64-linux support.

 gnu/packages/java.scm                         |  41 +-
 .../patches/jamvm-1.5.1-aarch64-support.patch | 572 ++++++++++++++++
 ...{jamvm-arm.patch => jamvm-1.5.1-arm.patch} |   0
 .../patches/jamvm-2.0.0-aarch64-support.patch | 645 ++++++++++++++++++
 .../patches/jamvm-2.0.0-opcode-guard.patch    |  35 +
 5 files changed, 1283 insertions(+), 10 deletions(-)
 create mode 100644 gnu/packages/patches/jamvm-1.5.1-aarch64-support.patch
 rename gnu/packages/patches/{jamvm-arm.patch => jamvm-1.5.1-arm.patch} (100%)
 create mode 100644 gnu/packages/patches/jamvm-2.0.0-aarch64-support.patch
 create mode 100644 gnu/packages/patches/jamvm-2.0.0-opcode-guard.patch

-- 
2.26.2





             reply	other threads:[~2020-06-01 17:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-01 17:12 Simon South [this message]
2020-06-01 17:15 ` [bug#41648] [PATCH 1/2] gnu: jamvm-1-bootstrap: Add aarch64-linux support Simon South
2020-06-01 17:15   ` [bug#41648] [PATCH 2/2] gnu: jamvm: " Simon South
2020-06-02  9:41 ` [bug#41648] [PATCH 0/2] JamVM: " Efraim Flashner
2020-06-02 16:04   ` Simon South
2020-06-02 18:35     ` Efraim Flashner
2020-06-15 13:56 ` Simon South
2020-06-25 10:30   ` Efraim Flashner
2020-06-28  7:48     ` bug#41648: " Efraim Flashner

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://guix.gnu.org/

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

  git send-email \
    --in-reply-to=20200601171211.7272-1-simon@simonsouth.net \
    --to=simon@simonsouth.net \
    --cc=41648@debbugs.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/guix.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).