[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: truncate.c fails to compile on make distcheck
From: |
Michael Geng |
Subject: |
Re: truncate.c fails to compile on make distcheck |
Date: |
Wed, 25 Jun 2008 19:22:56 +0200 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
On Wed, Jun 25, 2008 at 05:29:57PM +0100, Pádraig Brady wrote:
> Michael Geng wrote:
> > Hi,
> >
> > When I'm running make distcheck on the Coreutils I get an error message
> >
> > ...
> > gcc -std=gnu99 -I. -I../lib -I../lib -Werror -ansi -Wno-long-long -MT
> > truncate.o -MD -MP -MF .deps/truncate.Tpo -c -o truncate.o truncate.c
> > cc1: warnings being treated as errors
> > truncate.c: In function 'parse_len':
> > truncate.c:78: error: passing argument 4 of 'xstrtoimax' from incompatible
> > pointer type
> > make[6]: *** [truncate.o] Error 1
> > ...
> >
> > I'm running Linux on a PC and I compiled the Coreutils from git
> > from this morning bootstrapped with Gnulib also from git from
> > this morning.
> >
> > Is this a bug in the Coreutils or is there something wrong on my system?
>
> What version of glibc are you using.
> I make the assumption that OFF_T_MAX = INTMAX_MAX,
> but this is only true when _FILE_OFFSET_BITS=64
> I'll look into fixing that up this evening.
> I wonder why that is not set in your lib/config.h ?
>
> cheers,
> Pádraig.
I'm using glibc version 2.7 (Debian packages libc6 and libc6-dev
version 2.7-12).
In my lib/config.h in my sources of the Coreutils I have
_FILE_OFFSET_BITS set to 64.
Michael
- Re: truncate.c fails to compile on make distcheck, (continued)
- Re: truncate.c fails to compile on make distcheck, Paul Eggert, 2008/06/27
- Re: truncate.c fails to compile on make distcheck, Pádraig Brady, 2008/06/27
- Re: truncate.c fails to compile on make distcheck, Jim Meyering, 2008/06/28
- [PATCH] truncate: Ignore whitespace in --size parameters, Pádraig Brady, 2008/06/28
- Re: [PATCH] truncate: Ignore whitespace in --size parameters, Jim Meyering, 2008/06/30
- Message not available
- Re: [PATCH] truncate: Ignore whitespace in --size parameters, Jim Meyering, 2008/06/30
- Re: truncate.c fails to compile on make distcheck, Paul Eggert, 2008/06/26
- Re: truncate.c fails to compile on make distcheck, Jim Meyering, 2008/06/26
- Re: truncate.c fails to compile on make distcheck, Bruno Haible, 2008/06/26
- Re: truncate.c fails to compile on make distcheck, Michael Geng, 2008/06/25
Re: truncate.c fails to compile on make distcheck,
Michael Geng <=