Mercurial > hg > truffle
changeset 12143:dfc126b2f659
8022407: sun/misc/CopyMemory.java fails with SIGSEGV in Unsafe_SetByte+0x35
Summary: lower optimization level for unsafe.cpp due to MacOS Xcode 4.6.2 compiler optimization issue.
Reviewed-by: coleenp, twisti, dholmes
Contributed-by: lois.foltan@oracle.com
author | hseigel |
---|---|
date | Thu, 29 Aug 2013 13:44:07 -0400 |
parents | 76482cbba706 |
children | cef1e56a4d88 |
files | make/bsd/makefiles/gcc.make |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/make/bsd/makefiles/gcc.make Thu Aug 29 10:33:13 2013 -0400 +++ b/make/bsd/makefiles/gcc.make Thu Aug 29 13:44:07 2013 -0400 @@ -139,6 +139,7 @@ PCH_FLAG/loopTransform.o = $(PCH_FLAG/NO_PCH) PCH_FLAG/sharedRuntimeTrig.o = $(PCH_FLAG/NO_PCH) PCH_FLAG/sharedRuntimeTrans.o = $(PCH_FLAG/NO_PCH) + PCH_FLAG/unsafe.o = $(PCH_FLAG/NO_PCH) endif else # ($(USE_CLANG), true) @@ -306,6 +307,7 @@ ifeq ($(USE_CLANG), true) ifeq ($(shell expr $(CC_VER_MAJOR) = 4 \& $(CC_VER_MINOR) = 2), 1) OPT_CFLAGS/loopTransform.o += $(OPT_CFLAGS/NOOPT) + OPT_CFLAGS/unsafe.o += -01 endif else # 6835796. Problem in GCC 4.3.0 with mulnode.o optimized compilation.