/hg/release/icedtea7-forest-2.5/hotspot: 8041658: Use of -fdevir...

andrew at icedtea.classpath.org andrew at icedtea.classpath.org
Thu Apr 24 03:29:49 UTC 2014


changeset e85f87518eb4 in /hg/release/icedtea7-forest-2.5/hotspot
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=e85f87518eb4
author: andrew
date: Wed Apr 23 22:06:29 2014 +0100

	8041658: Use of -fdevirtualize on macroAssembler_x86.o (via -O2) with gcc 4.9.0 creates broken VM
	Summary: -fno-devirtualize should be passed when compiling this file.


diffstat:

 make/linux/makefiles/gcc.make |  3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diffs (13 lines):

diff -r 98c1afebeab8 -r e85f87518eb4 make/linux/makefiles/gcc.make
--- a/make/linux/makefiles/gcc.make	Fri Apr 18 06:41:02 2014 +0100
+++ b/make/linux/makefiles/gcc.make	Wed Apr 23 22:06:29 2014 +0100
@@ -265,6 +265,9 @@
       OPT_CFLAGS += -gstabs
     endif
   endif
+  ifeq ($(shell expr $(CC_VER_MAJOR) = 4 \& $(CC_VER_MINOR) = 9), 1)
+    OPT_CFLAGS/macroAssembler_x86.o += -fno-devirtualize
+  endif
 endif
 
 # If we are building HEADLESS, pass on to VM


More information about the distro-pkg-dev mailing list