[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: printf failure on darwin with coreutils-6.9.91
From: |
Jim Meyering |
Subject: |
Re: printf failure on darwin with coreutils-6.9.91 |
Date: |
Fri, 21 Dec 2007 21:38:40 +0100 |
Peter Fales <address@hidden> wrote:
> On Fri, Dec 21, 2007 at 05:06:11PM +0100, Jim Meyering wrote:
>> Peter Fales <address@hidden> wrote:
>> > I'm trying to build coreutils-6.9.91 for Mac OS/X (Darwin 10.3)
>> > and getting test failures from misc/printf. The output of make check
>> > is attached below. I believe the problem occurs around line 345 of
>> > src/printf.c which has:
>> >
>> > 342 switch (conversion)
>> > 343 {
>> > 344 case 'd': case 'i': case 'o': case 'u': case 'x': case 'X':
>> > 345 length_modifier = PRIdMAX;
>> > 346 length_modifier_len = sizeof PRIdMAX - 2;
>> > 347 break;
>> >
>> > On linux PRIdMAX is defined as "lld" but on darwin it is defined as "qd".
>> > Later on in the block of code around line 331 in lib/parse-printf.c, the
>> > 'q' case is not handled.
>
> I've attached lib/config.h as requested.
Hi Peter,
This line in config.h,
/* #undef HAVE_LONG_DOUBLE */
shows that the configure-time test for long double support
failed. Can you look in config.log (or send it) to see why?