From 7d41c7bcd8993b4af64eac60e45123124f8366dd Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 19 Aug 2014 18:28:11 +0200 Subject: [PATCH] environment/autoconf_cache: switch to off_t=4 for 32bit archs; Assume that _FILE_OFFSET_BITS=64 is always defined to get proper 64bit support. Setting it to 8 was giving unexpected results in e2fsprogs, which does not defined _FILE_OFFSET_BITS=64, and checks for sizeof(off_t) >= sizeof(long long) to use lseek() rather than lseek64(). --- common/environment/configure/autoconf_cache/arm-linux | 2 +- common/environment/configure/autoconf_cache/ix86-common | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/environment/configure/autoconf_cache/arm-linux b/common/environment/configure/autoconf_cache/arm-linux index c2671a1d11..14b1889e79 100644 --- a/common/environment/configure/autoconf_cache/arm-linux +++ b/common/environment/configure/autoconf_cache/arm-linux @@ -10,7 +10,7 @@ ac_cv_sizeof_int_p=${ac_cv_sizeof_int_p=4} ac_cv_sizeof_long=${ac_cv_sizeof_long=4} ac_cv_sizeof_long_int=${ac_cv_sizeof_long_int=4} ac_cv_sizeof_long_long=${ac_cv_sizeof_long_long=8} -ac_cv_sizeof_off_t=${ac_cv_sizeof_off_t=8} +ac_cv_sizeof_off_t=${ac_cv_sizeof_off_t=4} ac_cv_sizeof_short=${ac_cv_sizeof_short=2} ac_cv_sizeof_short_int=${ac_cv_sizeof_short_int=2} ac_cv_sizeof_size_t=${ac_cv_sizeof_size_t=4} diff --git a/common/environment/configure/autoconf_cache/ix86-common b/common/environment/configure/autoconf_cache/ix86-common index 9858a523e0..31e1d989c4 100644 --- a/common/environment/configure/autoconf_cache/ix86-common +++ b/common/environment/configure/autoconf_cache/ix86-common @@ -17,7 +17,7 @@ ac_cv_sizeof_ssize_t=${ac_cv_sizeof_ssize_t=4} ac_cv_sizeof_void_p=${ac_cv_sizeof_void_p=4} ac_cv_sizeof_long_p=${ac_cv_sizeof_long_p=4} ac_cv_sizeof_float=${ac_cv_sizeof_float=4} -ac_cv_sizeof_off_t=${ac_cv_sizeof_off_t=8} +ac_cv_sizeof_off_t=${ac_cv_sizeof_off_t=4} ac_cv_sizeof_uid_t=${ac_cv_sizeof_uid_t=4} ac_cv_sizeof_gid_t=${ac_cv_sizeof_gid_t=4} ac_cv_sizeof_ino_t=${ac_cv_sizeof_ino_t=4}