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: Peter Fales
Subject: Re: printf failure on darwin with coreutils-6.9.91
Date: Fri, 21 Dec 2007 10:10:26 -0600
User-agent: Mutt/1.4.2.2i

I've attached lib/config.h as requested.


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.
> >
> > 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?

-- 
Peter Fales
Alcatel-Lucent
Member of Technical Staff
2000 Lucent Lane
Room: 1C-436
Naperville, IL 60566-7033
Email: address@hidden
Phone: 630 979 8031

Attachment: config.h
Description: Text document


reply via email to

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