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

2023-07-19 Thread John Ogness
Hi Michael, On 2023-07-19, Michael Ellerman wrote: > I regularly test with a gcc 5.5.0 / ld 2.29 toolchain and gcc 13.1.1 / > ld 2.39, and I haven't seen the warning. I tried a bunch of others and > can't reproduce it. I will send my config in a separate email (without the lists in CC). Building

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

2023-07-19 Thread Michael Ellerman
John Ogness writes: > On 2023-07-18, Michael Ellerman 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 rele

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

2023-07-18 Thread John Ogness
On 2023-07-18, Michael Ellerman 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: De

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

2023-07-18 Thread Michael Ellerman
John Ogness writes: > Hi Nicholas, > > On 2023-06-09, Nicholas Piggin 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

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

2023-07-17 Thread John Ogness
Hi Nicholas, On 2023-06-09, Nicholas Piggin 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 bisec

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

2023-07-02 Thread Michael Ellerman
On Fri, 09 Jun 2023 15:10:02 +1000, Nicholas Piggin wrote: > Add --orphan-handlin for vdsos, and adjust vdso linker scripts to deal > with orphan sections. > > Applied to powerpc/next. [1/1] powerpc/build: vdso linker warning for orphan sections https://git.kernel.org/powerpc/c/8ad57add77

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

2021-06-16 Thread Nicholas Piggin
Excerpts from Nicholas Piggin's message of June 11, 2021 9:10 pm: > Add --orphan-handling=warn for vdsos, and adjust vdso linker scripts to > deal with orphan sections. > > Signed-off-by: Nicholas Piggin Okay it looks like modules should discard .PPC.EMB.apuinfo. Not entirely sure about .rela.o

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

2020-07-30 Thread Michael Ellerman
On Tue, 3 Mar 2020 11:27:48 +1000, Nicholas Piggin wrote: > Applied to powerpc/next. [1/1] powerpc/build: vdso linker warning for orphan sections https://git.kernel.org/powerpc/c/f2af201002a8bc22500c04cc474ea480bf361351 cheers