Re: warning: objtool: data relocation to !ENDBR

From: Peter Zijlstra
Date: Tue Sep 10 2024 - 03:36:27 EST


On Tue, Sep 10, 2024 at 02:46:21AM -0400, Michael S. Tsirkin wrote:
> Hi objtool maintainers,
> I noticed that each time I build my kernel, I am getting this:
>
> vmlinux.o: warning: objtool: .export_symbol+0x3af10: data relocation to !ENDBR: stpcpy+0x0
>
> Things seem to mostly work for me, so maybe it's benign,
> but presumably the warning was put there for some good reason?
> Am I doing something wrong?

I think you might be hitting this one:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116174