Set ac_cv_sizeof_ssize_t
PATCH 1/1 Set ac_cv_sizeof_ssize_t
Set ac_cv_sizeof_ssize_t for mips64;
mips-common will not overwrite it.
[YOCTO #5935]
--- meta/site/mips64-linux | 1 + 1 file changed, 1 insertion(+)
meta/site/mips64-linux +1 -0
@@ -35,6 +35,7 @@ glib_cv_use_pid_surrogate=${glib_cv_use_pid_surrogate=yes} ac_cv_alignof_guint32=4 ac_cv_alignof_guint64=8 ac_cv_alignof_unsigned_long=8 +ac_cv_sizeof_ssize_t=8 # libpcap ac_cv_linux_vers=${ac_cv_linux_vers=2}
Signature · 1 line
1.8.3.2
Quoted 3 lines · Valentin Popa
Set
ac_cv_sizeof_ssize_tfor mips64;
mips-common will not overwrite it.
This really needed a little more about "why" this change is needed.
Sau!
Quoted 20 lines
[YOCTO #5935]
Signed-off-by Valentin Popa <[email protected]>--- meta/site/mips64-linux | 1 + 1 file changed, 1 insertion(+)meta/site/mips64-linux +1
-0@@ -35,6 +35,7 @@ glib_cv_use_pid_surrogate=${glib_cv_use_pid_surrogate=yes} ac_cv_alignof_guint32=4 ac_cv_alignof_guint64=8 ac_cv_alignof_unsigned_long=8 +ac_cv_sizeof_ssize_t=8 # libpcap ac_cv_linux_vers=${ac_cv_linux_vers=2}
Quoted 6 lines · Saul Wold
Quoted 3 lines · Valentin Popa
Set
ac_cv_sizeof_ssize_tfor mips64;
mips-common will not overwrite it.This really needed a little more about "why" this change is needed.
Also, the email subject is missing the 'mips64-linux: ' prefix which is the preferred form.
Quoted 20 lines
Quoted 20 lines
[YOCTO #5935]
Signed-off-by Valentin Popa <[email protected]>--- meta/site/mips64-linux | 1 + 1 file changed, 1 insertion(+)meta/site/mips64-linux +1
-0@@ -35,6 +35,7 @@ glib_cv_use_pid_surrogate=${glib_cv_use_pid_surrogate=yes} ac_cv_alignof_guint32=4 ac_cv_alignof_guint64=8 ac_cv_alignof_unsigned_long=8 +ac_cv_sizeof_ssize_t=8 # libpcap ac_cv_linux_vers=${ac_cv_linux_vers=2}
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Quoted 8 lines · Saul Wold
Quoted 4 lines · Valentin Popa
Set
ac_cv_sizeof_ssize_tfor mips64;
mips-common will not overwrite it.This really needed a little more about "why" this change is needed.
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.
Quoted 29 lines
Sau!
Quoted 19 lines
[YOCTO #5935]
Signed-off-by Valentin Popa <[email protected]>--- meta/site/mips64-linux | 1 + 1 file changed, 1 insertion(+)meta/site/mips64-linux +1
-0@@ -35,6 +35,7 @@ glib_cv_use_pid_surrogate=${glib_cv_use_pid_surrogate=yes} ac_cv_alignof_guint32=4 ac_cv_alignof_guint64=8 ac_cv_alignof_unsigned_long=8 +ac_cv_sizeof_ssize_t=8 # libpcapQuoted 2 lines
ac_cv_linux_vers=${ac_cv_linux_vers=2}--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Quoted 7 lines · Khem Raj
Quoted 6 lines · Saul Wold
Quoted 3 lines · Valentin Popa
Set
ac_cv_sizeof_ssize_tfor mips64;
mips-common will not overwrite it.This really needed a little more about "why" this change is needed.
Quoted 7 lines
ssize_tis a posix define which is architecture specific whose value is signedsize_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.
Thanks for the explanation Khem!
Quoted 30 lines
Quoted 30 lines
Sau!
Quoted 19 lines
[YOCTO #5935]
Signed-off-by Valentin Popa <[email protected]>--- meta/site/mips64-linux | 1 + 1 file changed, 1 insertion(+)meta/site/mips64-linux +1
-0@@ -35,6 +35,7 @@ glib_cv_use_pid_surrogate=${glib_cv_use_pid_surrogate=yes} ac_cv_alignof_guint32=4 ac_cv_alignof_guint64=8 ac_cv_alignof_unsigned_long=8 +ac_cv_sizeof_ssize_t=8 # libpcapQuoted 2 lines
ac_cv_linux_vers=${ac_cv_linux_vers=2}--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core