openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #12513
Bug#868255: openjdk-9: Please build with --with-debug-level=slowdebug on Zero-only architectures
On Thu, Jul 27, 2017 at 11:44:28AM +0200, John Paul Adrian Glaubitz wrote:
> So far, it's only m68k and powerpc which are affected (and presumably
> powerpcspe as well which is powerpc just without FPU and Altivec).
> Also, as we're building Zero on the Hotspot architectures as well and
> it works there with release debug level as well.
>
> Thus, I suggest only switching the debug level to slowdebug on m68k,
> powerpc and powerpcspe:
Now that we know what the problem on powerpc was (see #870403 [1]),
this patch can be reduced to using the slowdebug debug level on m68k
only:
--- debian/rules.orig 2017-07-24 13:20:07.000000000 +0200
+++ debian/rules 2017-08-01 19:02:54.325839488 +0200
@@ -548,15 +548,13 @@
--with-version-pre=$(distribution) \
--with-version-opt=$(PKGVERSION) \
-ifneq (,$(filter $(DEB_HOST_ARCH),$(hotspot_archs)))
- DEFAULT_CONFIGURE_ARGS += --with-debug-level=release
- ZERO_CONFIGURE_ARGS += --with-debug-level=slowdebug
+ifneq (,$(filter $(DEB_HOST_ARCH),m68k))
+ COMMON_CONFIGURE_ARGS += --with-debug-level=slowdebug
else
- DEFAULT_CONFIGURE_ARGS += --with-debug-level=slowdebug
+ COMMON_CONFIGURE_ARGS += --with-debug-level=release
endif
COMMON_CONFIGURE_ARGS += \
- --with-debug-level=release \
--enable-unlimited-crypto \
--with-zlib=system \
--with-giflib=system \
Attaching an updated patch.
Thanks,
Adrian
> [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870403
--
.''`. 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 2017-07-24 13:20:07.000000000 +0200
+++ debian/rules 2017-08-01 19:02:54.325839488 +0200
@@ -548,15 +548,13 @@
--with-version-pre=$(distribution) \
--with-version-opt=$(PKGVERSION) \
-ifneq (,$(filter $(DEB_HOST_ARCH),$(hotspot_archs)))
- DEFAULT_CONFIGURE_ARGS += --with-debug-level=release
- ZERO_CONFIGURE_ARGS += --with-debug-level=slowdebug
+ifneq (,$(filter $(DEB_HOST_ARCH),m68k))
+ COMMON_CONFIGURE_ARGS += --with-debug-level=slowdebug
else
- DEFAULT_CONFIGURE_ARGS += --with-debug-level=slowdebug
+ COMMON_CONFIGURE_ARGS += --with-debug-level=release
endif
COMMON_CONFIGURE_ARGS += \
- --with-debug-level=release \
--enable-unlimited-crypto \
--with-zlib=system \
--with-giflib=system \
References