The package rpms/rust.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/rust.git/commit/?id=28c453df23e83....
Change:
-%ifarch %{ix86}
Thanks.
Full change:
============
commit 28c453df23e83fd25c6a40722d84609ad6af6318
Author: Josh Stone <jistone(a)redhat.com>
Date: Fri Apr 26 16:39:27 2019 -0700
Remove the ThinLTO workaround.
diff --git a/rust.spec b/rust.spec
index 6104185..b0e43ff 100644
--- a/rust.spec
+++ b/rust.spec
@@ -54,7 +54,7 @@
Name: rust
Version: 1.34.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: The Rust Programming Language
License: (ASL 2.0 or MIT) and (BSD and MIT)
# ^ written as: (rust itself) and (bundled libraries)
@@ -218,15 +218,6 @@ Requires: /usr/bin/cc
# Use hardening ldflags.
%global rustflags -Clink-arg=-Wl,-z,relro,-z,now
-%ifarch %{ix86}
-# i686 fails to link some static symbols with ThinLTO:
-#
https://bugzilla.redhat.com/show_bug.cgi?id=1701339
-#
https://github.com/rust-lang/rust/issues/60184
-# and since this affects rustbook built with *stage0*, we can't just patch it.
-# Workaround: using a single codegen unit bypasses ThinLTO.
-%global rustflags %{rustflags} -Ccodegen-units=1
-%endif
-
%if %{without bundled_llvm}
%if "%{llvm_root}" == "%{_prefix}" || 0%{?scl:1}
%global llvm_has_filecheck 1
@@ -684,6 +675,9 @@ rm -f %{buildroot}%{rustlibdir}/etc/lldb_*.py*
%changelog
+* Fri Apr 26 2019 Josh Stone <jistone(a)redhat.com> - 1.34.1-2
+- Remove the ThinLTO workaround.
+
* Thu Apr 25 2019 Josh Stone <jistone(a)redhat.com> - 1.34.1-1
- Update to 1.34.1.
- Add a ThinLTO fix for rhbz1701339.