From: Fengguang Wu Subject: Re: [PATCH 6/7] md/raid10, LLVM: get rid of variable length array Date: Sat, 18 Mar 2017 08:41:48 +0800 Message-ID: <20170318004148.u332zl63sbdqhiwb@wfg-t540p.sh.intel.com> References: <20170317001520.85223-1-md@google.com> <20170317001520.85223-7-md@google.com> <20170317120837.pr74cv3xuj7qpoin@hirez.programming.kicks-ass.net> <20170317180350.63jjysejk2i6vkon@pd.tnic> <20170317185720.5s7qa6hl233t24ag@pd.tnic> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Cc: Borislav Petkov , Alexander Potapenko , Peter Zijlstra , Michael Davidson , Michal Marek , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Herbert Xu , "David S. Miller" , Shaohua Li , Matthias Kaehlcke , "x86@kernel.org" , "open list:KERNEL BUILD + fi..." , LKML , linux-crypto@vger.kernel.org, linux-raid@vger.kernel.org, kbuild-all@01.org To: Dmitry Vyukov Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-raid-owner@vger.kernel.org List-Id: linux-crypto.vger.kernel.org Hi Dmitry, On Fri, Mar 17, 2017 at 08:05:16PM +0100, Dmitry Vyukov wrote: >On Fri, Mar 17, 2017 at 7:57 PM, Borislav Petkov wrote: >> On Fri, Mar 17, 2017 at 07:47:33PM +0100, Dmitry Vyukov wrote: >>> This problem is more general and is not specific to clang. It equally >>> applies to different versions of gcc, different arches and different >>> configs (namely, anything else than what a developer used for >>> testing). >> >> I guess. We do carry a bunch of gcc workarounds along with the cc-* >> macros in scripts/Kbuild.include. >> >>> A known, reasonably well working solution to this problem is >>> a system of try bots that test patches before commit with different >>> compilers/configs/archs. We already have such system in the form of >>> 0-day bots. It would be useful to extend it with clang as soon as >>> kernel builds. >> >> Has someone actually already talked to Fengguang about it? > >+Fengguang I've actually tried clang long time ago. It quickly fails the build for vanilla kernel. So it really depends on when the various clang build fix patches can be accepted into mainline kernel. Thanks, Fengguang