8041141: JDK9 emb build failure on PPC platform
authordholmes
Mon, 21 Apr 2014 20:17:00 -0400
changeset 23981 6ae1260c5cab
parent 23837 6f3e6fee7b44
child 23982 12e7bb480a6b
8041141: JDK9 emb build failure on PPC platform Reviewed-by: tbell
common/autoconf/flags.m4
common/autoconf/generated-configure.sh
--- a/common/autoconf/flags.m4	Wed Apr 16 09:00:42 2014 -0700
+++ b/common/autoconf/flags.m4	Mon Apr 21 20:17:00 2014 -0400
@@ -473,7 +473,8 @@
         CFLAGS_JDK="${CFLAGS_JDK} -fno-strict-aliasing"
         ;;
       ppc )
-        # on ppc we don't prevent gcc to omit frame pointer nor strict-aliasing
+        # on ppc we don't prevent gcc to omit frame pointer but do prevent strict aliasing
+        CFLAGS_JDK="${CFLAGS_JDK} -fno-strict-aliasing"
         ;;
       * )
         CCXXFLAGS_JDK="$CCXXFLAGS_JDK -fno-omit-frame-pointer"
--- a/common/autoconf/generated-configure.sh	Wed Apr 16 09:00:42 2014 -0700
+++ b/common/autoconf/generated-configure.sh	Mon Apr 21 20:17:00 2014 -0400
@@ -4243,7 +4243,7 @@
 #CUSTOM_AUTOCONF_INCLUDE
 
 # Do not change or remove the following line, it is needed for consistency checks:
-DATE_WHEN_GENERATED=1396624161
+DATE_WHEN_GENERATED=1398121836
 
 ###############################################################################
 #
@@ -41662,7 +41662,8 @@
         CFLAGS_JDK="${CFLAGS_JDK} -fno-strict-aliasing"
         ;;
       ppc )
-        # on ppc we don't prevent gcc to omit frame pointer nor strict-aliasing
+        # on ppc we don't prevent gcc to omit frame pointer but do prevent strict aliasing
+        CFLAGS_JDK="${CFLAGS_JDK} -fno-strict-aliasing"
         ;;
       * )
         CCXXFLAGS_JDK="$CCXXFLAGS_JDK -fno-omit-frame-pointer"