[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CA+icZUUM1v1FCaJDk1BaRN9+uOQD53r5Rwcv=ESQHhdN9QRedA@mail.gmail.com>
Date: Sun, 6 Mar 2022 16:31:24 +0100
From: Sedat Dilek <sedat.dilek@...il.com>
To: Arnd Bergmann <arnd@...nel.org>
Cc: Masahiro Yamada <masahiroy@...nel.org>,
Arnd Bergmann <arnd@...db.de>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Marco Elver <elver@...gle.com>,
Jani Nikula <jani.nikula@...el.com>,
David Sterba <dsterba@...e.com>, Alex Shi <alexs@...nel.org>,
Nick Desaulniers <ndesaulniers@...gle.com>,
Miguel Ojeda <ojeda@...nel.org>,
Mark Rutland <mark.rutland@....com>,
linux-kbuild@...r.kernel.org, llvm@...ts.linux.dev,
linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/3] [v3] Kbuild: move to -std=gnu11
On Fri, Mar 4, 2022 at 5:25 PM Sedat Dilek <sedat.dilek@...il.com> wrote:
[ ... ]
> When I saw the first patches in this area, I was thinking what about
> the tools/ build-system?
> This ECO system has its own rules.
>
My other goal was to build perf with my selfmade or distro LLVM/Clang
and -std=gnu11.
I was able to do so:
$ git log --oneline --no-merges v5.17-rc6..for-5.17/tools-std_gnu11-dileks-v2
2d99b1cfa897 (for-5.17/tools-std_gnu11-dileks-v2) perf: Use -std=gnu11
c345a183c4ef tools: libtraceevent: Use -std=gnu11
26f77082f233 tools: libsubcmd: Use -std=gnu11
aaba58ec81c8 tools: libbpf: Use -std=gnu11
ffc800af3be4 tools: libapi: Use -std=gnu11
For perf/libperl-support I needed an extra patch:
$ git log --oneline --no-merges
v5.17-rc6..for-5.17/perf-libperl_support-clang-dileks
316a1917ec05 (for-5.17/perf-libperl_support-clang-dileks) perf: Fix
libperl support with clang and perl v5.34
For details see [1].
I can send the patches if someone wants them.
[1] https://marc.info/?t=164646683300002&r=1&w=2
Powered by blists - more mailing lists