xfs
[Top] [All Lists]

Re: xfs_io: fix test for fallocate on 32bit boxes

To: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Subject: Re: xfs_io: fix test for fallocate on 32bit boxes
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Tue, 16 Jun 2009 10:04:54 -0500
Cc: xfs-oss <xfs@xxxxxxxxxxx>
In-reply-to: <20090616140459.GA24783@xxxxxxxxxxxxx>
References: <4A36A448.4060406@xxxxxxxxxxx> <20090616140459.GA24783@xxxxxxxxxxxxx>
User-agent: Thunderbird 2.0.0.21 (Macintosh/20090302)
Christoph Hellwig wrote:
> On Mon, Jun 15, 2009 at 02:43:04PM -0500, Eric Sandeen wrote:
>> xfs_io: fix test for fallocate on 32bit boxes
>>
>> As per Red Hat bug 500487, fallocate64 is missing in glibc,
>> so attempts to build with fallocate and _FILE_OFFSET_BITS=64
>> will fail.
>>
>> So, change the config to test the way we will build, and
>> it'll fail properly on x86 until glibc gets fixed.
> 
> Yikes.  What's the status of actually getting it fixed in glibc?
> Otherwise we might have to switch to the raw syscall as ugly
> as it might be.
> 

>From the bug:

Comment #6 From  Jakub Jelinek (jakub@xxxxxxxxxx)  2009-06-11 16:40:37 EDT

Unfortunately no, this can't be backported.  The symbol is exported as
@@GLIBC_2.11 symbol, F11 has only glibc 2.10.  If we add a single
GLIBC_2.11 symbol, we'd have to add them all, which means at least wait
until glibc 2.11 is released (in 4-5 months approximately).

-Eric

<Prev in Thread] Current Thread [Next in Thread>