The package rpms/mozjs60.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/mozjs60.git/commit/?id=44b31ba543....
Change:
+%ifarch aarch64
Thanks.
Full change:
============
commit 44b31ba5436981a2f8b4a08b97f588d0ce38576f
Author: Frantiek Zatloukal <fzatlouk(a)redhat.com>
Date: Wed Feb 13 23:39:26 2019 +0100
Build aarch64 with -O0
diff --git a/mozjs60.spec b/mozjs60.spec
index 81e767d..03403c9 100644
--- a/mozjs60.spec
+++ b/mozjs60.spec
@@ -12,7 +12,7 @@
Name: mozjs%{major}
Version: 60.4.0
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: SpiderMonkey JavaScript library
License: MPLv2.0 and MPLv1.1 and BSD and GPLv2+ and GPLv3+ and LGPLv2+ and AFL and
ASL 2.0
@@ -96,6 +96,12 @@ rm -rf ../../modules/zlib
%build
# Disable null pointer gcc6 optimization in gcc6 (rhbz#1328045)
export CFLAGS="%{optflags} -fno-tree-vrp -fno-strict-aliasing
-fno-delete-null-pointer-checks"
+
+# Use O0 on aarch64 to fix FTBFS (rhbz#1676292)
+%ifarch aarch64
+export CFLAGS=$(echo "$CFLAGS" | sed 's/O2/O0/g')
+%endif
+
export CXXFLAGS="$CFLAGS"
export LINKFLAGS="%{?__global_ldflags}"
export PYTHON="%{__python2}"
@@ -171,6 +177,9 @@ ln -s libmozjs-%{major}.so.0
%{buildroot}%{_libdir}/libmozjs-%{major}.so
%{_includedir}/mozjs-%{major}/
%changelog
+* Thu Feb 14 2019 Frantisek Zatloukal <fzatlouk(a)redhat.com> - 60.4.0-3
+- Build aarch64 with -O0 because of rhbz#1676292
+
* Fri Feb 01 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 60.4.0-2
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild