HomeDefectsLIN1022-3894
Fixed

LIN1022-3894 : Linux cannot pass compile after enable CONFIG_DEBUG_KERNEL,CONFIG_DEBUG_INFO and CONFIG_DEBUG_INFO_BTF

Created: Apr 10, 2023    Updated: Jun 26, 2023
Resolved Date: Jun 19, 2023
Found In Version: 10.22.33.1
Fix Version: 10.22.33.10
Severity: Standard
Applicable for: Wind River Linux LTS 22
Component/s: Kernel

Description

OS: WRLinux-lts.22 RCPL6

Target: nxp-s32g

1, after enable below three option in kernel configuration,

CONFIG_DEBUG_KERNEL,

CONFIG_DEBUG_INFO,

CONFIG_DEBUG_INFO_BTF

linux-yocto cannot pass compiling, report error:

!image-2023-04-10-15-24-07-409.png!

 

 

Steps to Reproduce

1, install wrlinux-lts 22, and enter build environment

2, run "bitbake linux-yocto -c devshell"

3, In Linux envrionment, run "make menuconfig"

4, choose below items in config, then save and exit.

CONFIG_DEBUG_KERNEL,

CONFIG_DEBUG_INFO,

CONFIG_DEBUG_INFO_BTF

5, run "make" to compile Linux.