xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* ld 2.36 regression linking EFI binary from ELF input with debug info
@ 2021-02-04 13:21 Jan Beulich
  2021-02-04 13:34 ` Andreas Schwab
  2021-02-18 14:55 ` ld 2.36 regression linking EFI binary from ELF input Jan Beulich
  0 siblings, 2 replies; 4+ messages in thread
From: Jan Beulich @ 2021-02-04 13:21 UTC (permalink / raw)
  To: Binutils; +Cc: xen-devel

Hello,

the Xen project hypervisor build system includes building the
hypervisor binary as an EFI application, as an option (i.e.
as long as the tool chain supports this). Already when probing
the linker we now suddenly get several "relocation truncated
to fit:R_X86_64_32 against `.debug_...'" errors. I have not
had  the time to figure out what exactly broke this, and I'm
sending this mail in the hope that it may ring a bell for
someone.

For reference, the probing is as simple as

$(LD) -mi386pep --subsystem=10 -o efi/check.efi efi/check.o

As was to be expected, the errors disappear with -S, but that's
an option only for the probing, not for the actual linking of
the binary.

Thanks for pointers (or better yet, a fix),
Jan


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-02-18 14:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-04 13:21 ld 2.36 regression linking EFI binary from ELF input with debug info Jan Beulich
2021-02-04 13:34 ` Andreas Schwab
2021-02-04 13:58   ` Jan Beulich
2021-02-18 14:55 ` ld 2.36 regression linking EFI binary from ELF input Jan Beulich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).