I am recompiling kernel 4.19.96 from
www.kernel.org for a custom CorePure64-10.1. I use CorePure64-10.1 to compile the image and modules. I placed .config into the source directory of 4.19.96. Then "make menuconfig", followed by "make bzImage modules" and the image and modules compiled successfully with whatever package needed(compiletc,...). I recreated an iso of CorePure64-10.1 with the new image and modules. But when I boot from iso file I get an error as follows and modules are not loaded.
Spectre v2: System may be vulnerable to spectre v2
...:Loading module not compiled with retpoline compiler
I tried to compile on centos 7 and 8, on both the Image and modules compiled successfully but when I recreate an iso of CorePure64-10.1 with the new image and modules, I get same problem. Any help would be very appreciated.