* [PATCH] Set ac_cv_sizeof_ssize_t
@ 2014-03-13 11:28 Valentin Popa
2014-03-14 7:40 ` Saul Wold
0 siblings, 1 reply; 5+ messages in thread
From: Valentin Popa @ 2014-03-13 11:28 UTC (permalink / raw)
To: openembedded-core
Set ac_cv_sizeof_ssize_t for mips64;
mips-common will not overwrite it.
[YOCTO #5935]
Signed-off-by: Valentin Popa <valentin.popa@intel.com>
---
meta/site/mips64-linux | 1 +
1 file changed, 1 insertion(+)
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}
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}
--
1.8.3.2
^ permalink raw reply related [flat|nested] 5+ messages in thread* Re: [PATCH] Set ac_cv_sizeof_ssize_t
2014-03-13 11:28 [PATCH] Set ac_cv_sizeof_ssize_t Valentin Popa
@ 2014-03-14 7:40 ` Saul Wold
2014-03-14 9:11 ` Gary Thomas
2014-03-14 10:10 ` Khem Raj
0 siblings, 2 replies; 5+ messages in thread
From: Saul Wold @ 2014-03-14 7:40 UTC (permalink / raw)
To: Valentin Popa, openembedded-core
On 03/13/2014 04:28 AM, Valentin Popa wrote:
> 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!
> [YOCTO #5935]
>
> Signed-off-by: Valentin Popa <valentin.popa@intel.com>
> ---
> meta/site/mips64-linux | 1 +
> 1 file changed, 1 insertion(+)
>
> 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}
> 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}
>
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [PATCH] Set ac_cv_sizeof_ssize_t
2014-03-14 7:40 ` Saul Wold
@ 2014-03-14 9:11 ` Gary Thomas
2014-03-14 10:10 ` Khem Raj
1 sibling, 0 replies; 5+ messages in thread
From: Gary Thomas @ 2014-03-14 9:11 UTC (permalink / raw)
To: openembedded-core
On 2014-03-14 01:40, Saul Wold wrote:
> On 03/13/2014 04:28 AM, Valentin Popa wrote:
>> 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.
>> [YOCTO #5935]
>>
>> Signed-off-by: Valentin Popa <valentin.popa@intel.com>
>> ---
>> meta/site/mips64-linux | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> 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}
>> 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}
>>
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [PATCH] Set ac_cv_sizeof_ssize_t
2014-03-14 7:40 ` Saul Wold
2014-03-14 9:11 ` Gary Thomas
@ 2014-03-14 10:10 ` Khem Raj
2014-03-14 10:57 ` Valentin Popa
1 sibling, 1 reply; 5+ messages in thread
From: Khem Raj @ 2014-03-14 10:10 UTC (permalink / raw)
To: Saul Wold; +Cc: Patches and discussions about the oe-core layer
On Fri, Mar 14, 2014 at 12:40 AM, Saul Wold <sgw@linux.intel.com> wrote:
> On 03/13/2014 04:28 AM, Valentin Popa wrote:
>>
>> 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.
> Sau!
>
>
>> [YOCTO #5935]
>>
>> Signed-off-by: Valentin Popa <valentin.popa@intel.com>
>> ---
>> meta/site/mips64-linux | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> 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}
>> 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}
>>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [PATCH] Set ac_cv_sizeof_ssize_t
2014-03-14 10:10 ` Khem Raj
@ 2014-03-14 10:57 ` Valentin Popa
0 siblings, 0 replies; 5+ messages in thread
From: Valentin Popa @ 2014-03-14 10:57 UTC (permalink / raw)
To: Khem Raj, Saul Wold; +Cc: Patches and discussions about the oe-core layer
On 03/14/2014 12:10 PM, Khem Raj wrote:
> On Fri, Mar 14, 2014 at 12:40 AM, Saul Wold <sgw@linux.intel.com> wrote:
>> On 03/13/2014 04:28 AM, Valentin Popa wrote:
>>> 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.
Thanks for the explanation Khem!
>
>> Sau!
>>
>>
>>> [YOCTO #5935]
>>>
>>> Signed-off-by: Valentin Popa <valentin.popa@intel.com>
>>> ---
>>> meta/site/mips64-linux | 1 +
>>> 1 file changed, 1 insertion(+)
>>>
>>> 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}
>>> 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}
>>>
>> --
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-03-14 10:58 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-13 11:28 [PATCH] Set ac_cv_sizeof_ssize_t Valentin Popa
2014-03-14 7:40 ` Saul Wold
2014-03-14 9:11 ` Gary Thomas
2014-03-14 10:10 ` Khem Raj
2014-03-14 10:57 ` Valentin Popa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox