From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751430AbdCRAmE (ORCPT ); Fri, 17 Mar 2017 20:42:04 -0400 Received: from mga11.intel.com ([192.55.52.93]:57433 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751087AbdCRAmA (ORCPT ); Fri, 17 Mar 2017 20:42:00 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,178,1486454400"; d="scan'208";a="945635496" Date: Sat, 18 Mar 2017 08:41:48 +0800 From: Fengguang Wu To: Dmitry Vyukov 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 Subject: Re: [PATCH 6/7] md/raid10, LLVM: get rid of variable length array 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 Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20161104 (1.7.1) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@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