I'm trying to build kernel with kmemleak enabled, but seeing these errors in build.
/home/hwlab/imx_android/android_build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 8 of arch/arm/crypto/built-in.o is not in EXIDX output section
/home/hwlab/imx_android/android_build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 29 of arch/arm/mach-imx/built-in.o is not in EXIDX output section
Has anybody seen this error? Or any pointers.
CONFIG_DEBUG_KMEMLEAK=y
CONFIG_DEBUG_KMEMLEAK_EARLY_LOG_SIZE=4096
Using IM6SX with Android 8 AOSP.
Hi Atul John ,
Instead of changing config using make menuconfig try below,
After source build/envsetup.sh
For i.MX6SoloX you can add the config variables:
CONFIG_DEBUG_KMEMLEAK=y
CONFIG_DEBUG_KMEMLEAK_EARLY_LOG_SIZE=4096
in
vendor/nxp-opensource/kernel_imx/arch/arm/configs/imx_v7_android_defconfig
Next, lunch <combo>
make -j 2>&1 | tee build-log.txt
Regards,
Karan Gajjar
Hi karan.gajjar@volansystech.com
Thank you for the quick response. I am not using make menuconfig. Following same steps as mentioned.
Is there anything I'm missing? I tried sabresd_6sx-user also, but see same error. Do I need to build the full image?
Thanks,
Atul
Hi Atul John,
Yes, please try building the full image. As we have changed only the kernel config, it won't take long time as it took for the first time build.
Regards,
Karan Gajjar