Skip to contentSkip to conversation

warning: objtool: data relocation to !ENDBR

DISCUSSION Michael S. Tsirkin 2 participants 2 messages Sep 10, 2024

lore
Share & tools
lore
#0 lore raw

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?

Thanks,

Signature · 1 line
MST
#1 lore raw
Quoted 8 lines · Michael S. Tsirkin

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