From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/13108 Path: news.gmane.org!.POSTED!not-for-mail From: Dmitry Golovin Newsgroups: gmane.linux.lib.musl.general Subject: Re: clang/musl/linux? Date: Tue, 07 Aug 2018 16:38:03 +0300 Message-ID: <1011541533649083@iva4-406defa25fee.qloud-c.yandex.net> References: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1533648973 2778 195.159.176.226 (7 Aug 2018 13:36:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 7 Aug 2018 13:36:13 +0000 (UTC) To: "musl@lists.openwall.com" Original-X-From: musl-return-13124-gllmg-musl=m.gmane.org@lists.openwall.com Tue Aug 07 15:36:09 2018 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1fn29g-0000bl-Ew for gllmg-musl@m.gmane.org; Tue, 07 Aug 2018 15:36:08 +0200 Original-Received: (qmail 17541 invoked by uid 550); 7 Aug 2018 13:38:15 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 17523 invoked from network); 7 Aug 2018 13:38:15 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=golovin.in; s=mail; t=1533649083; bh=IkUu/8enh7ZTQkc0fAR8lBuPN4rHAw4GQHr29CygxFc=; h=From:To:References:Subject:Date:Message-Id; b=EZiPO/0ItP8Uc4UwJuZ6UsO2mmTBIf4Ql1SMrJqpL4vuruYpdtQzMTmQEjyT8YICG awS6KdjLkEUlO3xrcIRYy4HJXbvDGEtiCSsuxGnCAqa83julEKkV5LQcMuGgH9baZG 9hMYYtpCePzXe/XO87KvHykJrrsvo8oWd2baswnw= Authentication-Results: mxback4j.mail.yandex.net; dkim=pass header.i=@golovin.in X-Mailer: Yamail [ http://yandex.ru ] 5.0 Xref: news.gmane.org gmane.linux.lib.musl.general:13108 Archived-At: 07.08.2018, 16:19, "Jon Chesterfield" : > I'm interested in using a toolchain containing clang, musl and the llvm C++ stack from a glibc linux host. There is some patchy documentation on doing this which suggests it is possible with some relatively minor patches. Most of the links are from a few years ago. > > Does anyone on this list use a similar setup today? If so, does it work for you? > > Essentially I'm hoping for guidance on whether the end result of the cmake hackery would be stable enough to use as my daily toolchain, before grinding through the inevitable plumbing. > > Thanks! > > Jon Unfortunately, it's not possible to build mainline linux with clang right now. Currently most efforts on patching the kernel are combined in this repo: https://github.com/ClangBuiltLinux/linux (it is also not ready to be compiled yet). You can also check my GNU-free toolchain as a starting point: https://github.com/tpimh/ngtc It uses musl, clang, lld and libcxx with very little patching. Regards, Dmitry