From 887416fb5f2dec7f774cd72ec5c756a0097d31b3 Mon Sep 17 00:00:00 2001 From: Michal Kubecek Date: Jan 06 2023 14:33:16 +0000 Subject: rpm/check-for-config-changes: add OBJTOOL and FTRACE_MCOUNT_USE_* Dummy gcc pretends to support -mrecord-mcount option but actual gcc on ppc64le does not. Therefore ppc64le builds of 6.2-rc1 and later in OBS enable FTRACE_MCOUNT_USE_OBJTOOL and OBJTOOL config options, resulting in check failure. As we already have FTRACE_MCOUNT_USE_CC and FTRACE_MCOUNT_USE_RECORDMCOUNT in the exception list, replace them with a general pattern. And add OBJTOOL as well. --- diff --git a/rpm/check-for-config-changes b/rpm/check-for-config-changes index d7b8bd6..c0754d3 100755 --- a/rpm/check-for-config-changes +++ b/rpm/check-for-config-changes @@ -11,8 +11,7 @@ declare -a IGNORED_CONFIGS_RE=( 'CC_HAS_[A-Z_]*' 'CC_HAVE_[A-Z_]*' 'CC_VERSION_TEXT' - 'FTRACE_MCOUNT_USE_CC' - 'FTRACE_MCOUNT_USE_RECORDMCOUNT' + 'FTRACE_MCOUNT_USE_[A-Z_]*' 'GCC_VERSION' 'G*CC[0-9]*_NO_[A-Z_]*' 'HAVE_[A-Z]*_COMPILER' @@ -20,6 +19,7 @@ declare -a IGNORED_CONFIGS_RE=( 'PAHOLE_VERSION' 'TOOLCHAIN_HAS_[A-Z_]*' 'TOOLS_SUPPORT_[A-Z_]*' + 'OBJTOOL' ) declare -a SED_ARGS=()