From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753168AbbIJAZT (ORCPT ); Wed, 9 Sep 2015 20:25:19 -0400 Received: from mga03.intel.com ([134.134.136.65]:14786 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751829AbbIJAZP (ORCPT ); Wed, 9 Sep 2015 20:25:15 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,500,1437462000"; d="scan'208";a="801891396" Date: Thu, 10 Sep 2015 08:25:13 +0800 From: Fengguang Wu To: Sedat Dilek Cc: Linus Torvalds , Andrew Morton , LKML Subject: Re: Use (two) different compilers at build-time? Message-ID: <20150910002513.GA22004@wfg-t540p.sh.intel.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 07, 2015 at 09:12:58PM +0200, Sedat Dilek wrote: > Hi, > > is it possible to use a different compiler at build-time? btw, it'd be great if clang can just work on mainline kernel. I tried to run clang in 0day kbuild tests, however make aborts quickly in seconds. There are dozens of clang patches provided in http://llvm.linuxfoundation.org/index.php/Main_Page however such our-of-tree patches are not bisect friendly. Thanks, Fengguang