From: oliver at linux-kernel.at (Oliver Falk)
Subject: statvfs() weirdness on alpha (RH-7.2 and CentOS-4.2)
Date: Mon, 14 Nov 2005 10:37:46 +0100 [thread overview]
Message-ID: <43785AEA.8030404@linux-kernel.at> (raw)
In-Reply-To: <43783353.4030905@solvo.ru>
On 11/14/2005 07:48 AM, Sergey Tikhonov wrote:
[ ... ]
>> Got it. The problem is in glibc with statvfs/statvfs64 functions on
>> alpha (X86_64 doesn't have such problems).
>> As far as I understood statvfs64 is mapped to statvfs function on 64
>> bit machines, but "struct statvfs" has 32 bits long
>> fields on alpha if compiled without any specific 64bits macros and the
>> same fields become 64 bits long if compiled with
>> -D_LARGEILE64_SOURCE -D_FILE_OFFSET_BITS=64. The problem is that glibc
>> is compiled with 32 bits long fields,
>> but packages like python,perl,gnome uses the macros defined above
>> during building. I might be wrong in my findings, but after
>> recompilation python and gnome packages started to work.
>>
>> For now I changed 64-bits fields in /usr/inclide/bits/typesizes.h
>> (__FSBLKCNT64_T_TYPE and __FSFILECNT64_T_TYPE) from
>> from __S64_TYPE/__U64_TYPE to __S32_TYPE/__S64_TYPE. Making evething
>> 64-bits would require to rebuild whole AC2 tree. :(
>
> Sorry: __S64_TYPE/__U64_TYPE to __S32_TYPE/__U32_TYPE
OK, this sounds like a fix, that should hit mainstream as well and maybe
the RH/FC glibc packages (if they're willing to cooperate)... I hope
you're going to post that to the gnu-people?
Best,
Oliver
next prev parent reply other threads:[~2005-11-14 9:37 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-11 11:45 statvfs() weirdness on alpha (RH-7.2 and CentOS-4.2) bob
2005-11-11 14:00 ` tsv
2005-11-14 6:43 ` tsv
2005-11-14 6:48 ` tsv
2005-11-14 9:37 ` oliver [this message]
2005-11-14 17:54 ` michal
2005-11-14 19:39 ` tsv
2005-11-14 23:50 ` oliver
2005-11-15 15:13 ` tsv
2005-11-15 15:46 ` michal
2005-11-15 16:15 ` tsv
2005-11-15 16:26 ` michal
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox