public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/php] private-php86: Disable LTO
@ 2026-11-27  7:30 Jeff Law
  0 siblings, 0 replies; only message in thread
From: Jeff Law @ 2026-11-27  7:30 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/php
Branch : private-php86
Commit : 043967f88982870fba86dac81cd584159d7e8d1c
Author : Jeff Law <law@redhat.com>
Date   : 2020-07-01T15:26:53-06:00
Stats  : +10/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/php/c/043967f88982870fba86dac81cd584159d7e8d1c?branch=private-php86

Log:
Disable LTO

---
diff --git a/php.spec b/php.spec
index a48f98b..628995e 100644
--- a/php.spec
+++ b/php.spec
@@ -61,7 +61,7 @@
 Summary: PHP scripting language for creating dynamic web sites
 Name: php
 Version: %{upver}%{?rcver:~%{rcver}}
-Release: 1%{?dist}
+Release: 2%{?dist}
 # All files licensed under PHP version 3.01, except
 # Zend is licensed under Zend
 # TSRM is licensed under BSD
@@ -818,6 +818,12 @@ cp %{SOURCE50} %{SOURCE51} %{SOURCE53} .
 
 
 %build
+# This package fails to build with LTO due to undefined symbols.  LTO
+# was disabled in OpenSuSE as well, but with no real explanation why
+# beyond the undefined symbols.  It really shold be investigated further.
+# Disable LTO
+%define _lto_cflags %{nil}
+
 # Set build date from https://reproducible-builds.org/specs/source-date-epoch/
 export SOURCE_DATE_EPOCH=$(date +%s -r NEWS)
 export PHP_UNAME=$(uname)
@@ -1524,6 +1530,9 @@ systemctl try-restart php-fpm.service >/dev/null 2>&1 || :
 
 
 %changelog
+* Wed Jul 01 2020 Jeff Law <law@redhat.com> - 7.4.8~RC1-2
+- Disable LTO
+
 * Tue Jun 23 2020 Remi Collet <remi@remirepo.net> - 7.4.8~RC1-1
 - update to 7.4.8RC1
 - drop patch to fix PHP_UNAME

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-27  7:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-27  7:30 [rpms/php] private-php86: Disable LTO Jeff Law

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox