All of lore.kernel.org
 help / color / mirror / Atom feed
* Compiling with old gcc breaks when CONFIG_RETPOLINE is off
@ 2018-12-04  9:58 Meelis Roos
  2018-12-04 13:57 ` Zhenzhong Duan
  2018-12-05  1:30 ` Zhenzhong Duan
  0 siblings, 2 replies; 4+ messages in thread
From: Meelis Roos @ 2018-12-04  9:58 UTC (permalink / raw)
  To: Zhenzhong Duan, Thomas Gleixner, David Woodhouse; +Cc: LKML

Just tried 4.20-rc5 on an old K6-2 PC with gcc 5.3.1, got an error about non-retpoline compiler,
turned CONFIG_RETPOLINE off and retried.

To my surprise, compilation still breaks with
arch/x86/Makefile:224: *** You are building kernel with non-retpoline compiler, please update your compiler..  Stop.

As I read the Makefile, it should error only when CONFIG_RETPOLINE is enabled, but it still breaks.

$ grep -r CONFIG_RETPOLINE .config
# CONFIG_RETPOLINE is not set

$ grep -r CONFIG_RETPOLINE include/
include/generated/autoconf.h:#define CONFIG_RETPOLINE 1
include/config/auto.conf:CONFIG_RETPOLINE=y

So the headers have not been updated yet, maybe?

-- 
Meelis Roos <mroos@linux.ee>

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

end of thread, other threads:[~2018-12-05  3:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-04  9:58 Compiling with old gcc breaks when CONFIG_RETPOLINE is off Meelis Roos
2018-12-04 13:57 ` Zhenzhong Duan
2018-12-05  1:30 ` Zhenzhong Duan
2018-12-05  3:00   ` Masahiro Yamada

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.