From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/13162 Path: news.gmane.org!.POSTED!not-for-mail From: Khem Raj Newsgroups: gmane.linux.lib.musl.general Subject: Re: clang/musl/linux? Date: Fri, 31 Aug 2018 07:24:31 -0700 Message-ID: References: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1535725388 18630 195.159.176.226 (31 Aug 2018 14:23:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 31 Aug 2018 14:23:08 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-13178-gllmg-musl=m.gmane.org@lists.openwall.com Fri Aug 31 16:23:04 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 1fvkKF-0004je-1T for gllmg-musl@m.gmane.org; Fri, 31 Aug 2018 16:23:03 +0200 Original-Received: (qmail 10006 invoked by uid 550); 31 Aug 2018 14:25:10 -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 9985 invoked from network); 31 Aug 2018 14:25:10 -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 :content-transfer-encoding; bh=jGMeVqVG8xjgsq5xaJVDuRPwFTZN4wAbucp80Hrae+k=; b=Fm6WxoMtj9d/SF9gDql6SJyfgOmz1FkMs5oeXV94AzR2iuYZa8tw5b9rO0tnh6GG4+ /xCajqKiiwXOjmdvu3v5eEYWIbV9pwKlcsydT+rIpbMQ18Wzs3IdDUnpTQNyCQM2uF69 /NKugOJ1NpczxRNAw9zh7dyuzJQ7eHJ9bsaUx0Q2LEQ3g22AkULg5mhslILUfr7MTaR1 K8gfl8RUV7nhmOvCReXgE396IipChDmpvkBdGju29G51HKEM8d0QO4S5ab9yV3II34SO VC3wx0WECHWnuc38tMa/fYF3zPxP1HHEwYEMOwbvcHPWaV9OdKo613RxOjvraQGiHnTZ w8bw== 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:content-transfer-encoding; bh=jGMeVqVG8xjgsq5xaJVDuRPwFTZN4wAbucp80Hrae+k=; b=c6EQ4/wwIenCExzXQuaA7dHlLY8NKHglcTMpBwAXw8CmQRlx75zYBALiRoFH0FC1m8 c90OGNm6fVjict2HL6mpx4iRUeZuVlPcYLh3iCsxrwDtk30zeHPdMiMsR+8jPD+sLn4s f4wAcsQ7ULtxBq7QHFYOQhSaCkVuMLT6zs4Kz+31OrM/ESKBMVJtAwVp5ICJnohUhPd+ yapWB9jZbKRHt3IK9qjfq+YE4FglHy/rOhZs50u3P5uXep79k8mQjPDl9rQUMIK2vZFy e0EVUsnBN7pMv/tzGczlUfPOsKFdVDp+e/ndPb1wm3TKGON6w3KQf0MwhRTbYx2LG9Jn ++vg== X-Gm-Message-State: APzg51DfZE+dfAdcEfVlxH6h+I63EUkpnWNAMBURf963xaHCnm3Q4tTP w384kuDFzgYadkUuAkCOd2j1Tru2xbxUE080WzQKL9f2 X-Google-Smtp-Source: ANB0VdazHDOjkcexONCgddWNMmGjJpYSHib6EsoNba4UChCf7wES6nj/WlfQ0IwUyMhjAXLf2V5RQYCf5NH+mBn6bS4= X-Received: by 2002:a0c:f94e:: with SMTP id i14-v6mr15961566qvo.50.1535725498079; Fri, 31 Aug 2018 07:24:58 -0700 (PDT) In-Reply-To: Xref: news.gmane.org gmane.linux.lib.musl.general:13162 Archived-At: HI Jon You can build a musl+clang SDK using yocto and then install it on a linux/glibc host see https://himvis.com/clang-based-cross-sdk-with-openembedded-framework/ if you runinto issues let me know. If you want to use upcoming clang-7 use clang-7.0 branch of meta-clang repo. default on master is 6.0.1 as of now. On Tue, Aug 7, 2018 at 6:19 AM Jon Chesterfield wrote: > > 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 doi= ng this which suggests it is possible with some relatively minor patches. M= ost of the links are from a few years ago. > > Does anyone on this list use a similar setup today? If so, does it work f= or you? > > Essentially I'm hoping for guidance on whether the end result of the cmak= e hackery would be stable enough to use as my daily toolchain, before grind= ing through the inevitable plumbing. > > Thanks! > > Jon