all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#41648] [PATCH 0/2] JamVM: Add aarch64-linux support
@ 2020-06-01 17:12 Simon South
  2020-06-01 17:15 ` [bug#41648] [PATCH 1/2] gnu: jamvm-1-bootstrap: " Simon South
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Simon South @ 2020-06-01 17:12 UTC (permalink / raw)
  To: 41648; +Cc: Simon South

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





^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-06-28  7:50 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-01 17:12 [bug#41648] [PATCH 0/2] JamVM: Add aarch64-linux support Simon South
2020-06-01 17:15 ` [bug#41648] [PATCH 1/2] gnu: jamvm-1-bootstrap: " 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

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.