From: Behan Webster <behanw@converseincode.com>
To: Masahiro Yamada <yamada.m@jp.panasonic.com>,
linux-kbuild@vger.kernel.org,
llvmlinux@lists.linuxfoundation.org
Cc: Vinicius Tinti <viniciustinti@gmail.com>, linux-kernel@vger.kernel.org
Subject: Re: How to build the kernel with Clang?
Date: Wed, 24 Sep 2014 11:55:45 -0700 [thread overview]
Message-ID: <542313B1.1020803@converseincode.com> (raw)
In-Reply-To: <20140919131021.EE3E.AA925319@jp.panasonic.com>
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@converseincode.com
prev parent reply other threads:[~2014-09-24 18:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-19 4:10 How to build the kernel with Clang? Masahiro Yamada
2014-09-19 7:10 ` Chuck Ebbert
2014-09-24 18:55 ` Behan Webster [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=542313B1.1020803@converseincode.com \
--to=behanw@converseincode.com \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvmlinux@lists.linuxfoundation.org \
--cc=viniciustinti@gmail.com \
--cc=yamada.m@jp.panasonic.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.