bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: coreutils 6.6 fails to compile on IRIX 5.3


From: Jim Meyering
Subject: Re: coreutils 6.6 fails to compile on IRIX 5.3
Date: Sat, 13 Jan 2007 23:09:42 +0100

Georg Schwarz <address@hidden> wrote:
>> par -sSSl dd if=input of=output
>
> lorenz 7% par -sSSl src/dd if=input of=output
> 0+0 records in
> 0+1 records out
> 0 bytes (    0mS       par(  737): was sent signal SIGUSR1
...
>    69mS        dd(  737): write(2, "(", 1) = 1
>    69mS        dd(  737): was sent signal SIGSEGV

Thanks, that's a fine start.
It looks like the code is using the wrong value for the PRIuMAX macro.
Would you please run these commands:

cd src
rm dd.o && make dd.o AM_CFLAGS=-E
grep 'copied.*plural' dd.o
rm -f dd.o

This is the output I see on a system where dd works:

    dcngettext (((void *)0), "%""l" "u"" byte (%s) copied", "%""l" "u"" bytes 
(%s) copied", select_plural (w_bytes), __LC_MESSAGES),

What do you get?
Notice that the above is equivalent to this:

    dcngettext (((void *)0),
      "%lu byte (%s) copied",
      "%lu bytes (%s) copied",
      select_plural (w_bytes), __LC_MESSAGES),

The problem may lie in your generated file, ../lib/inttypes.h.
Run this command for a summary:

grep PRIuMAX ../lib/inttypes.h

You might see something like this:

# if !defined PRIuMAX || 0
#  undef PRIuMAX
#   define PRIuMAX PRIu64
#   define PRIuMAX "lu"




reply via email to

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