[PATCH] powerpc/build: vdso linker warning for orphan sections

John Ogness john.ogness at linutronix.de
Tue Jul 18 05:43:48 AEST 2023

Hi Nicholas,

On 2023-06-09, Nicholas Piggin <npiggin at gmail.com> wrote:
> Add --orphan-handlin for vdsos, and adjust vdso linker scripts to deal
> with orphan sections.

I'm reporting that I am getting a linker warning with 6.5-rc2. The
warning message is:

ld: warning: discarding dynamic section .rela.opd

and bisects to:

8ad57add77d3 ("powerpc/build: vdso linker warning for orphan sections")

Despite the warning, my ppc64 system seems to run fine. Let me know if
you need any other information from me.

I noticed [0] this with 6.5-rc1 but didn't contact the right people.

John Ogness

[0] https://lore.kernel.org/lkml/871qhf1q3j.fsf@jogness.linutronix.de

More information about the Linuxppc-dev mailing list