LTS 21 with the RCPL 11 if we enable any of the following flags in the .configure the kernel building fails. CONFIG_GCC_PLUGIN_LATENT_ENTROPY=y CONFIG_GCC_PLUGIN_STRUCTLEAK=y CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF_ALL=y Fix compile of gcc plugins patch is applied and fixes the issue
* Build a standard image mkdir -p my-project cd my-project git clone --branch WRLINUX_10_21_LTS_RCPL0011 \ https://gateway.delivers.windriver.com/git/linux-lts/release/wrlinux-lts.21/WRLinux-lts-21-Core/wrlinux-x ./wrlinux-x/setup.sh --machines intel-x86-64 source ./environment-setup-x86_64-wrlinuxsdk-linux source ./oe-init-build-env * Add the kernel fragment by bbappend mkdir -p layers/local/recipes-kernel/linux/files cd $_/.. * BBappend file: FILESEXTRAPATHS_prepend := "${THISDIR}/files:" SRC_URI += "\ file://config_baseline.cfg \ " * config_baseline.cfg file: CONFIG_GCC_PLUGIN_LATENT_ENTROPY=y CONFIG_GCC_PLUGIN_STRUCTLEAK=y CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF_ALL=y bitbake -c clean linux-yocto bitbake -c build linux-yocto