From 2e67d998664e3841f0f01cdb7f8e1278d4cedf7d Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Jan 29 2024 08:41:21 +0000 Subject: Only use cet-report=error on x86_64 i386 CET support has been removed from glibc. Only check it for x86_64. --- diff --git a/llvm.spec b/llvm.spec index 61b0f88..8cc3a44 100644 --- a/llvm.spec +++ b/llvm.spec @@ -93,7 +93,7 @@ Name: %{pkg_name} Version: %{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}}%{?llvm_snapshot_version_suffix:~%{llvm_snapshot_version_suffix}} -Release: 4%{?dist} +Release: 5%{?dist} Summary: The Low Level Virtual Machine License: Apache-2.0 WITH LLVM-exception OR NCSA @@ -353,7 +353,9 @@ export ASMFLAGS="%{build_cflags}" %if %{with lto_build} -DLLVM_UNITTEST_LINK_FLAGS="-Wl,-plugin-opt=O0" \ %endif +%ifarch x86_64 -DCMAKE_SHARED_LINKER_FLAGS="$LDFLAGS -Wl,-z,cet-report=error" +%endif # Build libLLVM.so first. This ensures that when libLLVM.so is linking, there # are no other compile jobs running. This will help reduce OOM errors on the @@ -609,6 +611,9 @@ fi %endif %changelog +* Mon Jan 29 2024 Nikita Popov - 17.0.6-5 +- Only use cet-report=error on x86_64 + * Thu Jan 25 2024 Fedora Release Engineering - 17.0.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild