From 9fda78d69c00679716ad41877bf84a1b2859febd Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Thu, 25 Nov 2021 15:17:24 +0100 Subject: [PATCH] Add --skip-lto to rpminspect annocheck Resolves: #2024167 rpminspect failures in valgrind --- rpminspect.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rpminspect.yaml b/rpminspect.yaml index cd30a8f..c04f812 100644 --- a/rpminspect.yaml +++ b/rpminspect.yaml @@ -5,6 +5,12 @@ inspections: xml: off annocheck: + # Currently lto is disabled globally for valgrind, it should be able + # to be enabled through upstream configure --enable-lto in the future. + # Note that all (default rhel-policy) flags need to be repeated here, if + # you override some config flags it will completely overwrite the + # defaults (--ignore-unknown --verbose). + - rhel-policy: --ignore-unknown --verbose --skip-lto # Ignore files built specially without hardening flags ignore: # Valgrind tools themselves (memcheck, cachegrind, massif, etc) are