Hi Jan, On 21/03/2022 11:46, Jan Beulich wrote:
The initial three entries in .got.plt are "static", i.e. present independent of actual entries allocation of which is triggered by respective relocations. When no real entries are needed, halfway recent ld discards the "static" portion of the table as well, but older GNU ld fails to do so.Fixes: dedb0aa42c6d ("x86/build: use --orphan-handling linker option if available") Reported-by: Julien Grall <[email protected]> Signed-off-by: Jan Beulich <[email protected]>
Thanks for the patch. I applied the patch and can confirm the build issue is gone.
Tested-by: Julien Grall <[email protected]> Cheers, -- Julien Grall
