← Back to team overview

openjdk team mailing list archive

Bug#864288: openjdk-9: Please obsolete patch 8073754-stack-overflow-9-build.diff

 

Source: openjdk-9
Version: 9~b170-2
Severity: important
User: debian-powerpc@xxxxxxxxxxxxxxxx
Usertags: powerpc,powerpcspe,ppc64

Hi!

openjdk-9 currently fails to build from source on the powerpc* and ppc64
targets in Debian Ports because the minimum VM stack size is too small:

/<<PKGBUILDDIR>>/build-zero/jdk/bin/java -Xms64M -Xmx1600M -XX:ThreadStackSize=2240 -XX:+UseSerialGC -Xms32M -Xmx512M -XX:TieredStopAtLevel=1 -cp /<<PKGBUILDDIR>>/build-zero/buildtools/tools_jigsaw_classes --add-exports java.base/jdk.internal.module=ALL-UNNAMED build.tools.jigsaw.AddPackagesAttribute /<<PKGBUILDDIR>>/build-zero/jdk
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

The Java thread stack size specified is too small. Specify at least 2432k
ExplodedImageOptimize.gmk:40: recipe for target '/<<PKGBUILDDIR>>/build-zero/jdk/_packages_attribute.done' failed
make[4]: *** [/<<PKGBUILDDIR>>/build-zero/jdk/_packages_attribute.done] Error 1

>From the internal builds at SUSE I know that openjdk-9 builds just fine on ppc64
without any modifications to the stack size and increasing the stack size in
the patch 8073754-stack-overflow-9-build.diff didn't help either.

So I just dropped the patch debian/patches/8073754-stack-overflow-9-build.diff
in the Debian package which made the build succeed on ppc64, it still fails
on powerpc for other reasons though. I didn't test powerpcspe but I assume it
should be the same, either way. After removing this patch, the patch
s390x-thread-stack-size.diff didn't apply anymore, so this patch needs to be
rebased.

Thanks for consideration!

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