[New-bugs-announce] [issue9585] Largefile detection in configure fails

David Austin report at bugs.python.org
Fri Aug 13 14:15:10 CEST 2010

New submission from David Austin <nitsuadivad at gmail.com>:

On a Linux Xeon server (x86_64) largefile support is (incorrectly)
not included.

configure determines:
checking size of int... 4
checking size of long... 8
checking size of void *... 8
checking size of short... 2
checking size of float... 4
checking size of double... 8
checking size of off_t... 8

but gets it wrong:

checking whether to enable large file support... no

To me it seems that the logic sizeof_off_t > sizeof_long
is wrong.

(I changed to comparison off_t > int and it built
with largefile support and works fine.)

$ uname -a
Linux cpu3 2.6.31-14-server #48-Ubuntu SMP Fri Oct 16 15:07:34 UTC 2009 x86_64 GNU/Linux

Ubuntu Lucid

components: Build
messages: 113757
nosy: David.Austin
priority: normal
severity: normal
status: open
title: Largefile detection in configure fails
type: behavior
versions: Python 2.7

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list