Re: [kvm-unit-tests PATCH] Makefile: efi: preserve .dynstr section for LLVM objcopy compatibility
Colton Lewis <[email protected]> Tue, 21 Jul 2026 23:07:32 +0000
| Newsgroups | org.infradead.lists.kvm-riscv,dev.linux.lists.kvmarm,org.kernel.vger.kvm |
|---|---|
| Message-ID | <[email protected]> |
Thanks Andrew! Andrew Jones <[email protected]> writes: > 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