6835796: Fedora 9 linux_i586-fastdebug-c2-runThese_Xcomp times out
authorkvn
Thu, 30 Apr 2009 15:57:29 -0700
changeset 2734 a15982b3cd69
parent 2733 f8cdfc47f57b
child 2738 7a72e5ed1d10
child 2739 767d5ea27cc5
child 2744 57f0579fbe09
6835796: Fedora 9 linux_i586-fastdebug-c2-runThese_Xcomp times out Summary: Switch off GCC 4.3.0 optimized compilation for mulnode.o. Reviewed-by: johnc
hotspot/make/jprt.properties
hotspot/make/linux/makefiles/gcc.make
--- a/hotspot/make/jprt.properties	Thu Apr 30 12:09:39 2009 -0700
+++ b/hotspot/make/jprt.properties	Thu Apr 30 15:57:29 2009 -0700
@@ -222,14 +222,12 @@
     ${jprt.my.solaris.i586}-fastdebug-c2-jbb_G1, \
     ${jprt.my.solaris.i586}-fastdebug-c2-jbb_ParOldGC
 
-# Removed 4/29/2009 due to Fedora 9 problem:
-#   ${jprt.my.linux.i586}-fastdebug-c2-runThese_Xcomp
-
 jprt.my.linux.i586.test.targets = \
     ${jprt.my.linux.i586}-{product|fastdebug}-{c1|c2}-jvm98, \
     ${jprt.my.linux.i586}-{product|fastdebug}-{c1|c2}-scimark, \
     ${jprt.my.linux.i586}-product-c1-runThese_Xcomp, \
     ${jprt.my.linux.i586}-fastdebug-c1-runThese_Xshare, \
+    ${jprt.my.linux.i586}-fastdebug-c2-runThese_Xcomp, \
     ${jprt.my.linux.i586}-{product|fastdebug}-{c1|c2}-GCBasher_default, \
     ${jprt.my.linux.i586}-{product|fastdebug}-{c1|c2}-GCBasher_SerialGC, \
     ${jprt.my.linux.i586}-{product|fastdebug}-{c1|c2}-GCBasher_ParallelGC, \
--- a/hotspot/make/linux/makefiles/gcc.make	Thu Apr 30 12:09:39 2009 -0700
+++ b/hotspot/make/linux/makefiles/gcc.make	Thu Apr 30 15:57:29 2009 -0700
@@ -113,6 +113,11 @@
 
 OPT_CFLAGS/NOOPT=-O0
 
+# 6835796. Problem in GCC 4.3.0 with mulnode.o optimized compilation. 
+ifneq "$(shell expr \( \( $(CC_VER_MAJOR) = 4 \) \& \( $(CC_VER_MINOR) = 3 \) \))" "0"
+OPT_CFLAGS/mulnode.o += -O0
+endif
+
 #------------------------------------------------------------------------
 # Linker flags