Disable execstack on s390x
Resolves: rhbz#2061041
This commit is contained in:
parent
381b080c4f
commit
856fcbfe5d
@ -10,7 +10,7 @@
|
||||
|
||||
Name: compiler-rt
|
||||
Version: %{compiler_rt_version}%{?rc_ver:~rc%{rc_ver}}
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: LLVM "compiler-rt" runtime libraries
|
||||
|
||||
License: NCSA or MIT
|
||||
@ -20,6 +20,7 @@ Source1: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{compil
|
||||
Source2: tstellar-gpg-key.asc
|
||||
|
||||
Patch0: add-llvm-cmake-package.patch
|
||||
Patch1: fix-s390x-execstack.patch
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gcc-c++
|
||||
@ -110,6 +111,9 @@ popd
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Thu May 12 2022 Timm Bäder <tbaeder@redhat.com> - 14.0.0-2
|
||||
- Disable execstack on s390x
|
||||
|
||||
* Mon Apr 25 2022 Timm Bäder <tbaeder@redhat.com> - 14.0.0-1
|
||||
- 14.0.0 Release
|
||||
|
||||
|
9
fix-s390x-execstack.patch
Normal file
9
fix-s390x-execstack.patch
Normal file
@ -0,0 +1,9 @@
|
||||
diff -ruN compiler-rt-14.0.0.src.orig/lib/tsan/rtl/tsan_rtl_s390x.S compiler-rt-14.0.0.src/lib/tsan/rtl/tsan_rtl_s390x.S
|
||||
--- a/compiler-rt-14.0.0.src.orig/lib/tsan/rtl/tsan_rtl_s390x.S 2022-03-14 10:44:55.000000000 +0100
|
||||
+++ b/compiler-rt-14.0.0.src/lib/tsan/rtl/tsan_rtl_s390x.S 2022-05-12 10:26:37.997964313 +0200
|
||||
@@ -45,3 +45,5 @@
|
||||
intercept _setjmp, _ZN14__interception12real__setjmpE
|
||||
intercept sigsetjmp, _ZN14__interception14real_sigsetjmpE
|
||||
intercept __sigsetjmp, _ZN14__interception16real___sigsetjmpE
|
||||
+
|
||||
+NO_EXEC_STACK_DIRECTIVE
|
Loading…
Reference in New Issue
Block a user