Bug#1142565: openjdk-8: Please update to jdk8u502-ga to enable riscv64 support

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Thu Jul 23 06:42:03 BST 2026


On Wed, 2026-07-22 at 21:40 +0200, Thorsten Glaser wrote:
> On Wed, 22 Jul 2026, John Paul Adrian Glaubitz wrote:
> > On Wed, 2026-07-22 at 19:10 +0200, Aurelien Jarno wrote:
> > > On 2026-07-22 00:01, John Paul Adrian Glaubitz wrote:
> 
> > > > Could you update openjdk-8 to this version so we can bootstrap it on riscv64?
> 
> Sure, can do, but other than enable the arch in the arch list,
> I cannot do much, you’ll also have to figure out how to bootstrap,
> given it needs itself (or, in theory, openjdk-7) for that and cannot
> be built with even openjdk-11.

That's actually pretty easy:

(unstable-amd64-sbuild)glaubitz at esk:~/openjdk-8-new2/jdk8u-jdk8u502-ga$ file build/linux-riscv64-normal-zero-release/jdk/bin/java
build/linux-riscv64-normal-zero-release/jdk/bin/java: ELF 64-bit LSB pie executable, UCB RISC-V, RVC, double-float ABI, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-riscv64-
lp64d.so.1, BuildID[sha1]=49b9b6a522f923b548b30cde12f9bbf1d6ab642e, for GNU/Linux 4.15.0, with debug_info, not stripped
(unstable-amd64-sbuild)glaubitz at esk:~/openjdk-8-new2/jdk8u-jdk8u502-ga$

See: https://wiki.debian.org/PortsDocs/BootstrappingOpenJDK

> > 
Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



More information about the pkg-java-maintainers mailing list