[PATCH 0/13] Add musl support to GCC

Joseph Myers joseph@codesourcery.com
Tue Apr 28 23:50:00 GMT 2015


On Mon, 20 Apr 2015, Szabolcs Nagy wrote:

> * On powerpc it seems the only configure option to choose the default
> long-double abi is --with-long-double-128, but that's the default with
> sufficiently new glibc. (musl gets 64bit long-double because the glibc
> version check fails, this is ok, because there is no ibm128 support in
> musl, but it would be better if --with-long-double-64 could be set
> explicitly or even ieee128 abi if gcc supports that).

It should be possible to use --without-long-double-128 (if not, that's a 
bug).

> * gcc stdatomic.h has some incompatible typedefs with musl stdint.h

If musl has chosen stdint.h types different from those in glibc, you need 
to make the *_TYPE macros appropriately conditional (possibly making 
glibc-stdint.h include conditionals to select the musl types when musl is 
in use).

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Gcc-patches mailing list