← Back to team overview

openjdk team mailing list archive

Bug#965342: openjdk-15: Please update build configuration for sparc64

 

Source: openjdk-15
Severity: normal
User: debian-sparc@xxxxxxxxxxxxxxxx
Usertags: sparc64
X-Debbugs-Cc: debian-sparc@xxxxxxxxxxxxxxxx

Hello!

The latest pre-release version of OpenJDK 15 unfortunately dropped native Hotspot
support for Solaris and Linux SPARC which is why we have to resort to using Zero
only.

The updated diff patches the debian/rules to reflect these changes by switching
sparc64 to Zero-only and dropping the configure option --enable-deprecated-ports.

Please apply.

Thanks,
Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@xxxxxxxxxx
`. `'   Freie Universitaet Berlin - glaubitz@xxxxxxxxxxxxxxxxxxx
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
--- debian/rules.orig	2020-07-19 10:36:08.000000000 +0200
+++ debian/rules	2020-07-19 22:49:23.719501885 +0200
@@ -49,7 +49,7 @@
 
 multiarch_dir = /$(DEB_HOST_MULTIARCH)
 
-hotspot_archs	= amd64 i386 arm64 armhf ppc64 ppc64el sparc64 s390x kfreebsd-amd64 kfreebsd-i386
+hotspot_archs	= amd64 i386 arm64 armhf ppc64 ppc64el s390x kfreebsd-amd64 kfreebsd-i386
 jtreg_archs	= $(hotspot_archs) alpha ia64 powerpc powerpcspe ppc64 sh4 x32
 jtreg_archs	+= armel mipsel mips64el
 jtreg_archs	+= riscv64
@@ -185,9 +185,6 @@
 # ftbfs on armhf, also in OpenJDK 15
 altzero_archs := $(filter-out armhf, $(altzero_archs))
 
-# FIXME: Zero currently FTBFS on sparc64 with gcc-9
-altzero_archs := $(filter-out sparc64, $(altzero_archs))
-
 ifneq (,$(filter noaltzero, $(DEB_BUILD_OPTIONS)))
   altzero_archs =
 else ifneq (,$(filter $(DEB_HOST_ARCH), $(altzero_archs)))
@@ -411,10 +408,6 @@
   ZERO_CONFIGURE_ARGS += --with-boot-jdk-jvmargs="-XX:ThreadStackSize=2240"
 endif
 
-ifneq (,$(filter $(DEB_HOST_ARCH), sparc64))
-  DEFAULT_CONFIGURE_ARGS += --enable-deprecated-ports=yes
-endif
-
 ifeq ($(with_check),yes)
   COMMON_CONFIGURE_ARGS += --with-jtreg=/usr/share/jtreg
 else