Thread (4 messages) read the whole thread 4 messages, 3 authors, 2019-08-27

Re: kernel/bpf/core.o: warning: objtool: ___bpf_prog_run.cold()+0x7: call without frame pointer save/setup

From: Greg KH <gregkh@linuxfoundation.org>
Date: 2019-08-26 15:11:35
Also in: bpf, lkml

On Mon, Aug 26, 2019 at 10:42:53PM +0800, He Zhe wrote:
Hi All,

Since 3193c0836f20 ("bpf: Disable GCC -fgcse optimization for ___bpf_prog_run()"),
We have got the following warning,
kernel/bpf/core.o: warning: objtool: ___bpf_prog_run.cold()+0x7: call without frame pointer save/setup

If reverting the above commit, we will get the following warning,
kernel/bpf/core.o: warning: objtool: ___bpf_prog_run()+0x8b9: sibling call from callable instruction with modified stack frame
if CONFIG_RETPOLINE=n, and no warning if CONFIG_RETPOLINE=y
Do you see this same problem on 5.3-rc6?

And what version of gcc are you using?

thanks,

greg k-h
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help