All of lore.kernel.org
 help / color / mirror / Atom feed
* Building 4.14 LTS kernel with GCC 8
@ 2018-10-09 13:07 Ignat Korchagin
  2018-10-11  7:29 ` Greg KH
  0 siblings, 1 reply; 7+ messages in thread
From: Ignat Korchagin @ 2018-10-09 13:07 UTC (permalink / raw)
  To: stable; +Cc: Ivan Babrou, Daniel Dao

Hello,

We were trying to build 4.14 kernel with GCC 8, but perf failed to
compile. The upstream tree seems to have necessary commits to support
GCC 8, but they were not ported to 4.14 branch. With backporting the
following commits we were able to restore perf compilation and compile
a working 4.14 kernel with GCC 8.2:

6810158d526e483868e519befff407b91e76b3db: perf annotate: Use asprintf
when formatting objdump command
b7a313d84e853049062011d78cb04b6decd12f5c: perf tools: Fix python
extension build for gcc 8
77f18153c080855e1c3fb520ca31a4e61530121d: perf tools: Fix snprint
warnings for gcc 8
06c3f2aa9fc68e7f3fe3d83e7569d2a2801d9f99: perf utils: Move
is_directory() to path.h

Propose to apply the above commits to 4.14 to be able to compile it
with GCC 8 (mostly to properly support CONFIG_RETPOLINE)

Commit 6810158d526e483868e519befff407b91e76b3db might need adjustment
to cleanly apply on 4.14 branch.

Regards,
Ignat

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

end of thread, other threads:[~2018-10-17  0:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-09 13:07 Building 4.14 LTS kernel with GCC 8 Ignat Korchagin
2018-10-11  7:29 ` Greg KH
2018-10-11 10:12   ` Ignat Korchagin
2018-10-11 10:17     ` Greg KH
2018-10-11 10:26       ` Ignat Korchagin
2018-10-16 16:28         ` Ignat Korchagin
2018-10-16 16:42           ` Greg Kroah-Hartman

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.