bug-coreutils
[Top][All Lists]
Advanced

[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 17:06:11 +0100

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.
>
> Here's the test log:
>
> make  check-TESTS
> make[1]: Entering directory 
> `/Volumes/UFS_exp2/exptools/expmake/build/gnucoresrc/build/coreutils/tests/misc'
> make[2]: Entering directory 
> `/Volumes/UFS_exp2/exptools/expmake/build/gnucoresrc/build/coreutils/tests/misc'
> FAIL: printf.log

Hi Peter,

Thanks for the report!
Would you please post the lib/config.h file that
was generated for that system?




reply via email to

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