From 6cfa796ff89521dc1bef8e7fddff7ff5a3557a2921a9615a049db3ca21b18829 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Thu, 2 Jan 2025 17:40:47 +0100 Subject: [PATCH] Sync from SUSE:SLFO:Main libpulp revision d4114c5a54f4550348ac7c7803f6ba72 --- libpulp-0.3.7.tar.gz | 3 --- libpulp-0.3.8.tar.gz | 3 +++ libpulp.changes | 8 ++++++++ libpulp.spec | 20 +++++++++++++++++++- 4 files changed, 30 insertions(+), 4 deletions(-) delete mode 100644 libpulp-0.3.7.tar.gz create mode 100644 libpulp-0.3.8.tar.gz diff --git a/libpulp-0.3.7.tar.gz b/libpulp-0.3.7.tar.gz deleted file mode 100644 index 8b9ee10..0000000 --- a/libpulp-0.3.7.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:aead1d4cd04fdde95108640262106e05c79f324df7aa9bc0982ec67dc538d1a2 -size 639555 diff --git a/libpulp-0.3.8.tar.gz b/libpulp-0.3.8.tar.gz new file mode 100644 index 0000000..14901f2 --- /dev/null +++ b/libpulp-0.3.8.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:59381b1c8a0559a4e86c849ebd239cd4c6a13382531692aab89c0bf0e683aad5 +size 639292 diff --git a/libpulp.changes b/libpulp.changes index 095bd0c..33d883b 100644 --- a/libpulp.changes +++ b/libpulp.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Dec 19 23:10:29 UTC 2024 - Giuliano Belinassi + +- Update package with libpulp-0.3.8: + - Fix livepatching failure in glibc 2.40. +- Force compilation with gcc-13 for SP7 and Tumbleweed (jsc#PED-10952). +- Add ppc64le as supported architecture (jsc#PED-10952). + ------------------------------------------------------------------- Thu Dec 12 19:41:51 UTC 2024 - Giuliano Belinassi diff --git a/libpulp.spec b/libpulp.spec index a3e289e..f117f5f 100644 --- a/libpulp.spec +++ b/libpulp.spec @@ -17,7 +17,7 @@ Name: libpulp -Version: 0.3.7 +Version: 0.3.8 Release: 0 Summary: Userspace live patching library and tools License: LGPL-2.1-or-later @@ -36,6 +36,7 @@ BuildRequires: gcc-c++ # Required to build the tools, which are needed to run the tests. BuildRequires: libjson-c-devel BuildRequires: libelf-devel +BuildRequires: procps BuildRequires: python3-pexpect BuildRequires: python3-psutil BuildRequires: libseccomp-devel @@ -46,7 +47,16 @@ BuildRequires: aaa_base-yama-enable-ptrace %endif # Only available for these architectures. +%if 0%{?sle_version} >= 150700 || 0%{suse_version} >= 1570 +# For ppc64le onwards we need gcc-13 for a fix to -fpatchable-function-entry +# which is not currently upstream and not in gcc-14. +BuildRequires: gcc13 +BuildRequires: gcc13-c++ +ExclusiveArch: x86_64 ppc64le +%else +# Block to x86_64 for older versions of SLE. ExclusiveArch: x86_64 +%endif %description Library and tools for user space live patching. @@ -75,6 +85,14 @@ This package contains the tools to apply user-space live patches. %autosetup -p1 %build + +# For ppc64le onwards we need gcc-13 for a fix to -fpatchable-function-entry +# which is not currently upstream and not in gcc-14. +%if 0%{?sle_version} >= 150700 || 0%{suse_version} >= 1570 +export CC=gcc-13 +export CXX=g++-13 +%endif + %configure %make_build