On Mon, Jul 1, 2013 at 4:28 PM, Isaac <[email protected]> wrote:
> On Mon, Jul 01, 2013 at 09:48:43AM +0200, Irek Szczesniak wrote:
>> 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.
> <snip>
>> >
>> > 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?
>
> GCC 3.4.6 in this case (for compilation speed and lower ram use),

Erm... do you force any C language mode like $ gcc -std=c99 ... # ?
Does using something like $ gcc -std=gnu99 ... # fix some issues
("gnu99" means "c99" with GNU extensions... otherwise gcc may be too
strict in many real-world cases) ? One possible (as seen with "clang"
on some platforms) issue may be that "iffe"'s way to find a function
without using the whole prototype is more or less doomed when
compilers apply strict C99 or C1X rules (this basically means we have
to "fix" the whole build system sooner or later to work with ISO C++
compilers to ensure we weeded-out all typing issues) ...

> with 4.1 to 4.4 available.

Does gcc 4.4 behave the same way ?

----

Bye,
Roland

P.S.: Is there any test machine available in which Glenn or I could
log-in and test it ourselves ?

-- 
  __ .  . __
 (o.\ \/ /.o) [email protected]
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 3992797
 (;O/ \/ \O;)
_______________________________________________
ast-developers mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-developers

Reply via email to