On Tue, 18 Feb 2020 at 01:11, Jerry James <loganje...@gmail.com> wrote:
>
> On Sun, Feb 16, 2020 at 10:06 AM Iñaki Ucar <iu...@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
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to