Re: [kvm-unit-tests PATCH] x86/flat.lds: Silence warnings about empty loadable segments

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 29 Mar 2023 14:38:14 +0200, Thomas Huth wrote:
> Recent versions of objcopy (e.g. from Fedora 37) complain:
> 
>  objcopy: x86/vmx.elf: warning: empty loadable segment detected at
>   vaddr=0x400000, is this intentional?
> 
> Seems like we can silence these warnings by properly specifying
> program headers in the linker script.
> 
> [...]

Applied to kvm-x86 next, thanks!

On the topic of annoying warnings, this one is also quite annoying: 

  ld: warning: setjmp64.o: missing .note.GNU-stack section implies executable stack
  ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker

I thought "-z noexecstack" would make it go away, but either I'm wrong or I'm not
getting the flag set in the right place.

[1/1] x86/flat.lds: Silence warnings about empty loadable segments
      https://github.com/kvm-x86/kvm-unit-tests/commit/0a06949aafac

--
https://github.com/kvm-x86/kvm-unit-tests/tree/next



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux