-
Notifications
You must be signed in to change notification settings - Fork 721
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compiling with gcc 10.3 hangs/crashes with JIT when running -version #14219
Comments
Adding
|
The hang seems only to occur on x86. On POWER, the build proceeds without incident. However, on Z it consistently crashes in the JIT:
|
vmState [0x5ff06]: {J9VMSTATE_JIT} {RegisterAssigning} |
More details on the crash on Z:
|
I think a root cause is the definition of The optimizer in gcc-10 seems to prioritize the declared array size over I tried making the array 'flexible' by declaring its length to be zero, only to find that the class is inherited (e.g. on X in My main question is this (also posted to omr#general slack channel): How did this ever work? The additional fields have offsets beginning in the same place as the second register dependency. |
With the changes in https://github.com/keithc-ca/omr/tree/gcc10, jdk17 builds with gcc-10 on P, X and Z. |
It's under discussion to move compilation of jdk17+ to use gcc 10.3
adoptium/temurin-build#2787
@keithc-ca tried a manual build with 10.3 and found that the build hangs in the
Optimizing the exploded image
step. The problem can also be seen runningjava -version
. However runningjava -Xint -version
completes without hanging.@AdamBrousseau @0xdaryl fyi
The text was updated successfully, but these errors were encountered: