Zero crashing on Linux-sparc with gcc-9

Andrew Haley aph at
Wed Sep 25 17:28:10 UTC 2019

On 9/24/19 10:29 PM, John Paul Adrian Glaubitz wrote:
> On 9/24/19 8:03 PM, Andrew Haley wrote:
>> On 9/22/19 9:19 AM, John Paul Adrian Glaubitz wrote:
>>> On 9/7/19 12:44 AM, John Paul Adrian Glaubitz wrote:
>>>> In addition to the build failure of the server VM with gcc-9, Zero is affected as
>>>> well, but here it's not a syntax issue but the VM is segfaulting when built with
>>>> gcc-9.
>>>> Backtrace is below. Any suggestions?
>>> Reported to gcc upstream as
>> It's not obviously a GCC bug.
> Care to elaborate? What are the pointers in your opinion? It builds fine
> with gcc-7 and it used to build fine with older snapshot versions of
> gcc-8. I haven't tracked down yet which gcc patch introduced the
> breakage.

It could be a bug in the JVM. I have recently debugged problems which
were due to undefined behaviour in HotSpot. It wouldn't be a terrible
idea to run with GCC's UB Sanitizer and fix a few of the bugs.

Andrew Haley  (he/him)
Java Platform Lead Engineer
Red Hat UK Ltd. <>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671

More information about the hotspot-dev mailing list