[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87o7k9l2oj.fsf@jogness.linutronix.de>
Date: Tue, 18 Jul 2023 16:28:36 +0206
From: John Ogness <john.ogness@...utronix.de>
To: Michael Ellerman <mpe@...erman.id.au>,
Nicholas Piggin <npiggin@...il.com>
Cc: linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] powerpc/build: vdso linker warning for orphan sections
On 2023-07-18, Michael Ellerman <mpe@...erman.id.au> wrote:
>> ld: warning: discarding dynamic section .rela.opd
>>
>> and bisects to:
>>
>> 8ad57add77d3 ("powerpc/build: vdso linker warning for orphan sections")
>
> Can you test with a newer compiler/binutils?
Testing the Debian release cross compilers/binutils:
Debian 10 / gcc 8.3.0 / ld 2.31.1: generates the warning
Debian 11 / gcc 10.2.1 / ld 2.35.2: generates the warning
Debian 12 / gcc 12.2.0 / ld 2.40: does _not_ generate the warning
I suppose moving to the newer toolchain is the workaround. Although it
is a bit unusual to require such a modern toolchain in order to build a
kernel without warnings.
John Ogness
Powered by blists - more mailing lists