Skip to contentSkip to conversation

Set ac_cv_sizeof_ssize_t

PATCH In review Valentin Popa 4 participants 5 messages Mar 13, 2014 – Mar 14, 2014

lore
Share & tools
lore
#0 lore raw

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
index 4449c96..ed0fbbe 100644
@@ -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
#1 lore raw
Quoted 3 lines · Valentin Popa

Set ac_cv_sizeof_ssize_t for 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]

---
  meta/site/mips64-linux | 1 +
  1 file changed, 1 insertion(+)
meta/site/mips64-linux +1 -0
index 4449c96..ed0fbbe 100644
@@ -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}
#2 lore raw
Quoted 6 lines · Saul Wold
Quoted 3 lines · Valentin Popa

Set ac_cv_sizeof_ssize_t for 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]

---
  meta/site/mips64-linux | 1 +
  1 file changed, 1 insertion(+)
meta/site/mips64-linux +1 -0
index 4449c96..ed0fbbe 100644
@@ -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
------------------------------------------------------------
#3 lore raw
In reply to Saul Wold
Quoted 8 lines · Saul Wold
Quoted 4 lines · Valentin Popa

Set ac_cv_sizeof_ssize_t for 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]

---
  meta/site/mips64-linux | 1 +
  1 file changed, 1 insertion(+)
meta/site/mips64-linux +1 -0
index 4449c96..ed0fbbe 100644
@@ -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
Quoted 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

#4 lore raw
Quoted 7 lines · Khem Raj
Quoted 6 lines · Saul Wold
Quoted 3 lines · Valentin Popa

Set ac_cv_sizeof_ssize_t for mips64;
mips-common will not overwrite it.

This really needed a little more about "why" this change is needed.

Quoted 7 lines

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.

Thanks for the explanation Khem!

Quoted 30 lines
Quoted 30 lines

Sau!

Quoted 19 lines

[YOCTO #5935]

---
   meta/site/mips64-linux | 1 +
   1 file changed, 1 insertion(+)
meta/site/mips64-linux +1 -0
index 4449c96..ed0fbbe 100644
@@ -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
Quoted 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