linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: John Lumby <jylumby@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: BUG - (suspected) - ORC unwinder with elfutils-0.174 causes ld failure during make
Date: Fri, 21 Sep 2018 11:56:12 -0400	[thread overview]
Message-ID: <CAN55p+JXBO0OO_zbn9V-OnSKMQWhJDQb98yuVPC3XZD3kjo3rg@mail.gmail.com> (raw)

.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

                 reply	other threads:[~2018-09-21 15:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAN55p+JXBO0OO_zbn9V-OnSKMQWhJDQb98yuVPC3XZD3kjo3rg@mail.gmail.com \
    --to=jylumby@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).