[oe] [meta-oe][PATCH] gperftools: add the setting of COMPATIBLE_HOST back

2018-06-22 Thread Qi.Chen
From: Chen Qi 

This setting was deleted, but on mips and glibc, we still have this
problem. So add this setting back, but limit it to glibc.

Signed-off-by: Chen Qi 
---
 meta-oe/recipes-support/gperftools/gperftools_2.6.1.bb | 4 
 1 file changed, 4 insertions(+)

diff --git a/meta-oe/recipes-support/gperftools/gperftools_2.6.1.bb 
b/meta-oe/recipes-support/gperftools/gperftools_2.6.1.bb
index ecac6c5cc..e475663f2 100644
--- a/meta-oe/recipes-support/gperftools/gperftools_2.6.1.bb
+++ b/meta-oe/recipes-support/gperftools/gperftools_2.6.1.bb
@@ -19,6 +19,10 @@ inherit autotools
 
 S = "${WORKDIR}/git"
 
+# On mips, we have the following error.
+#   do_page_fault(): sending SIGSEGV to ls for invalid read access from 
0008
+#   Segmentation fault (core dumped)
+COMPATIBLE_HOST_mipsarch_libc-glibc = "null"
 # Disable thumb1
 # {standard input}: Assembler messages:
 # {standard input}:434: Error: lo register required -- `ldr pc,[sp]'
-- 
2.11.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-oe][PATCH] gperftools: add the setting of COMPATIBLE_HOST back

2018-04-09 Thread Khem Raj
On 4/9/18 7:46 PM, qi.c...@windriver.com wrote:
> From: Chen Qi 
> 
> This setting was deleted, but on mips and glibc, we still have this
> problem. So add this setting back, but limit it to glibc.
> 
> Signed-off-by: Chen Qi 
> ---
>  meta-oe/recipes-support/gperftools/gperftools_2.6.1.bb | 4 
>  1 file changed, 4 insertions(+)
> 
> diff --git a/meta-oe/recipes-support/gperftools/gperftools_2.6.1.bb 
> b/meta-oe/recipes-support/gperftools/gperftools_2.6.1.bb
> index ecac6c5cc..1d562adda 100644
> --- a/meta-oe/recipes-support/gperftools/gperftools_2.6.1.bb
> +++ b/meta-oe/recipes-support/gperftools/gperftools_2.6.1.bb
> @@ -19,6 +19,10 @@ inherit autotools
>  
>  S = "${WORKDIR}/git"
>  
> +# On mips, we have the following error.
> +#   do_page_fault(): sending SIGSEGV to ls for invalid read access from 
> 0008
> +#   Segmentation fault (core dumped)
> +COMPATIBLE_HOST_libc-glibc = 
> "(i.86|x86_64|powerpc|powerpc64|arm|aarch64).*-linux*"

perhaps setting compatible host to null when its mips is better option
since everything else is there in this regexp

COMPATIBLE_HOST_mipsarch_libc-glibc = "null"

>  # Disable thumb1
>  # {standard input}: Assembler messages:
>  # {standard input}:434: Error: lo register required -- `ldr pc,[sp]'
> 

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe][PATCH] gperftools: add the setting of COMPATIBLE_HOST back

2018-04-09 Thread Qi.Chen
From: Chen Qi 

This setting was deleted, but on mips and glibc, we still have this
problem. So add this setting back, but limit it to glibc.

Signed-off-by: Chen Qi 
---
 meta-oe/recipes-support/gperftools/gperftools_2.6.1.bb | 4 
 1 file changed, 4 insertions(+)

diff --git a/meta-oe/recipes-support/gperftools/gperftools_2.6.1.bb 
b/meta-oe/recipes-support/gperftools/gperftools_2.6.1.bb
index ecac6c5cc..1d562adda 100644
--- a/meta-oe/recipes-support/gperftools/gperftools_2.6.1.bb
+++ b/meta-oe/recipes-support/gperftools/gperftools_2.6.1.bb
@@ -19,6 +19,10 @@ inherit autotools
 
 S = "${WORKDIR}/git"
 
+# On mips, we have the following error.
+#   do_page_fault(): sending SIGSEGV to ls for invalid read access from 
0008
+#   Segmentation fault (core dumped)
+COMPATIBLE_HOST_libc-glibc = 
"(i.86|x86_64|powerpc|powerpc64|arm|aarch64).*-linux*"
 # Disable thumb1
 # {standard input}: Assembler messages:
 # {standard input}:434: Error: lo register required -- `ldr pc,[sp]'
-- 
2.11.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel