Sync from SUSE:SLFO:Main libpulp revision d4114c5a54f4550348ac7c7803f6ba72

This commit is contained in:
Adrian Schröter 2025-01-02 17:40:47 +01:00
parent 1717c63cd0
commit 6cfa796ff8
4 changed files with 30 additions and 4 deletions

BIN
libpulp-0.3.7.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
libpulp-0.3.8.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Dec 19 23:10:29 UTC 2024 - Giuliano Belinassi <giuliano.belinassi@suse.com>
- 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 <giuliano.belinassi@suse.com> Thu Dec 12 19:41:51 UTC 2024 - Giuliano Belinassi <giuliano.belinassi@suse.com>

View File

@ -17,7 +17,7 @@
Name: libpulp Name: libpulp
Version: 0.3.7 Version: 0.3.8
Release: 0 Release: 0
Summary: Userspace live patching library and tools Summary: Userspace live patching library and tools
License: LGPL-2.1-or-later 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. # Required to build the tools, which are needed to run the tests.
BuildRequires: libjson-c-devel BuildRequires: libjson-c-devel
BuildRequires: libelf-devel BuildRequires: libelf-devel
BuildRequires: procps
BuildRequires: python3-pexpect BuildRequires: python3-pexpect
BuildRequires: python3-psutil BuildRequires: python3-psutil
BuildRequires: libseccomp-devel BuildRequires: libseccomp-devel
@ -46,7 +47,16 @@ BuildRequires: aaa_base-yama-enable-ptrace
%endif %endif
# Only available for these architectures. # 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 ExclusiveArch: x86_64
%endif
%description %description
Library and tools for user space live patching. 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 %autosetup -p1
%build %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 %configure
%make_build %make_build