On Mon, Jul 1, 2013 at 4:54 AM, Isaac <[email protected]> wrote:
> Hello,
> I'm attempting to build ast-base for the sake of ksh93 on a new Linux libc,
> musl[1]; I am using musl 0.9.11.
> The attempt was made on a minimal system with musl as the native libc,
> but it's quite simple to install it in parallel with libc6 and use
> the musl-gcc wrapper as CC (see option 1 in [2] for details).
>
> I grabbed the latest releases today from the main download page
> for INIT and ast-base.
>
> After extracting in ~/ast/, I typed this:
> bin/package make CFLAGS="-D_ALL_SOURCE -Os" 2>&1 |tee ast-pkg-make.log
>
> The attempt to compile appears to stop pretty quick; I'm attaching the
> build log (bz2 compressed since it's nearly 19 megabytes, for some reason.)
>
> I notice that a great number of iffe tests are giving false negatives;
> I don't know why this is.
> musl implements C99 and most of SUS4/POSIX2008 (-D_XOPEN_SOURCE=700),
> as well as many GNU extensions (available with -D_GNU_SOURCE) and several BSD
> extensions (-D_BSD_SOURCE); -D_ALL_SOURCE makes all of them available.
> However, it does have much less of the nested header inclusions than
> libc6.
> Defining __USE_GNU is not going to do anything for musl; musl uses the
> documented feature test macros exclusively.
>
> Any ideas what's wrong?

I'm looking, but you'll have more luck with our resident standard
experts Glenn Fowler, David Korn or Roland Mainz. Glenn (who owns
libast and iffe) is unfortunately on vacation for the next two weeks,
maybe David or Roland can have a look.

Which compiler do you use - gcc or clang?

Irek
_______________________________________________
ast-developers mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-developers

Reply via email to