On Tue, Mar 05, 2024 at 11:28:01AM +0800, Rui Qi wrote:
Hi Greg,
I checked out commit e133c1ee6d7271007fdba3dbe78818afd88943f9 (Linux 5.4.270), applied my patche set on top, enabled CONFIG_LIVEPATCH based on x86 defconfig, compiled without any issues. I couldn't even grep unwind_hint_empty in the codebase, so I'm quite puzzled about how this phenomenon occurred. Can you tell me how to reproduce this compilation error?
Try building with 'make allmodconfig'. Also, what compiler and version are you using?
In addition, my patchset only applies to the LTS branch of 5.4, not to other branches. Please be careful not to merge it into other branches.Other stable branches do not have the problem of such kernel livepatch issue.
It just broke this branch, I didn't apply it anywhere else.
thanks,
greg k-h