[systemd-devel] build problems without largefile support

Cristian Rodríguez crrodriguez at opensuse.org
Thu Jun 6 10:14:11 PDT 2013


El 06/06/13 04:39, Lennart Poettering escribió:
> On Thu, 06.06.13 10:10, Lennart Poettering (lennart at poettering.net) wrote:
>
>>> The constants for T/P/E don't fit in a 23bit off_t. That's why largefile
>>> was introduced in the first place.
>>> I'm not sure how to fix this. Maybe just use 'ifdef' and not support those
>>> formats?
>>
>> Humm, so is --disable-largefile really something we want to support? I
>> mean, this just sounds like a major source of headaches. We are in 2013
>> nowadays, I am pretty sure you cannot build any of the Linux kernel file
>> systems with support for 32bit or less file sizes.
>>
>> I'd be happy to take a patch which causes configure to fail if
>> --disable-largefile is passed...
>
> I've added such a patch now.
>
> Lennart
>

Yep, SUS (since 1996 !) and the LSB require large file support, linux 
systems without LFS are broken.

"An LSB conforming implementation shall provide the generic functions 
for Large File Support specified in Table 1-21, with the full mandatory 
functionality as described in..."







More information about the systemd-devel mailing list