提交 d5103fad 编写于 作者: H hseigel

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
上级 27057454
...@@ -139,6 +139,7 @@ ifeq ($(USE_CLANG), true) ...@@ -139,6 +139,7 @@ ifeq ($(USE_CLANG), true)
PCH_FLAG/loopTransform.o = $(PCH_FLAG/NO_PCH) PCH_FLAG/loopTransform.o = $(PCH_FLAG/NO_PCH)
PCH_FLAG/sharedRuntimeTrig.o = $(PCH_FLAG/NO_PCH) PCH_FLAG/sharedRuntimeTrig.o = $(PCH_FLAG/NO_PCH)
PCH_FLAG/sharedRuntimeTrans.o = $(PCH_FLAG/NO_PCH) PCH_FLAG/sharedRuntimeTrans.o = $(PCH_FLAG/NO_PCH)
PCH_FLAG/unsafe.o = $(PCH_FLAG/NO_PCH)
endif endif
else # ($(USE_CLANG), true) else # ($(USE_CLANG), true)
...@@ -306,6 +307,7 @@ OPT_CFLAGS/NOOPT=-O0 ...@@ -306,6 +307,7 @@ OPT_CFLAGS/NOOPT=-O0
ifeq ($(USE_CLANG), true) ifeq ($(USE_CLANG), true)
ifeq ($(shell expr $(CC_VER_MAJOR) = 4 \& $(CC_VER_MINOR) = 2), 1) ifeq ($(shell expr $(CC_VER_MAJOR) = 4 \& $(CC_VER_MINOR) = 2), 1)
OPT_CFLAGS/loopTransform.o += $(OPT_CFLAGS/NOOPT) OPT_CFLAGS/loopTransform.o += $(OPT_CFLAGS/NOOPT)
OPT_CFLAGS/unsafe.o += -01
endif endif
else else
# 6835796. Problem in GCC 4.3.0 with mulnode.o optimized compilation. # 6835796. Problem in GCC 4.3.0 with mulnode.o optimized compilation.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册