Disable LTO
https://src.fedoraproject.org/rpms/redhat-rpm-config/c/5baaf4a99cc77572d3496a7000674098bef7ed68?branch=master

ср, 29 июл. 2020 г., 17:08 <sergio@serjux.com>:
Hello opencv [1] build also failed around LTO
What is your advise ? What is your advice?

Thanks,

[1]
https://koji.fedoraproject.org/koji/taskinfo?taskID=48054416


On 2020-07-27 23:46, notifications@fedoraproject.org wrote:
> Notification time stamped 2020-07-27 22:46:34 UTC
>
> From f4bac7efd3c251ffb64107bc2f522c1d3c829b5c Mon Sep 17 00:00:00 2001
> From: Jeff Law <law@redhat.com>
> Date: Jul 27 2020 22:46:22 +0000
> Subject: Disable LTO for now
>
>
> ---
>
> diff --git a/apt.spec b/apt.spec
> index a555b62..282ddc8 100644
> --- a/apt.spec
> +++ b/apt.spec
> @@ -14,7 +14,7 @@
>
>  Name:           apt
>  Version:        2.1.7
> -Release:        2%{?dist}
> +Release:        3%{?dist}
>  Summary:        Command-line package manager for Debian packages
>
>  License:        GPLv2+
> @@ -166,6 +166,10 @@ to package management with APT.
>  %autosetup -p1
>
>  %build
> +# This package fails its testsuite when LTO is enabled.  It is not yet
> clear if
> +# this is an LTO issue or an issue with the package itself
> +%define _lto_cflags %{nil}
> +
>  %cmake -GNinja
>  %cmake_build
>
> @@ -308,6 +312,9 @@ exit 0
>  %doc %{_docdir}/%{name}-utils
>
>  %changelog
> +* Mon Jul 27 2020 Jeff law <law@redhat.com.com> - 2.1.7-3
> +- Disable LTO for now
> +
>  * Mon Jul 27 2020 Fedora Release Engineering
> <releng@fedoraproject.org> - 2.1.7-2
>  - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
>
>
>
>       https://src.fedoraproject.org/rpms/apt/c/f4bac7efd3c251ffb64107bc2f522c1d3c829b5c?branch=master
>
> --
> You received this message due to your preference settings at
> https://apps.fedoraproject.org/notifications/sergiomb.id.fedoraproject.org/email/49394
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org