linux-apfs-rw icon indicating copy to clipboard operation
linux-apfs-rw copied to clipboard

warning: objtool: lzvn_decode+0x1c6: sibling call from callable instruction with modified stack frame

Open BlackMage2 opened this issue 1 year ago • 1 comments

I get a warning when compiling: CC [M] /home/user/Development/linux-apfs-rw/lzfse/lzvn_decode_base.o /home/user/Development/linux-apfs-rw/lzfse/lzvn_decode_base.o: warning: objtool: lzvn_decode+0x1c6: sibling call from callable instruction with modified stack frame

BlackMage2 avatar Jul 10 '23 09:07 BlackMage2

I've noticed that objtool warning before. The lzfse code code comes from Apple, I just adapted it for the kernel. I haven't dug into it, but I wouldn't be surprised if it's a false positive triggered by all the goto magic that function uses. Either way, objtool warnings are probably not a big deal for an out-of-tree driver that doesn't intend to support live patches or anything like that.

I'm leaving this open, but I won't be fixing it anytime soon.

eafer avatar Jul 11 '23 00:07 eafer