Zero JVM segfaulting on linux-sparc

Severin Gehwolf sgehwolf at redhat.com
Wed Jan 2 09:12:26 UTC 2019


Hi Adrian,

On Sat, 2018-12-29 at 13:41 +0100, John Paul Adrian Glaubitz wrote:
> Hi Severin!
> 
> On 12/21/18 2:34 PM, John Paul Adrian Glaubitz wrote:
> > On 12/21/18 1:52 PM, Severin Gehwolf wrote:
> > > OK. It's rather curious. What are the different flags being used?
> > > Pre/post patch? It looks as if this happens (on Linux sparc):
> > > 
> > > Zero and '-ffp-contract=off -O2' => bad build
> > > Zero and '-ffp-contract=off -O0' => good build
> > > Server and '-ffp-contract=off -O2' => good build
> > 
> > Logs here: https://people.debian.org/~glaubitz/openjdk-sparc/
> 
> Any suggestions how to move forward with this? Should I open an RFR
> with your suggested patch which works fine for me? Or do you want to
> do that? I have filed a bug report in Jira now [1].

Thanks for getting that bug filed. Before we push the work-around it
would be good to know what's actually happening. You could try
recompiling/running with an UB sanitizer and see whether there is a
problem. If there is, it might be a Zero bug which we should fix. I
have no way of testing this issue myself, though.

> Shall I file a bug in gcc upstream as well?

Possibly. Do you know for sure this is a GCC bug? If so, please do.

Thanks,
Severin

> Adrian
> 
> > [1] https://bugs.openjdk.java.net/browse/JDK-8215969
> 
> 



More information about the hotspot-dev mailing list