Add zstd-1.4.9-Avoid-SIGBUS-on-armv6.patch
to fix crashes when running armv6 userspace on armv8 64-bit kernels OBS-URL: https://build.opensuse.org/package/show/Archiving/zstd?expand=0&rev=60
This commit is contained in:
parent
5e904cc946
commit
95a5bb4d78
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 11 18:28:45 UTC 2021 - Bernhard Wiedemann <bwiedemann@suse.com>
|
||||||
|
|
||||||
|
- Add zstd-1.4.9-Avoid-SIGBUS-on-armv6.patch
|
||||||
|
to fix crashes when running armv6 userspace on armv8 64-bit kernels
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Mar 4 01:36:14 UTC 2021 - Bernhard Wiedemann <bwiedemann@suse.com>
|
Thu Mar 4 01:36:14 UTC 2021 - Bernhard Wiedemann <bwiedemann@suse.com>
|
||||||
|
|
||||||
|
@ -28,6 +28,8 @@ URL: https://github.com/facebook/zstd
|
|||||||
Source0: https://github.com/facebook/zstd/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
Source0: https://github.com/facebook/zstd/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
Source99: baselibs.conf
|
Source99: baselibs.conf
|
||||||
Patch1: pzstd.1.patch
|
Patch1: pzstd.1.patch
|
||||||
|
# PATCH-FIX-UPSTREAM https://github.com/facebook/zstd/pull/2633
|
||||||
|
Patch2: zstd-1.4.9-Avoid-SIGBUS-on-armv6.patch
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
# C++ is needed for pzstd only
|
# C++ is needed for pzstd only
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
@ -82,8 +84,7 @@ targeting faster compression than zlib at comparable ratios.
|
|||||||
Needed for compiling programs that link with the library.
|
Needed for compiling programs that link with the library.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1
|
||||||
%patch1 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
|
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
|
||||||
|
Loading…
Reference in New Issue
Block a user