public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Milan Zamazal <mzamazal@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/libcamera] rawhide: Don't disable LTO
Date: Thu, 04 Jun 2026 13:15:37 GMT	[thread overview]
Message-ID: <178057893764.1.297012372805135293.rpms-libcamera-7d1b346bd627@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/libcamera
            Branch : rawhide
            Commit : 7d1b346bd6271236e45e5eeab514c3627bb39fe3
            Author : Milan Zamazal <mzamazal@redhat.com>
            Date   : 2026-06-04T14:36:20+02:00
            Stats  : +4/-3 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/libcamera/c/7d1b346bd6271236e45e5eeab514c3627bb39fe3?branch=rawhide

            Log:
            Don't disable LTO

LTO has been disabled due to cam/qcam crashes long time ago.  There is no exact
reproducer documented and the utilities seem to work now.  Additionally, the
disabled LTO causes CI reports in rawhide.

Let's permit LTO again now, in the early stage of f45 development.  If any
issues occur, it's easy to revert the change and we can document (or perhaps
fix) the particular problem properly.

---
diff --git a/libcamera.spec b/libcamera.spec
index 2985875..1463e83 100644
--- a/libcamera.spec
+++ b/libcamera.spec
@@ -1,6 +1,6 @@
 Name:    libcamera
 Version: 0.7.1
-Release: 3%{?dist}
+Release: 4%{?dist}
 Summary: A library to support complex camera ISPs
 # see .reuse/dep5 and COPYING for details
 License: LGPL-2.1-or-later
@@ -116,8 +116,6 @@ Python bindings for %{name}
 %autosetup -p1 -n %{name}-v%{version}
 
 %build
-# cam/qcam crash with LTO
-%global _lto_cflags %{nil}
 export CFLAGS="%{optflags} -Wno-deprecated-declarations"
 # Set also max-devirt-targets=1 to prevent compilation errors,
 # maybe due to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120345.
@@ -199,6 +197,9 @@ install -D -m 644 %SOURCE3 %{buildroot}/%{_udevrulesdir}/
 %{python3_sitearch}/*
 
 %changelog
+* Thu Jun 04 2026 Milan Zamazal <mzamazal@redhat.com> - 0.7.1-4
+- Don't disable LTO
+
 * Wed Jun 03 2026 Python Maint <python-maint@redhat.com> - 0.7.1-3
 - Rebuilt for Python 3.15
 

                 reply	other threads:[~2026-06-04 13:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178057893764.1.297012372805135293.rpms-libcamera-7d1b346bd627@fedoraproject.org \
    --to=mzamazal@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox