+- Disable LTO due to latent uninitialized variable exposed by LTO
This commit is contained in:
parent
b765e5369b
commit
d16cdea82a
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: tpm2-tools
|
Name: tpm2-tools
|
||||||
Version: 4.2.1
|
Version: 4.2.1
|
||||||
Release: 1%{?candidate:.%{candidate}}%{?dist}
|
Release: 2%{?candidate:.%{candidate}}%{?dist}
|
||||||
Summary: A bunch of TPM testing toolS build upon tpm2-tss
|
Summary: A bunch of TPM testing toolS build upon tpm2-tss
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -32,6 +32,11 @@ tpm2-tools is a batch of tools for tpm2.0. It is based on tpm2-tss.
|
|||||||
%autosetup -p1 -n %{name}-%{version}%{?candidate:-%{candidate}}
|
%autosetup -p1 -n %{name}-%{version}%{?candidate:-%{candidate}}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
# LTO exposes a latent uninitialized variable "value" in the function # "nt".
|
||||||
|
# This has been reported to the maintainer (Yunying), but they have not
|
||||||
|
# responded and I am not comfortable enough with the code to know if a trivial
|
||||||
|
# initialization to zero is appropriate/safe. So LTO is disabled for now.
|
||||||
|
%define _lto_cflags %{nil}
|
||||||
%configure --prefix=/usr --disable-static --disable-silent-rules
|
%configure --prefix=/usr --disable-static --disable-silent-rules
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
@ -49,6 +54,9 @@ tpm2-tools is a batch of tools for tpm2.0. It is based on tpm2-tss.
|
|||||||
%{_mandir}/man1/tss2_*.1.gz
|
%{_mandir}/man1/tss2_*.1.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jun 30 2020 Jeff Law <law@redhat.com> - 4.2.1-2
|
||||||
|
- Disable LTO due to latent uninitialized variable exposed by LTO
|
||||||
|
|
||||||
* Wed May 27 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 4.2.1-1
|
* Wed May 27 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 4.2.1-1
|
||||||
- Update to 4.2.1
|
- Update to 4.2.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user