The package rpms/sord.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/sord.git/commit/?id=015250a376423....
Change:
+%ifarch %{power64} %{arm} aarch64 s390 s390x
Thanks.
Full change:
============
commit 015250a3764235cc94a211cb826d8256c229d135
Author: Guido Aulisi <guido.aulisi(a)gmail.com>
Date: Fri May 29 08:37:10 2020 +0200
Rebuilt for possible GCC 10.1 bug on power64, arm and s390
diff --git a/sord.spec b/sord.spec
index f3cca10..17c9f9c 100644
--- a/sord.spec
+++ b/sord.spec
@@ -3,7 +3,7 @@
Name: sord
Version: 0.16.4
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: A lightweight Resource Description Framework (RDF) C library
License: ISC
@@ -44,6 +44,12 @@ sed -i -e "s|bld.add_post_fun(autowaf.run_ldconfig)||" \
%build
%set_build_flags
+# Work around a possible GCC 10.1 bug
+# GCC 10.1 crashes on these arches in for loop with ZixBTreeIter
+%ifarch %{power64} %{arm} aarch64 s390 s390x
+CFLAGS+=" -O1"
+CXXFLAGS+=" -O1"
+%endif
export LINKFLAGS="%{__global_ldflags}"
python3 waf configure \
--prefix=%{_prefix} \
@@ -78,6 +84,9 @@ install -pm 644 AUTHORS NEWS README.md COPYING
%{buildroot}%{_pkgdocdir}
%{_mandir}/man3/%{name}*.3*
%changelog
+* Fri May 29 2020 Guido Aulisi <guido.aulisi(a)gmail.com> - 0.16.4-5
+- Rebuilt for possible GCC 10.1 bug on power64, arm and s390
+
* Wed May 27 2020 Guido Aulisi <guido.aulisi(a)gmail.com> - 0.16.4-4
- Rebuilt with GCC 10.1