From 05e339aa6e1e08e2d669b542985fa05c8411a79d Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 16 May 2023 06:06:43 +0000 Subject: [PATCH] import compiler-rt-15.0.7-1.module+el8.8.0+17939+b58878af --- .compiler-rt.metadata | 2 + .gitignore | 2 + ...ck-protector-from-the-compiler-flags.patch | 24 ++ SOURCES/add-llvm-cmake-package.patch | 37 +++ SOURCES/compiler-rt-15.0.7.src.tar.xz.sig | Bin 0 -> 566 bytes SOURCES/fix-page-size-constant.patch | 15 + SPECS/compiler-rt.spec | 262 ++++++++++++++++++ 7 files changed, 342 insertions(+) create mode 100644 .compiler-rt.metadata create mode 100644 .gitignore create mode 100644 SOURCES/0001-Drop-fno-stack-protector-from-the-compiler-flags.patch create mode 100644 SOURCES/add-llvm-cmake-package.patch create mode 100644 SOURCES/compiler-rt-15.0.7.src.tar.xz.sig create mode 100644 SOURCES/fix-page-size-constant.patch create mode 100644 SPECS/compiler-rt.spec diff --git a/.compiler-rt.metadata b/.compiler-rt.metadata new file mode 100644 index 0000000..48eac88 --- /dev/null +++ b/.compiler-rt.metadata @@ -0,0 +1,2 @@ +40f2a886636168f6478e20933906bcece2fd6b97 SOURCES/compiler-rt-15.0.7.src.tar.xz +347bdd5ee6d6b93c9644c268511815912c0fb2dc SOURCES/release-keys.asc diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..115fc60 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +SOURCES/compiler-rt-15.0.7.src.tar.xz +SOURCES/release-keys.asc diff --git a/SOURCES/0001-Drop-fno-stack-protector-from-the-compiler-flags.patch b/SOURCES/0001-Drop-fno-stack-protector-from-the-compiler-flags.patch new file mode 100644 index 0000000..d7a57a5 --- /dev/null +++ b/SOURCES/0001-Drop-fno-stack-protector-from-the-compiler-flags.patch @@ -0,0 +1,24 @@ +From f007934385dc76b9299bd72cdef102fe979af93b Mon Sep 17 00:00:00 2001 +From: Tom Stellard +Date: Wed, 5 Sep 2018 21:07:42 -0700 +Subject: [PATCH] Drop -fno-stack-protector from the compiler flags + +--- + compiler-rt/CMakeLists.txt | 1 - + 1 file changed, 1 deletion(-) + +diff --git compiler-rt.orig/CMakeLists.txt compiler-rt/CMakeLists.txt +index f26ae25..a6ac032 100644 +--- compiler-rt.orig/CMakeLists.txt ++++ b/compiler-rt/CMakeLists.txt +@@ -271,7 +271,6 @@ if(NOT COMPILER_RT_DEBUG AND NOT APPLE) + append_list_if(COMPILER_RT_HAS_FOMIT_FRAME_POINTER_FLAG -fomit-frame-pointer SANITIZER_COMMON_CFLAGS) + endif() + append_list_if(COMPILER_RT_HAS_FUNWIND_TABLES_FLAG -funwind-tables SANITIZER_COMMON_CFLAGS) +-append_list_if(COMPILER_RT_HAS_FNO_STACK_PROTECTOR_FLAG -fno-stack-protector SANITIZER_COMMON_CFLAGS) + append_list_if(COMPILER_RT_HAS_FNO_SANITIZE_SAFE_STACK_FLAG -fno-sanitize=safe-stack SANITIZER_COMMON_CFLAGS) + append_list_if(COMPILER_RT_HAS_FVISIBILITY_HIDDEN_FLAG -fvisibility=hidden SANITIZER_COMMON_CFLAGS) + if(NOT COMPILER_RT_HAS_FVISIBILITY_HIDDEN_FLAG) +-- +1.8.3.1 + diff --git a/SOURCES/add-llvm-cmake-package.patch b/SOURCES/add-llvm-cmake-package.patch new file mode 100644 index 0000000..b7b63b6 --- /dev/null +++ b/SOURCES/add-llvm-cmake-package.patch @@ -0,0 +1,37 @@ +commit b18bde7a9bd6ed80f5721c47c805f0158b4fe9f8 +Author: Timm Bäder +Date: Wed Mar 9 07:17:21 2022 +0100 + + [compiler-rt] Add LLVM cmake package in standalone builds + + So the other files from the toplevel cmake/Modules directory have a + chance of being found. + +diff --git a/compiler-rt/CMakeLists.txt b/compiler-rt/CMakeLists.txt +index 3a41aa43e406..6516e10fa3c5 100644 +--- a/compiler-rt/CMakeLists.txt ++++ b/compiler-rt/CMakeLists.txt +@@ -28,6 +28,12 @@ else() + set(CMAKE_CFG_RESOLVED_INTDIR "") + endif() + ++if(COMPILER_RT_STANDALONE_BUILD) ++ # Needed to find the other modules from the toplevel cmake/Modules dir ++ find_package(LLVM REQUIRED HINTS "${LLVM_CMAKE_DIR}") ++ list(APPEND CMAKE_MODULE_PATH "${LLVM_DIR}") ++endif() ++ + include(SetPlatformToolchainTools) + include(base-config-ix) + include(CompilerRTUtils) +diff --git a/compiler-rt/test/CMakeLists.txt b/compiler-rt/test/CMakeLists.txt +index 5c2b634e1180..098fb0481517 100644 +--- a/compiler-rt/test/CMakeLists.txt ++++ b/compiler-rt/test/CMakeLists.txt +@@ -1,6 +1,3 @@ +-# Needed for lit support in standalone builds. +-include(AddLLVM) +- + option(COMPILER_RT_TEST_STANDALONE_BUILD_LIBS + "When set to ON and testing in a standalone build, test the runtime \ + libraries built by this standalone build rather than the runtime libraries \ diff --git a/SOURCES/compiler-rt-15.0.7.src.tar.xz.sig b/SOURCES/compiler-rt-15.0.7.src.tar.xz.sig new file mode 100644 index 0000000000000000000000000000000000000000..bb33dfff35ab9184cfceb01b5fd1ee3e6ed21bcd GIT binary patch literal 566 zcmV-60?GY}0y6{v0SEvc79j*jP9iaCzek0rjBbvi$CRmtL7j>P0%O0rKmZB}5TeJF zsfIzFiqr!S{yp4IUf`w!2f^(Wf8H%r=mCMa8>bF)ayixI@oaU0UhO*~jsvBY>>EWF z3q&5LG679@bQ>Wcnbg~6xqZ^{Sg!Y~slhA#<`a_ zTcQOGE|}AGS<|@b07g+4Dpy^@w#`A%d*`dzmH2x-Y%`Qu=KK~{^t8MqK&l_bb}!%0 z=IiZ04Gh3n%5YSCP*1_jJ%9b=31jP7kUW4@usUC2T= zba~*Z-S~6O-la>?Qe^;iTW4Z^ix$Y=X`WZLb*LOCFn}K-LuFW2u_TPJBpI`+T6>rY zwDz%rRE(@Q@W}?C9YvI<4l7kUjWz#M7x=#(sFC={O-7zY!(Oz3jH - 15.0.7-1 +- Update to LLVM 15.0.7 + +* Tue Sep 06 2022 Nikita Popov - 15.0.0-1 +- Update to LLVM 15.0.0 + +* Tue Jun 28 2022 Tom Stellard - 14.0.6-1 +- 14.0.6 Release + +* Wed May 25 2022 Timm Bäder - 14.0.0-3 +- Fix page size constant size on aarch64 and ppc64le + +* Fri Apr 29 2022 Timm Bäder - 14.0.0-2 +- Remove llvm-cmake-devel BR + +* Thu Apr 07 2022 Timm Bäder - 14.0.0-1 +- Update to 14.0.0 + +* Thu Feb 03 2022 Tom Stellard - 13.0.1-1 +- 13.0.1 Release + +* Fri Oct 15 2021 Tom Stellard - 13.0.0-1 +- 13.0.0 Release + +* Fri Jul 16 2021 sguelton@redhat.com - 12.0.1-1 +- 12.0.1 release + +* Tue May 25 2021 sguelton@redhat.com - 12.0.0-2 +- Backport several compatibility patches + +* Thu May 6 2021 sguelton@redhat.com - 12.0.0-1 +- 12.0.0 release + +* Thu Oct 29 2020 sguelton@redhat.com - 11.0.0-1 +- 11.0.0 final release + +* Mon Sep 21 2020 sguelton@redhat.com - 11.0.0-0.1.rc2 +- 11.0.0-rc2 Release + +* Fri Jul 24 2020 sguelton@redhat.com - 10.0.1-1 +- 10.0.1 release + +* Mon Jun 15 2020 sguelton@redhat.com - 10.0.0-2 +- Fix msan compilation warnings, see rhbz#1841165 + +* Wed Apr 8 2020 sguelton@redhat.com - 10.0.0-1 +- 10.0.0 final + +* Mon Jan 06 2020 Tom Stellard - 9.0.1-2 +- Update fno-stack-protector patch to apply with -p2 + +* Fri Dec 20 2019 Tom Stellard - 9.0.1-1 +- 9.0.1 Release + +* Fri Sep 27 2019 Tom Stellard - 9.0.0-1 +- 9.0.0 Release + +* Thu Aug 1 2019 sguelton@redhat.com - 8.0.1-1 +- 8.0.1 release + +* Thu Jul 4 2019 sguelton@redhat.com - 8.0.1-0.2.rc2 +- Fix rhbz#1678240 + +* Thu Jun 13 2019 sguelton@redhat.com - 8.0.1-0.1.rc2 +- 8.0.1rc2 Release + +* Wed Apr 17 2019 sguelton@redhat.com - 8.0.0-1 +- 8.0.0 Release + +* Fri Dec 14 2018 Tom Stellard - 7.0.1-1 +- 7.0.1 Release + +* Mon Dec 10 2018 Tom Stellard - 7.0.1-0.1.rc3 +- 7.0.1-rc3 Release + +* Tue Nov 27 2018 Tom Stellard - 7.0.0-1 +- 7.0.0 Release + +* Tue Oct 02 2018 Tom Stellard - 6.0.1-5 +- Use python3 for build scripts + +* Mon Oct 01 2018 Tom Stellard - 6.0.1-4 +- Drop scl macros + +* Thu Sep 06 2018 Tom Stellard - 6.0.1-3 +- Drop -fno-stack-protector flag + +* Thu Sep 06 2018 Tom Stellard - 6.0.1-2 +- Explicitly BuildRequire: /usr/bin/python3 + +* Wed Jul 11 2018 Tom Stellard - 6.0.1-1 +- 6.0.1 Release + +* Tue Jan 09 2018 Tom Stellard - 5.0.1-1 +- 5.0.1 Release + +* Wed Jun 07 2017 Tom Stellard - 4.0.1-1 +- 4.0.1 Release + +* Wed Jun 07 2017 Tom Stellard - 4.0.0-3 +- Build for llvm-toolset-7 rename + +* Thu May 18 2017 Tom Stellard - 4.0.0-2 +- Fix disabling debug on s390(x) + +* Tue Mar 14 2017 Tom Stellard - 4.0.0-1 +- compiler-rt 4.0.0 Final Release + +* Thu Mar 02 2017 Dave Airlie - 3.9.1-1 +- compiler-rt 3.9.1 + +* Fri Feb 10 2017 Fedora Release Engineering - 3.9.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Mon Nov 21 2016 Dan Horák - 3.9.0-3 +- disable debuginfo on s390(x) + +* Wed Nov 02 2016 Dave Airlie - 3.9.0-2 +- build for new arches. + +* Wed Oct 26 2016 Dave Airlie - 3.9.0-1 +- compiler-rt 3.9.0 final release + +* Mon May 2 2016 Tom Callaway 3.8.0-2 +- make symlinks to where the linker thinks these libs are + +* Thu Mar 10 2016 Dave Airlie 3.8.0-1 +- compiler-rt 3.8.0 final release + +* Thu Mar 03 2016 Dave Airlie 3.8.0-0.2 +- compiler-rt 3.8.0rc3 + +* Thu Feb 18 2016 Dave Airlie - 3.8.0-0.1 +- compiler-rt 3.8.0rc2 + +* Fri Feb 05 2016 Dave Airlie 3.7.1-3 +- fix compiler-rt paths - from rwindz0@gmail.com - #1304605 + +* Wed Feb 03 2016 Fedora Release Engineering - 3.7.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Oct 06 2015 Jan Vcelak 3.7.0-100 +- initial version using cmake build system