On Tue, 18 Feb 2020 at 01:11, Jerry James <loganjerry(a)gmail.com> wrote:
On Sun, Feb 16, 2020 at 10:06 AM Iñaki Ucar <iucar(a)fedoraproject.org> wrote:
> If anyone is interested in pushing this forward, I can review
> something in exchange. Note that the koji scratch build fails on s390x
> due to a Java stack overflow. Does anyone know what's the default in
> that arch and how to increase it?
You can find the default like this:
java -XX:+PrintFlagsFinal
Then look for ThreadStackSize in the output. It is 1024 on my x86_64
machine with Java 8, and 1536 on an s390x machine where I have an
account. Pass -Xss to java or -J-Xss to javac to increase it.
Thanks, Jerry. Is there an environment variable to do that? In this
package there is an "ant" invocation buried in the cmake-based build
system, so I tried
%ifarch s390 s390x
export _JAVA_OPTIONS="-Xss16M"
%endif
with no luck. The compilation still fails with a Java stack overflow,
so I suppose that this env variable is not being used.
Iñaki