Subject: [next-20250507] Multiple ld warnings and build fails

From: Venkat Rao Bagalkote <[email-masked]>
Date: Wed, 7 May 2025 19:09:59 +0530

Greetings!!!

I am observing multiple ld warnings and finally build fails on IBM Power 
server with next-20250507 build.

Repo: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git

GCC: 11.5.0 20240719

ld version: ld version 2.35.2-54.el9

Attached is the .config file.

Errors:

ld: warning: discarding dynamic section .glink
ld: warning: discarding dynamic section .plt
ld: linkage table error against `poly1305_emit_arch'
ld: stubs don't match calculated size
ld: can not build stubs: bad value
ld: lib/crypto/poly1305.o: in function `poly1305_final':
/home/upstreamci/linux/lib/crypto/poly1305.c:65: undefined reference to 
`poly1305_emit_arch'
make[2]: *** [scripts/Makefile.vmlinux:91: vmlinux] Error 1
make[1]: *** [/home/upstreamci/linux/Makefile:1242: vmlinux] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:248: __sub-make] Error 2

If you happen to fix, please add below tag.

Reported-by: Venkat Rao Bagalkote <[email-masked]>

Regards,

Venkat.