Re: [kvm-unit-tests PATCH] Makefile: efi: preserve .dynstr section for LLVM objcopy compatibility
Andrew Jones <[email protected]> Tue, 21 Jul 2026 10:58:08 +0200
| Newsgroups | org.infradead.lists.kvm-riscv,dev.linux.lists.kvmarm,org.kernel.vger.kvm |
|---|---|
| Message-ID | <lxhagolfvr6w5h5xujrhq33pzx7hb6db5ihga46z6qn3dba4nx@q5b2fdclitqs> |
On Thu, Jul 16, 2026 at 05:33:15PM +0000, Colton Lewis wrote: > When building EFI binaries with llvm-objcopy, keeping sections with > '-j .dynamic -j .dynsym' without '-j .dynstr' fails with: > > llvm-objcopy: error: 'arm/spinlock-test.so': section '.dynstr' > cannot be removed because it is referenced by the section '.dynamic' > > Include '.dynstr' in the list of preserved sections across > arm/Makefile.common, riscv/Makefile, and x86/Makefile.common so that > EFI binaries can be built cleanly using llvm-objcopy. > > Assisted-by: Gemini:gemini-next > Signed-off-by: Colton Lewis <[email protected]> > --- > arm/Makefile.common | 2 +- > riscv/Makefile | 2 +- > x86/Makefile.common | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) > Pushed. Thanks, drew -- kvm-riscv mailing list [email protected] http://lists.infradead.org/mailman/listinfo/kvm-riscv