!161 [sync] PR-159: add sw_64 support

From: @openeuler-sync-bot 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
This commit is contained in:
openeuler-ci-bot 2025-03-17 04:26:43 +00:00 committed by Gitee
commit bcbad9da21
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 1288 additions and 2 deletions

1267
add-sw_64-support.patch Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
# -*- rpm-spec from http://elfutils.org/ -*- # -*- rpm-spec from http://elfutils.org/ -*-
Name: elfutils Name: elfutils
Version: 0.190 Version: 0.190
Release: 8 Release: 9
Summary: A collection of utilities and DSOs to handle ELF files and DWARF data Summary: A collection of utilities and DSOs to handle ELF files and DWARF data
URL: http://elfutils.org/ URL: http://elfutils.org/
License: GPLv3+ and (GPLv2+ or LGPLv3+) License: GPLv3+ and (GPLv2+ or LGPLv3+)
@ -11,6 +11,8 @@ Patch0: Fix-segfault-in-eu-ar-m.patch
Patch1: Fix-issue-of-moving-files-by-ar-or-br.patch Patch1: Fix-issue-of-moving-files-by-ar-or-br.patch
Patch2: CVE-2024-25260.patch Patch2: CVE-2024-25260.patch
Patch3: Backport-fix-handling-of-corefiles-with-non-contiguous-segments.patch Patch3: Backport-fix-handling-of-corefiles-with-non-contiguous-segments.patch
Patch4: add-sw_64-support.patch
Patch6000: backport-CVE-2025-1352.patch Patch6000: backport-CVE-2025-1352.patch
Patch6001: backport-CVE-2025-1365.patch Patch6001: backport-CVE-2025-1365.patch
Patch6002: backport-CVE-2025-1371.patch Patch6002: backport-CVE-2025-1371.patch
@ -175,7 +177,21 @@ The ELF/DWARF file searching functions in libdwfl can query
such servers to download those files on demand. such servers to download those files on demand.
%prep %prep
%autosetup -n %{name}-%{version} -p1 %setup -n %{name}-%{version}
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%ifarch sw_64
%patch4 -p1
%endif
%patch6000 -p1
%patch6001 -p1
%patch6002 -p1
%patch6003 -p1
%patch6004 -p1
%patch6005 -p1
%build %build
%if "%toolchain" == "clang" %if "%toolchain" == "clang"
@ -330,6 +346,9 @@ exit 0
%systemd_postun_with_restart debuginfod.service %systemd_postun_with_restart debuginfod.service
%changelog %changelog
* Wed Mar 12 2025 mahailiang <mahailiang@uniontech.com> - 0.190-9
- add sw_64 support
* Sun Feb 16 2025 shixuantong <shixuantong1@huawei.com> - 0.190-8 * Sun Feb 16 2025 shixuantong <shixuantong1@huawei.com> - 0.190-8
- fix CVE-2025-1352 CVE-2025-1365 CVE-2025-1371 CVE-2025-1372 CVE-2025-1376 CVE-2025-1377 - fix CVE-2025-1352 CVE-2025-1365 CVE-2025-1371 CVE-2025-1372 CVE-2025-1376 CVE-2025-1377