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=5c....
Change:
+%ifarch %{ix86}
Thanks.
Full change:
============
commit 5cb0a220ae082840d46fdb0e80088c227a4c11b0
Author: Severin Gehwolf <sgehwolf(a)redhat.com>
Date: Fri May 10 13:22:22 2019 +0200
Add -fno-tree-ch for GCC 9.x build issues on i686
Resolves: rhbz#1683095
diff --git a/java-11-openjdk.spec b/java-11-openjdk.spec
index ae02da5..2cce9e8 100644
--- a/java-11-openjdk.spec
+++ b/java-11-openjdk.spec
@@ -953,7 +953,7 @@ Provides: java-src%{?1} = %{epoch}:%{version}-%{release}
Name: java-%{javaver}-%{origin}
Version: %{newjavaver}.%{buildver}
-Release: 3%{?dist}
+Release: 4%{?dist}
# java-1.5.0-ibm from
jpackage.org set Epoch to 1 for unknown reasons
# and this change was brought into RHEL-4. java-1.5.0-ibm packages
# also included the epoch in their virtual provides. This created a
@@ -1366,6 +1366,12 @@ EXTRA_CFLAGS="$EXTRA_CFLAGS -fno-strict-aliasing"
# Fixes annocheck warnings in assembler files due to missing build notes
EXTRA_CPP_FLAGS="$EXTRA_CPP_FLAGS -Wa,--generate-missing-build-notes=yes"
EXTRA_CFLAGS="$EXTRA_CFLAGS -Wa,--generate-missing-build-notes=yes"
+# Fix for GCC 9 on i686. See:
+#
https://bugzilla.redhat.com/show_bug.cgi?id=1683095
+%ifarch %{ix86}
+EXTRA_CPP_FLAGS="$EXTRA_CPP_FLAGS -fno-tree-ch"
+EXTRA_CFLAGS="$EXTRA_CFLAGS -fno-tree-ch"
+%endif
export EXTRA_CFLAGS
for suffix in %{build_loop} ; do
@@ -1828,6 +1834,11 @@ require "copy_jdk_configs.lua"
%changelog
+* Fri May 10 2019 Severin Gehwolf <sgehwolf(a)redhat.com> - 1:11.0.3.7-4
+- Add -fno-tree-ch in order to work around GCC 9 issue on
+ i686.
+- Resolves: RHBZ#1683095
+
* Thu Apr 25 2019 Severin Gehwolf <sgehwolf(a)redhat.com> - 1:11.0.3.7-3
- Don't produce javadoc/javadoc-zip sub packages for the
debug variant build.