mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [BUG] Build error for 4.15-rc3 kernel caused by patch "kbuild: Add a cache for generated variables"
@ 2017-12-16 22:35 Yang Shi
  2017-12-18 14:56 ` Masahiro Yamada
  0 siblings, 1 reply; 12+ messages in thread
From: Yang Shi @ 2017-12-16 22:35 UTC (permalink / raw)
  To: dianders; +Cc: Arnd Bergmann, mingo, linux, yamada.masahiro, linux-kernel

Hi folks,

I just upgraded gcc to 6.4 on my centos 7 machine by Arnd's suggestion. 
But, I ran into the below compile error with 4.15-rc3 kernel:

In file included from ./include/uapi/linux/uuid.h:21:0,
                  from ./include/linux/uuid.h:19,
                  from ./include/linux/mod_devicetable.h:12,
                  from scripts/mod/devicetable-offsets.c:2:
./include/linux/string.h:8:20: fatal error: stdarg.h: No such file or 
directory
  #include <stdarg.h>

I bisected to commit 3298b690b21cdbe6b2ae8076d9147027f396f2b1 ("kbuild: 
Add a cache for generated variables"). Once I revert this commit, kernel 
build is fine.

gcc 4.8.5 is fine to build kernel with this commit.

I'm not quite sure if this is a bug or my gcc install is skewed although 
it can build kernel without that commit since that commit might 
exacerbate the case.

Any hint is appreciated

Regards,
Yang

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

end of thread, other threads:[~2017-12-22  2:19 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-16 22:35 [BUG] Build error for 4.15-rc3 kernel caused by patch "kbuild: Add a cache for generated variables" Yang Shi
2017-12-18 14:56 ` Masahiro Yamada
2017-12-18 15:50   ` Masahiro Yamada
2017-12-18 17:17     ` Doug Anderson
2017-12-18 17:22       ` Yang Shi
2017-12-20 16:55         ` Doug Anderson
2017-12-21  3:47           ` Masahiro Yamada
2017-12-20  2:29       ` Masahiro Yamada
2017-12-20 17:07         ` Doug Anderson
2017-12-21  4:01           ` Masahiro Yamada
2017-12-22  2:18             ` Doug Anderson
2017-12-18 17:19     ` Yang Shi

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®