config-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Support for musl


From: Ben Elliston
Subject: Re: Support for musl
Date: Thu, 25 Jan 2018 13:58:35 +1100
User-agent: NeoMutt/20170609 (1.8.3)

On Thu, Jan 25, 2018 at 03:46:59PM +1300, Henri wrote:

> The config.guess script currently only checks for the glibc, uclibc,
> and dietlibc libraries. The attached patch adds support for the musl
> C library. Unfortunately, features.h in musl does not define a
> __MUSL__ macro (or similar) which is why this has to be the new
> default case instead of glibc. If features.h or a C compiler are not
> available it will default to gnu as before.

I'm not crash hot on this patch, sorry.  The next time we get a new C
library that also fails to identify itself through some means, we're
hosed as we won't be able to distinguish it from MUSL.

Can you please add some mechanism to MUSL and then we can check for
that?  Obviously there will be a period where old MUSL versions won't
be guessed, but the user can specify those with --build, --host or
--target.

Cheers, Ben

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]