From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsv at solvo.ru (Sergey Tikhonov) Date: Tue, 15 Nov 2005 18:13:27 +0300 Subject: statvfs() weirdness on alpha (RH-7.2 and CentOS-4.2) In-Reply-To: <437922BB.1090702@linux-kernel.at> References: <4374A410.6060205@solvo.ru> <43783214.7030708@solvo.ru> <43783353.4030905@solvo.ru> <43785AEA.8030404@linux-kernel.at> <20051114175436.GA2994@ellpspace.math.ualberta.ca> <4378E7D6.9030803@solvo.ru> <437922BB.1090702@linux-kernel.at> Message-ID: <4379FB17.9090405@solvo.ru> Oliver Falk wrote: > Sergey Tikhonov wrote: > >> Michal Jaegermann wrote: >> >>> On Mon, Nov 14, 2005 at 10:37:46AM +0100, Oliver Falk wrote: >>> >>> >>>> On 11/14/2005 07:48 AM, Sergey Tikhonov wrote: >>>> [ ... ] >>>> >>>> >>>>>> For now I changed 64-bits fields in /usr/inclide/bits/typesizes.h >>>>>> >>>>> >>>> OK, this sounds like a fix, that should hit mainstream as well >>>> >>> >>> >>> Hm, this sounds more like a workaround for a bug in glibc applied in >>> order to avoid recompilation of everything which depends on glibc. It >>> appears that you will get screwed for a change if you will need from >>> stat values which do not fit into 32 bits. Not that this worked too >>> well so far. That probably violates some definitions/expectations >>> too. No idea what long range consequences are one way or another. >>> >>> >> Yes, you are correct - it is work around. :) It is too late to >> rebuild everything. >> The correct fix will be in FC5 (devel). > > > Oh yes, my mistake. I wanted Sergey to post the _real fix_ to > glibc-people; Of course not the workaround... :-) I submitted a bug report to glibc bugzilla. The problem is (with recent findings from Bert de Bruijn) I am not sure what correct fix should be. Back in 1999 the size of fields were changed from 64 bits to 32. Regards, -- Sergey Tikhonov Solvo Ltd. tsv at solvo.ru