Commit Graph

4 Commits

Author SHA1 Message Date
Richard Purdie
3ea11466b5 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.

(From OE-Core rev: 31ae16003cac6c8cf587c98d0c58e9f21690cb40)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-16 00:03:15 +01:00
Ross Burton
92759d8662 meta/site: remove sizeof_off_t
The size of off_t depends on whether large file support is enabled through
preprocessor flags, so we can't cache this.

(From OE-Core rev: 25bd4e9483a7d2c16a460b4f363e91b5b943bb58)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-12 22:50:21 +01:00
Richard Purdie
4c548f17b0 site/x32-linux: Specify double alignment
Double alignment is 8 bytes on x32 but it is defaulting to 4 currently.
This leads to various issues and fontconfig fails to build due to the
mismatch triggering assert failures.

(From OE-Core rev: f2a0784f368fa8a766aae4242a0c187759b35393)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-02-13 16:52:30 +00:00
H.J. Lu
d22f85117c siteinfo: create a new siteinfo for x32-linux
X32 has different sizes for many types:

1. off_t and ino_t are 8 byte, instead of 4 byte.
2. pthread_mutex_t is 32byte, instead of 24 byte.

(From OE-Core rev: 061d8015d6f15825bf9c4245671313bec35cefbf)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-12-12 21:50:19 +00:00