From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/13156 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?B?RsSBbmctcnXDrCBTw7JuZw==?= Newsgroups: gmane.linux.lib.musl.general Subject: Re: clang/musl/linux? Date: Thu, 30 Aug 2018 23:29:31 -0700 Message-ID: References: <1011541533649083@iva4-406defa25fee.qloud-c.yandex.net> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000015d3720574b551e4" X-Trace: blaine.gmane.org 1535696873 20094 195.159.176.226 (31 Aug 2018 06:27:53 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 31 Aug 2018 06:27:53 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-13172-gllmg-musl=m.gmane.org@lists.openwall.com Fri Aug 31 08:27:49 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 1fvcuK-000583-Pu for gllmg-musl@m.gmane.org; Fri, 31 Aug 2018 08:27:48 +0200 Original-Received: (qmail 26562 invoked by uid 550); 31 Aug 2018 06:29:54 -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 26544 invoked from network); 31 Aug 2018 06:29:53 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=gLg1rokzFq5FieEZ4KQGyjNzmZmHffnhJf1a3gxJQn8=; b=cWKZIwx1NwhL34YWhKzQYkwiL32HVYQJUZ/Q2vIFfjwyjNS6CwcuGh/TcpEJYNOt5+ CaDhFeNXT0IKxFXKeOLeo47lQSez8J1a2s+eScrObHT1RG6xajxGkVmAJZnvRVDkoEAp LTDniTS5QYziW/IlOx1U4oVYID1wmzf7M/hVIFu0ijNoxZ2Ua0HheG7JZGPwWbNNOVOY K3uWlJoFiyI3VtBm2daHwRD1rJ6tjc45UpxMszJA+71vrXIB0IfrPt5NO2vC16JnUqcr kFiA6Jv2LPSiYFTMuqab1Y5OOyeT1q6T0Rp3CKWlByBTnXdIcHr+J8pYLXGUJH3UJsIR uC6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=gLg1rokzFq5FieEZ4KQGyjNzmZmHffnhJf1a3gxJQn8=; b=fboTkdMEbIUaFklRpgm6Wh2hFsQdCJbeEN8MQiXU2c37cQ2mKDLD8l+zr0A6PrJPhR 6klqA8o8+4MtRAdODeEa1k4K5OiR1bBL529Tllg5sTOcU4wW4/RMsnG5ZLPnHJj4BWhS M+7VY4aTBzlL+zAP+Czfs8BYioawto6Ms7f94WAzM2byu36++ma1ctgz2ZzmoDhKSMZx F6M2tSyudmc3m1nAdUbIjUMX+66TmkGALXK6AsonnrBUOmQ6zAgTSQqjyXmyl7PHY/ER duEKNbYtgAhgL7ANWSwvnnVqHIKQK5UtpO0wsdb3OUL8zmaFy7GRDBsEbwIvxZHo+e7B heKg== X-Gm-Message-State: APzg51AgB8b3Z04wSjXdWvO0A8jSvGeMmO8itH1PEd3bT0QQo/SYbq15 wta30z0zr3SBAbhEw/68VpbIa0n7UzUYioj7ehdykw== X-Google-Smtp-Source: ANB0VdY0Dm9qsLPIQJeu06mBpXks3Jkd20vOWO0lW8d1Fq/TCauDCVpzM2S5yKs8Tih2ajjGlay/eLAT9SWqcKM/qQk= X-Received: by 2002:a54:4f88:: with SMTP id g8-v6mr6127747oiy.191.1535696981839; Thu, 30 Aug 2018 23:29:41 -0700 (PDT) In-Reply-To: <1011541533649083@iva4-406defa25fee.qloud-c.yandex.net> Xref: news.gmane.org gmane.linux.lib.musl.general:13156 Archived-At: --00000000000015d3720574b551e4 Content-Type: text/plain; charset="UTF-8" On Tue, Aug 7, 2018 at 6:38 AM Dmitry Golovin wrote: > 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 > Has anyone tried building llvm+musl on regular glibc-based Linux distributions (not Alpine, ...)? I would like to test (ninja check-all) if I know the instructions. --00000000000015d3720574b551e4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tue, Aug 7,= 2018 at 6:38 AM Dmitry Golovin <dima= @golovin.in> wrote:
07.08.20= 18, 16:19, "Jon Chesterfield" <jonathanchesterfield@gmail.com>= :
> 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 pat= ches. Most of the links are from a few years ago.
>
> Does anyone on this list use a similar setup today? If so, does it wor= k for you?
>
> Essentially I'm hoping for guidance on whether the end result of t= he cmake hackery would be stable enough to use as my daily toolchain, befor= e grinding through the inevitable plumbing.
>
> Thanks!
>
> Jon

Unfortunately, it's not possible to build mainline linux with clang rig= ht now. Currently most efforts on patching the kernel are combined in this = repo: https://github.com/ClangBuiltLinux/linux (it is al= so not ready to be compiled yet).

You can also check my GNU-free toolchain as a starting point: https://g= ithub.com/tpimh/ngtc
It uses musl, clang, lld and libcxx with very little patching.

Regards,
Dmitry

Has anyone tried building llvm+m= usl on regular glibc-based Linux distributions (not Alpine, ...)? I would l= ike to test (ninja check-all) if I know the instructions.
--00000000000015d3720574b551e4--