mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* new objtool unreachable instruction warnings
@ 2017-07-26 14:46 Arnd Bergmann
  2017-07-26 19:10 ` Josh Poimboeuf
  0 siblings, 1 reply; 4+ messages in thread
From: Arnd Bergmann @ 2017-07-26 14:46 UTC (permalink / raw)
  To: Josh Poimboeuf; +Cc: Linux Kernel Mailing List

I only saw these warnings once, they are either very rare, or were introduced
recently:

arch/x86/kvm/vmx.o: warning: objtool: .altinstr_replacement+0x0:
unreachable instruction
arch/x86/kvm/svm.o: warning: objtool: .altinstr_replacement+0x6e:
unreachable instruction

I see this with gcc-4.6 though gcc-7, but not with gcc-4.3.

The configuration file that triggered it is
https://pastebin.com/aMn45GYP

I managed to trace the problem down to the CC_HAVE_ASM_GOTO
macro, without that, we don't run into the problem.

       Arnd

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

end of thread, other threads:[~2017-07-26 20:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-26 14:46 new objtool unreachable instruction warnings Arnd Bergmann
2017-07-26 19:10 ` Josh Poimboeuf
2017-07-26 19:52   ` Arnd Bergmann
2017-07-26 20:41     ` Josh Poimboeuf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®