The package rpms/java-11-openjdk.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s): https://src.fedoraproject.org/cgit/rpms/java-11-openjdk.git/commit/?id=542fe... https://src.fedoraproject.org/cgit/rpms/java-11-openjdk.git/commit/?id=a9ba2....
Change: +%ifarch s390x +%ifnarch s390x
Thanks.
Full change: ============
commit 5dc89b39d73c24492ee31c7e39d5795709656833 Author: Severin Gehwolf sgehwolf@redhat.com Date: Thu Feb 27 06:51:49 2020 +0100
Add changelog entry mentioning GCC 10 s390x workaround
diff --git a/java-11-openjdk.spec b/java-11-openjdk.spec index 3294c6e..376340a 100644 --- a/java-11-openjdk.spec +++ b/java-11-openjdk.spec @@ -1845,6 +1845,9 @@ require "copy_jdk_configs.lua"
%changelog +* Thu Feb 27 2020 Severin Gehwolf sgehwolf@redhat.com - 1:11.0.6.10-0 +- Add workaround for building with GCC 10 on s390x. See RHBZ#1799087 + * Wed Jan 29 2020 Severin Gehwolf sgehwolf@redhat.com - 1:11.0.6.10-0 - Account for building with GCC 10: JDK-8224851, -fcommon switch.
commit a9ba2e1465c76efe72974b00c489ffb1c3d329b4 Author: Severin Gehwolf sgehwolf@redhat.com Date: Fri Feb 14 20:36:16 2020 +0100
Disable gdb check temporarily on s390x
diff --git a/java-11-openjdk.spec b/java-11-openjdk.spec index 82ecc54..3294c6e 100644 --- a/java-11-openjdk.spec +++ b/java-11-openjdk.spec @@ -1550,7 +1550,11 @@ quit end run -version EOF +# This fails on s390x for some reason. Disable for now. See: +# https://koji.fedoraproject.org/koji/taskinfo?taskID=41499227 +%ifnarch s390x grep 'JavaCallWrapper::JavaCallWrapper' gdb.out +%endif
# Check src.zip has all sources. See RHBZ#1130490 jar -tf $JAVA_HOME/lib/src.zip | grep 'sun.misc.Unsafe'
commit 542fe92d09b15a8bebc22b612708073b40277365 Author: Severin Gehwolf sgehwolf@redhat.com Date: Fri Feb 14 16:43:27 2020 +0100
Workaround GCC 10-based build failure on s390x
diff --git a/java-11-openjdk.spec b/java-11-openjdk.spec index 80b4cf7..82ecc54 100644 --- a/java-11-openjdk.spec +++ b/java-11-openjdk.spec @@ -1362,11 +1362,16 @@ export ARCH_DATA_MODEL=64 export CFLAGS="$CFLAGS -mieee" %endif
+GCC_10_WORKAROUND_S390x="-fno-tree-coalesce-vars -fno-tree-copy-prop -fno-tree-dce -fno-tree-dominator-opts -fno-tree-dse -fno-tree-forwprop -fno-tree-fre -fno-tree-loop-distribute-patterns -fno-tree-loop-distribution -fno-tree-loop-vectorize -fno-tree-partial-pre -fno-tree-phiprop -fno-tree-pre -fno-tree-pta -fno-tree-scev-cprop -fno-tree-sink -fno-tree-slp-vectorize -fno-tree-slsr -fno-tree-sra -fno-tree-switch-conversion -fno-tree-tail-merge -fno-tree-ter -fno-tree-vrp -fno-unit-at-a-time -fno-unswitch-loops -fno-vect-cost-model -fno-version-loops-for-strides" # We use ourcppflags because the OpenJDK build seems to # pass EXTRA_CFLAGS to the HotSpot C++ compiler... # Explicitly set the C++ standard as the default has changed on GCC >= 6 EXTRA_CFLAGS="%ourcppflags -std=gnu++98 -Wno-error -fno-delete-null-pointer-checks -fno-lifetime-dse -fcommon" EXTRA_CPP_FLAGS="%ourcppflags -std=gnu++98 -fno-delete-null-pointer-checks -fno-lifetime-dse -fcommon" +%ifarch s390x +EXTRA_CFLAGS="$EXTRA_CFLAGS $GCC_10_WORKAROUND_S390x" +EXTRA_CPP_FLAGS="$EXTRA_CPP_FLAGS $GCC_10_WORKAROUND_S390x" +%endif
%ifarch %{power64} ppc # fix rpmlint warnings
arch-excludes@lists.fedoraproject.org