Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package glibc for openSUSE:Factory checked 
in at 2023-03-25 18:53:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/glibc (Old)
 and      /work/SRC/openSUSE:Factory/.glibc.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "glibc"

Sat Mar 25 18:53:53 2023 rev:273 rq:1073568 version:2.37

Changes:
--------
--- /work/SRC/openSUSE:Factory/glibc/glibc.changes      2023-02-09 
16:21:24.578157411 +0100
+++ /work/SRC/openSUSE:Factory/.glibc.new.31432/glibc.changes   2023-03-25 
18:53:55.878216972 +0100
@@ -1,0 +2,5 @@
+Thu Mar 16 15:41:56 UTC 2023 - Andreas Schwab <sch...@suse.de>
+
+- Exclude static archives from preparation for live patching (bnc#1208721)
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ glibc.spec ++++++
--- /var/tmp/diff_new_pack.rIypRw/_old  2023-03-25 18:53:58.202229120 +0100
+++ /var/tmp/diff_new_pack.rIypRw/_new  2023-03-25 18:53:58.206229141 +0100
@@ -51,9 +51,9 @@
 
 # Enable support for livepatching.
 %ifarch x86_64
-%bcond_without livepatching 1
+%bcond_without livepatching
 %else
-%bcond_with livepatching 0
+%bcond_with livepatching
 %endif
 
 %bcond_with build_all
@@ -621,15 +621,6 @@
 %endif
 %endif
 
-# Add build flags that cannot be passed to configure.
-ExtraBuildFlags=
-%if %{build_main} && %{with livepatching}
-# Append necessary flags for livepatch support, if enabled. Do it on make, else
-# on configure GCC will report that it can't write the ipa-clones to /dev/ and
-# configure will fail to detect that gcc support several flags.
-ExtraBuildFlags+="-fpatchable-function-entry=16,14 -fdump-ipa-clones"
-%endif
-
 #
 # Build base glibc
 #
@@ -691,7 +682,14 @@
     exit $rc;
   }
 
-make %{?_smp_mflags} %{?make_output_sync} CFLAGS="$BuildFlags $ExtraBuildFlags"
+%if %{build_main} && %{with livepatching}
+# Append necessary flags for livepatch support, if enabled.  Only objects
+# included in shared libraries should be prepared for live patching.
+echo 'CFLAGS-.os += -fpatchable-function-entry=16,14 -fdump-ipa-clones' \
+     >> Makeconfig
+%endif
+
+make %{?_smp_mflags} %{?make_output_sync}
 cd ..
 
 #

Reply via email to