Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package java-13-openjdk for openSUSE:Factory checked in at 2021-08-12 09:01:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/java-13-openjdk (Old) and /work/SRC/openSUSE:Factory/.java-13-openjdk.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "java-13-openjdk" Thu Aug 12 09:01:29 2021 rev:2 rq:911407 version:13.0.8.0 Changes: -------- --- /work/SRC/openSUSE:Factory/java-13-openjdk/java-13-openjdk.changes 2021-07-23 23:41:14.321829265 +0200 +++ /work/SRC/openSUSE:Factory/.java-13-openjdk.new.1899/java-13-openjdk.changes 2021-08-12 09:02:21.538084973 +0200 @@ -1,0 +2,5 @@ +Wed Aug 4 10:01:03 UTC 2021 - Andreas Schwab <sch...@suse.de> + +- riscv64-zero.patch: Add support for riscv64 (zero VM) + +------------------------------------------------------------------- New: ---- riscv64-zero.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ java-13-openjdk.spec ++++++ --- /var/tmp/diff_new_pack.h1NL8Z/_old 2021-08-12 09:02:22.778083034 +0200 +++ /var/tmp/diff_new_pack.h1NL8Z/_new 2021-08-12 09:02:22.782083028 +0200 @@ -1,7 +1,7 @@ # -# spec file for package java-13-openjdk +# spec file # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -229,6 +229,8 @@ # Patch500: activation-module.patch Patch501: annotation-module.patch +# +Patch600: riscv64-zero.patch BuildRequires: alsa-lib-devel BuildRequires: autoconf BuildRequires: automake @@ -340,7 +342,7 @@ # Post requires update-alternatives to install tool update-alternatives. Requires(post): update-alternatives # Postun requires update-alternatives to uninstall tool update-alternatives. -Requires(postun): update-alternatives +Requires(postun):update-alternatives Recommends: tzdata-java8 # Standard JPackage base provides. Provides: java-%{javaver}-headless = %{version}-%{release} @@ -373,7 +375,7 @@ # Post requires update-alternatives to install tool update-alternatives. Requires(post): update-alternatives # Postun requires update-alternatives to uninstall tool update-alternatives. -Requires(postun): update-alternatives +Requires(postun):update-alternatives # Standard JPackage devel provides. Provides: java-%{javaver}-devel = %{version} Provides: java-devel = %{javaver} @@ -417,7 +419,7 @@ # Post requires update-alternatives to install javadoc alternative. Requires(post): update-alternatives # Postun requires update-alternatives to uninstall javadoc alternative. -Requires(postun): update-alternatives +Requires(postun):update-alternatives # Standard JPackage javadoc provides. Provides: java-%{javaver}-javadoc = %{version}-%{release} Provides: java-javadoc = %{version}-%{release} @@ -514,6 +516,8 @@ %patch500 %patch501 +%patch600 -p1 + # Extract systemtap tapsets %if %{with_systemtap} ++++++ riscv64-zero.patch ++++++ Index: jdk13u-jdk-13.0.8-5/make/autoconf/platform.m4 =================================================================== --- jdk13u-jdk-13.0.8-5.orig/make/autoconf/platform.m4 +++ jdk13u-jdk-13.0.8-5/make/autoconf/platform.m4 @@ -156,6 +156,12 @@ AC_DEFUN([PLATFORM_EXTRACT_VARS_FROM_CPU VAR_CPU_BITS=64 VAR_CPU_ENDIAN=big ;; + riscv64) + VAR_CPU=riscv64 + VAR_CPU_ARCH=riscv + VAR_CPU_BITS=64 + VAR_CPU_ENDIAN=little + ;; *) AC_MSG_ERROR([unsupported cpu $1]) ;; @@ -485,6 +491,8 @@ AC_DEFUN([PLATFORM_SETUP_LEGACY_VARS_HEL HOTSPOT_$1_CPU_DEFINE=S390 elif test "x$OPENJDK_$1_CPU" = xs390x; then HOTSPOT_$1_CPU_DEFINE=S390 + elif test "x$OPENJDK_$1_CPU" = xriscv64; then + HOTSPOT_$1_CPU_DEFINE=RISCV elif test "x$OPENJDK_$1_CPU" != x; then HOTSPOT_$1_CPU_DEFINE=$(echo $OPENJDK_$1_CPU | tr a-z A-Z) fi Index: jdk13u-jdk-13.0.8-5/src/hotspot/os/linux/os_linux.cpp =================================================================== --- jdk13u-jdk-13.0.8-5.orig/src/hotspot/os/linux/os_linux.cpp +++ jdk13u-jdk-13.0.8-5/src/hotspot/os/linux/os_linux.cpp @@ -1763,6 +1763,9 @@ void * os::dll_load(const char *filename #ifndef EM_AARCH64 #define EM_AARCH64 183 /* ARM AARCH64 */ #endif +#ifndef EM_RISCV + #define EM_RISCV 243 /* RISC-V */ +#endif static const arch_t arch_array[]={ {EM_386, EM_386, ELFCLASS32, ELFDATA2LSB, (char*)"IA 32"}, @@ -1788,6 +1791,7 @@ void * os::dll_load(const char *filename {EM_PARISC, EM_PARISC, ELFCLASS32, ELFDATA2MSB, (char*)"PARISC"}, {EM_68K, EM_68K, ELFCLASS32, ELFDATA2MSB, (char*)"M68k"}, {EM_AARCH64, EM_AARCH64, ELFCLASS64, ELFDATA2LSB, (char*)"AARCH64"}, + {EM_RISCV, EM_RISCV, ELFCLASS64, ELFDATA2LSB, (char*)"RISCV"}, }; #if (defined IA32) @@ -1822,6 +1826,8 @@ void * os::dll_load(const char *filename static Elf32_Half running_arch_code=EM_68K; #elif (defined SH) static Elf32_Half running_arch_code=EM_SH; +#elif (defined RISCV) + static Elf32_Half running_arch_code=EM_RISCV; #else #error Method os::dll_load requires that one of following is defined:\ AARCH64, ALPHA, ARM, AMD64, IA32, IA64, M68K, MIPS, MIPSEL, PARISC, __powerpc__, __powerpc64__, S390, SH, __sparc