avoid executable stack on i686 also
This commit is contained in:
parent
1862b14f48
commit
c6408fa04e
16
zstd.spec
16
zstd.spec
|
@ -4,18 +4,25 @@
|
||||||
%else
|
%else
|
||||||
%ifarch %{ix86} x86_64
|
%ifarch %{ix86} x86_64
|
||||||
%bcond_without pzstd
|
%bcond_without pzstd
|
||||||
%bcond_without asm
|
|
||||||
%else
|
%else
|
||||||
# aarch64 and armv7hl at least currently segfault
|
# aarch64 and armv7hl at least currently segfault
|
||||||
# in ThreadPool test for the pzstd util
|
# in ThreadPool test for the pzstd util
|
||||||
%bcond_with pzstd
|
%bcond_with pzstd
|
||||||
%bcond_with asm
|
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%ifarch x86_64
|
||||||
|
%bcond_without asm
|
||||||
|
%else
|
||||||
|
# Disable asm to ensure non excutable stack
|
||||||
|
# used on archs where asm not actually used
|
||||||
|
# https://github.com/facebook/zstd/issues/2963
|
||||||
|
%bcond_with asm
|
||||||
|
%endif
|
||||||
|
|
||||||
Name: zstd
|
Name: zstd
|
||||||
Version: 1.5.1
|
Version: 1.5.1
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: Zstd compression library
|
Summary: Zstd compression library
|
||||||
|
|
||||||
License: BSD and GPLv2
|
License: BSD and GPLv2
|
||||||
|
@ -126,6 +133,9 @@ install -D -m644 programs/%{name}.1 %{buildroot}%{_mandir}/man1/p%{name}.1
|
||||||
%ldconfig_scriptlets -n lib%{name}
|
%ldconfig_scriptlets -n lib%{name}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Dec 29 2021 Pádraig Brady <P@draigBrady.com> - 1.5.1-3
|
||||||
|
- Avoid executable stack on i686 also.
|
||||||
|
|
||||||
* Tue Dec 28 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.5.1-2
|
* Tue Dec 28 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.5.1-2
|
||||||
- Disable amd64 assembly on non-intel architectures (#2035802):
|
- Disable amd64 assembly on non-intel architectures (#2035802):
|
||||||
this should avoid the issue where an executable stack is created.
|
this should avoid the issue where an executable stack is created.
|
||||||
|
|
Loading…
Reference in New Issue