[oe-commits] [openembedded-core] 38/40: site/ix86-common: Drop ac_cv_sizeof_ino_t as it can be incorrect with large file support

git at git.openembedded.org git at git.openembedded.org
Mon Aug 14 10:17:24 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 1295ef374701fa9af896d6b8af28748a55da1a8c
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Sun Aug 13 11:22:48 2017 +0100

    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 <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}

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list