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

From: John Ogness
Date: Mon Jul 17 2023 - 15:43:56 EST


Hi Nicholas,

On 2023-06-09, Nicholas Piggin <npiggin@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxx