Commit 49e3c010 authored by Pu Lehui's avatar Pu Lehui
Browse files

openeuler_defconfig: Disable CONFIG_DEBUG_INFO_BTF_MODULES

hulk inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/IAX0HW



--------------------------------

The BTF information of the data structure in the kernel module
is generated based on the corresponding kernel's base BTF when
compiling the kernel module. When the kernel module is loaded
into other kernels, unpredictable BTF verification errors will
occur due to different base BTF, which will lead to the kernel
module loading failed. Disable CONFIG_DEBUG_INFO_BTF_MODULES
will skip the kernel module BTF verification.

Fixes: 4d88af81 ("config: add initial openeuler_defconfig for x86")
Fixes: 3c70ec8d ("config: add initial openeuler_defconfig for arm64")
Signed-off-by: default avatarPu Lehui <pulehui@huawei.com>
parent 3d8271e7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -7923,7 +7923,7 @@ CONFIG_DEBUG_INFO_COMPRESSED_NONE=y
CONFIG_DEBUG_INFO_BTF=y
CONFIG_PAHOLE_HAS_SPLIT_BTF=y
CONFIG_PAHOLE_HAS_LANG_EXCLUDE=y
CONFIG_DEBUG_INFO_BTF_MODULES=y
# CONFIG_DEBUG_INFO_BTF_MODULES is not set
# CONFIG_MODULE_ALLOW_BTF_MISMATCH is not set
# CONFIG_GDB_SCRIPTS is not set
CONFIG_FRAME_WARN=2048
+1 −1
Original line number Diff line number Diff line
@@ -9076,7 +9076,7 @@ CONFIG_DEBUG_INFO_COMPRESSED_NONE=y
CONFIG_DEBUG_INFO_BTF=y
CONFIG_PAHOLE_HAS_SPLIT_BTF=y
CONFIG_PAHOLE_HAS_LANG_EXCLUDE=y
CONFIG_DEBUG_INFO_BTF_MODULES=y
# CONFIG_DEBUG_INFO_BTF_MODULES is not set
# CONFIG_MODULE_ALLOW_BTF_MISMATCH is not set
# CONFIG_GDB_SCRIPTS is not set
CONFIG_FRAME_WARN=2048
+3 −0
Original line number Diff line number Diff line
@@ -516,6 +516,9 @@ struct module {
#ifdef CONFIG_DEBUG_INFO_BTF_MODULES
	unsigned int btf_data_size;
	void *btf_data;
#else
	KABI_DEPRECATE(unsigned int, btf_data_size)
	KABI_DEPRECATE(void *, btf_data)
#endif
#ifdef CONFIG_JUMP_LABEL
	struct jump_entry *jump_entries;