[OE-core] [PATCH 1/3] site/ix86-common: Drop ac_cv_sizeof_ino_t as it can be incorrect with large file support

Khem Raj raj.khem at gmail.com
Mon Aug 14 22:05:21 UTC 2017


On Mon, Aug 14, 2017 at 3:27 AM, Richard Purdie
<richard.purdie at linuxfoundation.org> wrote:
> 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.
>

IIRC apr was one package where it poked for determining this value and
used runtime test which obviously will be wrong during cross compilation.

> Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
> ---
>  meta/site/ix86-common  | 1 -
>  meta/site/x32-linux    | 1 -
>  meta/site/x86_64-linux | 1 -
>  3 files changed, 3 deletions(-)
>
> diff --git a/meta/site/ix86-common b/meta/site/ix86-common
> index f4cf0b8..4fbf58c 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 308d6e2..4b70422 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 ebdcf69..778e2c5 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}
> --
> 2.7.4
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core



More information about the Openembedded-core mailing list