[PATCH_V2] mips64-linux: set ac_cv_sizeof_ssize_t

Submitted by Valentin Popa on March 14, 2014, 11:12 a.m.


Message ID 1394795545-6093-1-git-send-email-valentin.popa@intel.com
State New
Headers show

Commit Message

Valentin Popa March 14, 2014, 11:12 a.m.
Set ac_cv_sizeof_ssize_t for mips64;
mips-common will not overwrite it.

"ssize_t is a posix define which is architecture specific whose value
is signed size_t, glibc/uclibc for mips64/n64 linux platform defines
it to be equivalent of 'long' and long here is 8bytes because
mips64/n64 follows LP64 model. In OpenEmbedded our default ABI for
mips64 platforms is N64, having said that autoconf decides to poke at
the platform for finding these kind of sizes which fails when you are
doing cross compiling hence we have to cache it." - Khem Raj

[YOCTO #5935]

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
 meta/site/mips64-linux | 1 +
 1 file changed, 1 insertion(+)

Patch hide | download patch | download mbox

diff --git a/meta/site/mips64-linux b/meta/site/mips64-linux
index 4449c96..ed0fbbe 100644
--- a/meta/site/mips64-linux
+++ b/meta/site/mips64-linux
@@ -35,6 +35,7 @@  glib_cv_use_pid_surrogate=${glib_cv_use_pid_surrogate=yes}
 # libpcap