On Fri, May 25, 2018 at 14:07 -0400, Kurt Miller wrote:
> > Hi,
> >
> > This appears to be the same issue as described here:
> >
> > https://bugs.openjdk.java.net/browse/JDK-8022407
> >
> > that I can trigger with the following test case (SIGSEGV on a null
> > pointer):
> >
> > https://gist.github.com/mbelop/6ebb11d7e583562279abfb2e3b733fa5
> >
> > Regards,
> > Mike
>
> Thank Mike for the investigation, test case and patch!
>
> I'm testing update 172b11 now with a slightly different version of the
> patch. I will commit this upstream and update the port this weekend.
>
Thanks, your work is greatly appreciated.
Your patch works for me as well. I'm not certain about hardcoding
a Clang 6.0 version but I'll leave it to your discretion.
Cheers,
Mike
> -Kurt
>
> diff -r 749852fe39a6 make/bsd/makefiles/gcc.make
> --- a/make/bsd/makefiles/gcc.make Sat May 19 23:14:15 2018 -0700
> +++ b/make/bsd/makefiles/gcc.make Fri May 25 13:56:03 2018 -0400
> @@ -328,6 +328,9 @@
> OPT_CFLAGS/loopTransform.o += $(OPT_CFLAGS/NOOPT)
> OPT_CFLAGS/unsafe.o += -O1
> endif
> + ifeq ($(shell expr $(CC_VER_MAJOR) = 6 \& $(CC_VER_MINOR) = 0), 1)
> + OPT_CFLAGS/unsafe.o += -O1
> + endif
> else
> # 6835796. Problem in GCC 4.3.0 with mulnode.o optimized
> compilation.
> ifeq ($(shell expr $(CC_VER_MAJOR) = 4 \& $(CC_VER_MINOR) = 3), 1)
>
>
No comments:
Post a Comment