linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* BUG - (suspected) - ORC unwinder with elfutils-0.174 causes ld failure during make
@ 2018-09-21 15:56 John Lumby
  0 siblings, 0 replies; only message in thread
From: John Lumby @ 2018-09-21 15:56 UTC (permalink / raw)
  To: linux-kernel

.config has CONFIG_UNWINDER_ORC=y

elfutils version 0.174  (latest)

make of the kernel source fails with errors such as this
arch/x86/kvm/../../../virt/kvm/kvm_main.o: file not recognized: file
format not recognized
emitted by ld

ld is from latest binutils version 2.31
gcc is version 7.3

Found in kernel kver 4.17.10 and also in latest 4.19-rc4

problem is caused by this transformation directed from the Makefile

        ./tools/objtool/objtool orc generate  --module --no-fp
--retpoline "arch/x86/kvm/../../../virt/kvm/kvm_main.o";

make succeeds when CONFIG_UNWINDER_ORC is not set

Cheers,  John Lumby

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-09-21 15:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-21 15:56 BUG - (suspected) - ORC unwinder with elfutils-0.174 causes ld failure during make John Lumby

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).