Centos-kernel-stream-9/scripts
Augusto Caringi 85718e63aa Merge: objtool: enable CONFIG_OBJTOOL_WERROR
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9/-/merge_requests/6677

JIRA: https://issues.redhat.com/browse/RHEL-85302

This patchset backports CONFIG_OBJTOOL_WERROR and supporting commits to rhel-9.

To minimize disruption, the promotion of objtool warnings to build errors will only occur for kernel and in-tree kernel builds.  This means it will not be activated for (third party) out-of-tree kernel module builds.

Signed-off-by: Joe Lawrence <joe.lawrence@redhat.com>

Approved-by: Rafael Aquini <raquini@redhat.com>
Approved-by: Waiman Long <longman@redhat.com>
Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com>

Merged-by: Augusto Caringi <acaringi@redhat.com>
2025-05-06 11:46:13 -03:00
..
atomic arch: Remove cmpxchg_double 2025-04-20 18:40:07 -04:00
basic
clang-tools scripts: handle BrokenPipeError for python scripts 2024-03-20 09:42:44 -04:00
coccinelle
dtc treewide: Replace zero-length arrays with flexible-array members 2023-10-20 06:12:35 -04:00
dummy-tools
gcc-plugins gcc-plugins/stackleak: Avoid .head.text section 2024-07-23 13:47:51 -04:00
gdb scripts/gdb: redefine MAX_ORDER sanely 2025-04-18 08:39:49 -04:00
genksyms genksyms: adjust the output format to modpost 2024-06-17 14:17:17 -04:00
kconfig
ksymoops
mod x86/bugs: Rename CONFIG_RETPOLINE => CONFIG_MITIGATION_RETPOLINE 2024-07-26 14:33:35 -04:00
package buildtar: fix tarballs with EFI_ZBOOT enabled 2024-09-12 20:17:28 -04:00
selinux
tracing tracing: Always use canonical ftrace path 2023-09-18 12:02:13 +02:00
.gitignore scripts: add `generate_rust_target.rs` 2024-03-20 09:42:43 -04:00
Kbuild.include kbuild: do not create *.prelink.o for Clang LTO or IBT 2024-07-26 14:33:35 -04:00
Kconfig.include
Lindent
Makefile ftrace: Have architectures opt-in for mcount build time sorting 2024-06-17 14:17:12 -04:00
Makefile.asm-generic kbuild: add kbuild-file macro 2024-04-22 15:46:37 -04:00
Makefile.btf kbuild,bpf: Add module-specific pahole flags for distilled base BTF 2024-11-26 15:55:10 +01:00
Makefile.build kbuild: do not create *.prelink.o for Clang LTO or IBT 2024-07-26 14:33:35 -04:00
Makefile.clean kbuild: add kbuild-file macro 2024-04-22 15:46:37 -04:00
Makefile.compiler kbuild: add test-{ge,gt,le,lt} macros 2024-03-20 09:42:51 -04:00
Makefile.dtbinst kbuild: add kbuild-file macro 2024-04-22 15:46:37 -04:00
Makefile.extrawarn Makefile.compiler: replace cc-ifversion with compiler-specific macros 2024-03-20 09:42:51 -04:00
Makefile.gcc-plugins randstruct: Split randstruct Makefile and CFLAGS 2024-03-20 09:42:35 -04:00
Makefile.headersinst
Makefile.host
Makefile.kasan kasan: remove hwasan-kernel-mem-intrinsic-prefix=1 for clang-14 2024-04-30 17:51:32 -06:00
Makefile.kcov
Makefile.kcsan kcsan: Ignore GCC 11+ warnings about TSan runtime support 2023-09-22 13:20:59 -04:00
Makefile.kmsan kmsan: add KMSAN runtime core 2023-10-20 06:14:34 -04:00
Makefile.lib redhat: make ENABLE_WERROR enable also OBJTOOL_WERROR 2025-04-16 15:10:29 -04:00
Makefile.modfinal kbuild,bpf: Add module-specific pahole flags for distilled base BTF 2024-11-26 15:55:10 +01:00
Makefile.modinst
Makefile.modpost kbuild: do not create *.prelink.o for Clang LTO or IBT 2024-07-26 14:33:35 -04:00
Makefile.package
Makefile.randstruct randstruct: Split randstruct Makefile and CFLAGS 2024-03-20 09:42:35 -04:00
Makefile.ubsan
Makefile.userprogs
Makefile.vmlinux kbuild: link symbol CRCs at final link, removing CONFIG_MODULE_REL_CRCS 2024-06-17 14:17:17 -04:00
Makefile.vmlinux_o x86/bugs: Rename CONFIG_CPU_SRSO => CONFIG_MITIGATION_SRSO 2024-07-26 14:33:36 -04:00
adjust_autoksyms.sh
as-version.sh
asn1_compiler.c
bin2c.c
bloat-o-meter
bootgraph.pl
bpf_doc.py scripts/bpf_doc: Use silent mode when exec make cmd 2024-10-15 10:49:16 +02:00
cc-can-link.sh
cc-version.sh scripts: Remove ICC-related dead code 2024-03-20 09:42:45 -04:00
check-sysctl-docs
check_extable.sh
checkdeclares.pl
checkincludes.pl
checkkconfigsymbols.py scripts: handle BrokenPipeError for python scripts 2024-03-20 09:42:44 -04:00
checkpatch.pl checkpatch: add ethtool_sprintf rules 2024-04-05 11:27:37 +02:00
checkstack.pl
checksyscalls.sh
checkversion.pl
cleanfile
cleanpatch
coccicheck
config
const_structs.checkpatch
decode_stacktrace.sh
decodecode
depmod.sh
dev-needs.sh
diffconfig scripts: handle BrokenPipeError for python scripts 2024-03-20 09:42:44 -04:00
documentation-file-ref-check
export_report.pl
extract-cert.c
extract-ikconfig
extract-module-sig.pl
extract-sys-certs.pl
extract-vmlinux
extract_xc3028.pl
faddr2line
file-size.sh
find-unused-docs.sh
gcc-ld
gcc-x86_32-has-stack-protector.sh
gcc-x86_64-has-stack-protector.sh
gen_autoksyms.sh
gen_ksymdeps.sh
generate_initcall_order.pl
generate_rust_target.rs x86/bugs: Rename CONFIG_RETPOLINE => CONFIG_MITIGATION_RETPOLINE 2024-07-26 14:33:35 -04:00
get_abi.pl
get_dvb_firmware
get_feat.pl
get_maintainer.pl
gfp-translate scripts: fix the gfp flags header path in gfp-translate 2023-10-20 06:16:06 -04:00
headerdep.pl
headers_check.pl
headers_install.sh x86: Remove the arch_calc_vm_prot_bits() macro from the UAPI 2024-03-20 09:43:23 -04:00
insert-sys-cert.c
install.sh kbuild: factor out the common installation code into scripts/install.sh 2024-04-10 21:00:29 -04:00
jobserver-exec
kallsyms.c kallsyms: Reduce the memory occupied by kallsyms_seqs_of_names[] 2024-06-17 14:17:21 -04:00
kernel-doc compiler_types: add Endianness-dependent __counted_by_{le,be} 2024-11-23 10:36:56 +01:00
ld-version.sh
leaking_addresses.pl
link-vmlinux.sh btf: remove redundant CONFIG_BPF test in scripts/link-vmlinux.sh 2025-01-21 11:27:07 +01:00
makelst
markup_oops.pl
min-tool-version.sh scripts/min-tool-version.sh: raise minimum clang version to 14.0.0 for s390 2024-05-10 10:49:46 +02:00
mkcompile_h
mksysmap
mkuboot.sh
module.lds.S Revert "arm64: unwind: add asynchronous unwind tables to kernel and modules" 2023-08-31 22:40:39 -04:00
modules-check.sh
nsdeps
objdiff kbuild: clean .tmp_* pattern by make clean 2023-06-30 19:59:54 -04:00
objdump-func
pahole-version.sh
parse-maintainers.pl
patch-kernel
profile2linkerlist.pl
prune-kernel
recordmcount.c
recordmcount.h
recordmcount.pl
remove-stale-files x86/purgatory: Omit use of bin2c 2024-05-15 10:32:32 +08:00
setlocalversion
show_delta
sign-file.c
sorttable.c scripts: ftrace - move the sort-processing in ftrace_init 2024-06-17 14:17:12 -04:00
sorttable.h x86,objtool: Split UNWIND_HINT_EMPTY in two 2024-09-18 15:14:40 +02:00
spdxcheck-test.sh
spdxcheck.py
spelling.txt Merge: ALSA - update drivers for 9.3 2023-07-04 11:15:01 +02:00
sphinx-pre-install
split-man.pl
stackdelta
stackusage
subarch.include
syscallhdr.sh
syscallnr.sh
syscalltbl.sh
tags.sh kbuild: allow to combine multiple V= levels 2024-03-20 09:42:55 -04:00
test_fortify.sh
tools-support-relr.sh
unifdef.c
ver_linux
xen-hypercalls.sh
xz_wrap.sh