From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/13783 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: "A. Wilcox" Newsgroups: gmane.linux.lib.musl.general Subject: Re: Updated documentation on cross building LLVM for Musl Date: Wed, 13 Feb 2019 13:13:02 -0600 Organization: =?UTF-8?Q?Ad=c3=a9lie_Linux?= Message-ID: <45c155b8-52cb-5d6b-2daa-12c4f22a55c2@adelielinux.org> References: Reply-To: musl@lists.openwall.com Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Q5lY98FIkhe1bCCQGfIaLTdpP1ZDrInSP" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="168727"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux ppc64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 To: musl@lists.openwall.com Original-X-From: musl-return-13799-gllmg-musl=m.gmane.org@lists.openwall.com Wed Feb 13 20:13:10 2019 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.89) (envelope-from ) id 1gtzy2-000hlF-41 for gllmg-musl@m.gmane.org; Wed, 13 Feb 2019 20:13:10 +0100 Original-Received: (qmail 30225 invoked by uid 550); 13 Feb 2019 19:13:07 -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 30202 invoked from network); 13 Feb 2019 19:13:06 -0000 Openpgp: preference=signencrypt In-Reply-To: Xref: news.gmane.org gmane.linux.lib.musl.general:13783 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Q5lY98FIkhe1bCCQGfIaLTdpP1ZDrInSP Content-Type: multipart/mixed; boundary="ThMlUWYcBvS9R4Fy5vfOjwY15qMXNsFtC"; protected-headers="v1" From: "A. Wilcox" To: musl@lists.openwall.com Message-ID: <45c155b8-52cb-5d6b-2daa-12c4f22a55c2@adelielinux.org> Subject: Re: [musl] Updated documentation on cross building LLVM for Musl References: In-Reply-To: --ThMlUWYcBvS9R4Fy5vfOjwY15qMXNsFtC Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 02/13/19 12:59, Croepha wrote: >=20 > I spent some time figuring out how to get Clang and related tools to > build against musl starting from a Glib system.=C2=A0 The result is a > GNU-less (no libgcc, libstdc++, and GNU LD, AR...) toolchain. I figured= > I'd share in the hopes that someone else may find it useful... >=20 > Note:=C2=A0 Clang and friends works as expected, but I couldn't get the= > sanitizers to build against Musl, so that is the only limitation that I= > am aware of... >=20 > Full doc here: > https://gist.github.com/croepha/cdaf30638109b1a949f35aa215a7c86d >=20 > --Dave >=20 >=20 Beginning of document: # LLVM seems to work great on Musl, there only seems some build errors # when trying to build the sanitizers. So sanitizers have been enabled. You probably mean "disabled". Thanks for this. Does LLVM have things like ar(1), as(1), nm(1) and friends as well? So you really don't need binutils? Best, --arw --=20 A. Wilcox (awilfox) Project Lead, Ad=C3=A9lie Linux https://www.adelielinux.org --ThMlUWYcBvS9R4Fy5vfOjwY15qMXNsFtC-- --Q5lY98FIkhe1bCCQGfIaLTdpP1ZDrInSP Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEjNyWOYPU1SaTSMHHyynLUZIrnRQFAlxkbD4ACgkQyynLUZIr nRT7sQ/9HO5W9oK6QHftcCg4fOJZ4x5R+25pGwImanSh5seld121B45TlzJV03Zs wr5X4NqILCyUj5N4i18qS5236v9bsqIyqh7foRTlfMaIUYWTBpnpEmMubJEtZuzU RtBWMV7V0jLGEqqqtV0jyUUf/FzJXB2I+dy0sQ0CRebachjpBTyCMVaW5f0nT+NH Iv4Xx4ksuI+Oe7ByeY1v3r1CEh6xgvOjgZbrKgtPDrqjKo/YLoIKuHcnRJzTKAYz YG6pKzpPDRq38HRp8Z42Oqxdkk6f4q+TwD1/WKIq6jmJf+8ggmGAWKXbvuFv7MO0 y+w0++K86CZUMt5CaVQy+++dAfT1JqUiyYct+PmSkWkfEFVzaSIvKarENnyRFuiW EVN2gCBxKamzYfZAtKoYauHVnTytbvTXjv5G+qtOYy41Q2JcuzGBKumDlyYzPXcP gaBhMtpd6UnmkzL4TL5gc5pu0PbryV1g7HwrRQI/tScahBaJlzmmIxTOCf3Sxl4l znk1eoQT/DZe9+vjJgO2PHpqRf6utsMoX7aOs7v7evkH985sl3250NVtRYimc+V5 nksykXxKVTurWvlRw+NdByEYkZfZmGQ1z4EiXVqqTwOxEggapwqBuOsaqAs3ESN3 +dQIJ41Wun+Q/gFYugz66na391ncOMoEsOxbB1+lrnMzuBkWlVg= =ZJ/H -----END PGP SIGNATURE----- --Q5lY98FIkhe1bCCQGfIaLTdpP1ZDrInSP--