javac stack overflow on loongson3 with zero variant
Bingwu Zhang
xtex at envs.net
Sun Mar 30 06:58:30 UTC 2025
On Tuesday, March 25, 2025 11:52:29 PM China Standard Time Magnus Ihse Bursie
wrote:
> Is this reproducible? Did it started happening recently? If so, can you
> bisect to which commit introduced the problem?
Yes, it failed all loongson3 mips builds on the AOSC OS build service.
As far as I can remember, it appeared during the JDK 24 development cycle.
I have spent a whole weekend on bisecting, due to the poor performance of the
loongson3 processors and some recent network issues of the AOSC's build
servers (where I do the bisect). Current progress is ~16 commits/4 steps
remaining. Now I am testing in 5e15415cb9c...a032de2904b.
> Can you confirm that you are actually building natively on mips64?
Yes. I am natively building on loongson3 (a variant of mips64).
Cross-compiling from x86-64 is working.
> If you try running without the javac server, does it change anything?
> ("configure --disable-javac-server")
No, the same error.
> Is the default stack size different on mips64 than other platforms?
> Maybe that default value should be changed if so.
It is not. All architectures using the zero variant and LP64 use the same
default stack size.
(src/hotspot/os_cpu/linux_zero/globals_linux_zero.hpp)
--
Bingwu Zhang / a.k.a. xtex @ Fri, 28 Mar 2025 10:12:21 +0000
More information about the build-dev
mailing list