|
Message-ID: <CANm61jdTpL6t0XFe4Xf8tq6Sa++HiOTOsHGiodo9Xq3R_CRaXQ@mail.gmail.com>
Date: Wed, 13 Feb 2019 13:18:40 -0600
From: Dave Butler <daveb@...agerproductions.com>
To: musl@...ts.openwall.com
Subject: Re: Updated documentation on cross building LLVM for Musl
On Wed, Feb 13, 2019 at 1:13 PM A. Wilcox <awilfox@...lielinux.org> wrote:
> On 02/13/19 12:59, Croepha wrote:
> >
> > I spent some time figuring out how to get Clang and related tools to
> > build against musl starting from a Glib system. 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...
> >
> > Note: 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...
> >
> > Full doc here:
> > https://gist.github.com/croepha/cdaf30638109b1a949f35aa215a7c86d
> >
> > --Dave
> >
> >
>
> 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".
>
> Yes!, thanks for pointing that out, fixed now
> 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?
>
> Yes, LLVM's versions of those files are llvm-ar, llvm-as, and llvm-nm, but
you can just make simlinks to as, as and nm
I was able to build a few things with that toolchain without GNU binutils,
haven't found any deal-breaking limitations so far...
> Best,
> --arw
>
> --
> A. Wilcox (awilfox)
> Project Lead, Adélie Linux
> https://www.adelielinux.org
>
>
Content of type "text/html" skipped
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.