[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <542313B1.1020803@converseincode.com>
Date: Wed, 24 Sep 2014 11:55:45 -0700
From: Behan Webster <behanw@...verseincode.com>
To: Masahiro Yamada <yamada.m@...panasonic.com>,
linux-kbuild@...r.kernel.org, llvmlinux@...ts.linuxfoundation.org
CC: Vinicius Tinti <viniciustinti@...il.com>,
linux-kernel@...r.kernel.org
Subject: Re: How to build the kernel with Clang?
On 09/18/14 21:10, Masahiro Yamada wrote:
> Hi Clang folks,
>
>
> I'd like to know the status of Clang support
> in the Linux mainline.
Still a work in progress. You still need to use the LLVMLinux patches
on top of mainline to get it to work. We're upstreaming those patches as
fast as we can.
> I can see some "clang" specific parts in makefiles,
> so I guess Clang is already supported to a certain extent.
Some of the required parts are there. But mainline currently won't
compile out of the box with clang.
> I just tried to build with "HOSTCC=clang CC=clang"
> but it would not work.
>
> Is there any tips I am missing here?
Try building from our kernel repo listed on http://llvm.linuxfoundation.org
Thanks,
Behan
--
Behan Webster
behanw@...verseincode.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists