public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libcamera] rawhide: Don't disable LTO
@ 2026-06-04 13:15 Milan Zamazal
0 siblings, 0 replies; only message in thread
From: Milan Zamazal @ 2026-06-04 13:15 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-04 13:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-04 13:15 [rpms/libcamera] rawhide: Don't disable LTO Milan Zamazal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox