From: Richard Purdie Date: Sun, 13 Aug 2017 10:22:48 +0000 (+0100) Subject: site/ix86-common: Drop ac_cv_sizeof_ino_t as it can be incorrect with large file... X-Git-Tag: yocto-4.0~15962 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=31ae16003cac6c8cf587c98d0c58e9f21690cb40;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git site/ix86-common: Drop ac_cv_sizeof_ino_t as it can be incorrect with large file support Depending on whether large file support is enabled, the size of ino_t can be 4 or 8 on 32 bit x86. Drop the value from the site cache and allow the system to vary it depending on configuration. Very few other arches actually set this so its likely obsolete and doesn't need to be hardcoded anymore. Also drop the 64 bit and x32 variants since autodetection of this value appears to work fine and this avoids any confusion or sizing errors depending on large file support. Signed-off-by: Richard Purdie --- diff --git a/meta/site/ix86-common b/meta/site/ix86-common index f4cf0b8db85..4fbf58c0cfd 100644 --- a/meta/site/ix86-common +++ b/meta/site/ix86-common @@ -19,7 +19,6 @@ ac_cv_sizeof_long_p=${ac_cv_sizeof_long_p=4} ac_cv_sizeof_float=${ac_cv_sizeof_float=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} ac_cv_sizeof_dev_t=${ac_cv_sizeof_dev_t=8} ac_cv_func_lstat_dereferences_slashed_symlink=${ac_cv_func_lstat_dereferences_slashed_symlink=yes} ac_cv_func_lstat_empty_string_bug=${ac_cv_func_lstat_empty_string_bug=no} diff --git a/meta/site/x32-linux b/meta/site/x32-linux index 308d6e21ec7..4b70422ed2a 100644 --- a/meta/site/x32-linux +++ b/meta/site/x32-linux @@ -1,6 +1,5 @@ # general ac_cv_sizeof_long_double=${ac_cv_sizeof_long_double=16} -ac_cv_sizeof_ino_t=${ac_cv_sizeof_ino_t=8} ac_cv_sizeof_dev_t=${ac_cv_sizeof_dev_t=8} ac_cv_sys_file_offset_bits=${ac_cv_sys_file_offset_bits=64} ac_cv_alignof_double=8 diff --git a/meta/site/x86_64-linux b/meta/site/x86_64-linux index ebdcf69f789..778e2c53ee2 100644 --- a/meta/site/x86_64-linux +++ b/meta/site/x86_64-linux @@ -24,7 +24,6 @@ ac_cv_sizeof_short_int=${ac_cv_sizeof_short_int=2} ac_cv_sizeof_size_t=${ac_cv_sizeof_size_t=8} 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=8} ac_cv_sizeof_dev_t=${ac_cv_sizeof_dev_t=8} ac_cv_sizeof_void_p=${ac_cv_sizeof_void_p=8} ac_cv_strerror_r_SUSv3=${ac_cv_strerror_r_SUSv3=no}