6835796: Fedora 9 linux_i586-fastdebug-c2-runThese_Xcomp times out
authorohair
Fri May 08 18:12:15 2009 -0700 (9 months ago)
changeset 36343b74d5e8e8
parent 35d9cd0e2a0fec
child 379c6b121de888
6835796: Fedora 9 linux_i586-fastdebug-c2-runThese_Xcomp times out
Summary: Switch off GCC 4.3.0 optimized compilation for mulnode.o. (from jdk7)
Reviewed-by: johnc
build/linux/makefiles/gcc.make
--- a/build/linux/makefiles/gcc.make Fri May 08 12:39:55 2009 -0700
+++ b/build/linux/makefiles/gcc.make Fri May 08 18:12:15 2009 -0700
@@ -120,6 +120,11 @@ endif
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