Disable -fanalyzer since it's broken and pragmas don't work

See-also: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104370
Signed-off-by: Robbie Harwood <rharwood@redhat.com>
This commit is contained in:
Robbie Harwood 2022-02-14 22:29:12 +00:00
parent 840c1cffff
commit 2638a1181b
2 changed files with 31 additions and 1 deletions

View File

@ -0,0 +1,26 @@
From 288b05dcd5a3b48836c4904e38b14e38a0cdfa07 Mon Sep 17 00:00:00 2001
From: Robbie Harwood <rharwood@redhat.com>
Date: Mon, 14 Feb 2022 17:26:19 -0500
Subject: [PATCH] Disable analyzer until it works
See-also: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104370
Signed-off-by: Robbie Harwood <rharwood@redhat.com>
---
Make.defaults | 1 -
1 file changed, 1 deletion(-)
diff --git a/Make.defaults b/Make.defaults
index 130c1ee..5e56a76 100644
--- a/Make.defaults
+++ b/Make.defaults
@@ -36,7 +36,6 @@ DIAGFLAGS ?= -fmessage-length=0 \
-fdiagnostics-color=always \
-fdiagnostics-format=text \
-fdiagnostics-show-cwe \
- -fanalyzer \
$(call enabled,ENABLE_LEAK_CHECKER,-Wno-analyzer-malloc-leak,)
AS ?= $(CROSS_COMPILE)as
AR ?= $(CROSS_COMPILE)$(if $(filter $(CC),clang),llvm-ar,$(notdir $(CC))-ar)
--
2.34.1

View File

@ -3,7 +3,7 @@
Name: pesign Name: pesign
Summary: Signing utility for UEFI binaries Summary: Signing utility for UEFI binaries
Version: 114 Version: 114
Release: 3%{?dist} Release: 4%{?dist}
License: GPL-2.0-only License: GPL-2.0-only
URL: https://github.com/rhboot/pesign URL: https://github.com/rhboot/pesign
@ -160,6 +160,10 @@ certutil -d %{_sysconfdir}/pki/pesign/ -X -L > /dev/null
%{python3_sitelib}/mockbuild/plugins/pesign.* %{python3_sitelib}/mockbuild/plugins/pesign.*
%changelog %changelog
* Mon Feb 14 2022 Robbie Harwood <rharwood@redhat.com> - 114-4
- Disable -fanalyzer since it's broken and pragmas don't work
- See-also: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104370
* Mon Feb 14 2022 Robbie Harwood <rharwood@redhat.com> - 114-3 * Mon Feb 14 2022 Robbie Harwood <rharwood@redhat.com> - 114-3
- Fix explicit NULL deref when daemonizing - Fix explicit NULL deref when daemonizing