diff --git a/rdma-core.spec b/rdma-core.spec index 320fb0c..c49857a 100644 --- a/rdma-core.spec +++ b/rdma-core.spec @@ -1,6 +1,6 @@ Name: rdma-core Version: 30.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: RDMA core userspace libraries and daemons # Almost everything is licensed under the OFA dual GPLv2, 2 Clause BSD license @@ -266,6 +266,13 @@ easy, object-oriented access to IB verbs. %autosetup -v -p1 %build +# This package uses top level ASM constructs which are incompatible with LTO. +# Top level ASMs are often used to implement symbol versioning. gcc-10 +# introduces a new mechanism for symbol versioning which works with LTO. +# Converting packages to use that mechanism instead of toplevel ASMs is +# recommended. +# Disable LTO +%define _lto_cflags %{nil} # New RPM defines _rundir, usually as /run %if 0%{?_rundir:1} @@ -653,6 +660,9 @@ rm -f %{buildroot}/%{_sbindir}/srp_daemon.sh %endif %changelog +* Wed Jul 1 2020 Jeff Law - 30.0-3 +- Disable LTO + * Thu Jun 25 2020 Zbigniew Jędrzejewski-Szmek - 30.0-2 - Drop dependencies on systemd (#1837812)